Function at 0x5b945c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x5b9464
push ebx
push esi
push edi
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x5b9833
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x445a28]
call fcn.00407440
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x5b9811
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov eax, dword [eax + 0x78]
call fcn.005bdc40
mov edx, dword [ebp + 8]
mov dword [edx - 0x18], eax
mov eax, dword [ebp + 8]
lea ecx, [eax - 1]
mov eax, dword [ebx]
mov edx, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0x50]
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x5b97d3
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00453230
cmp byte [ebp - 1], 0
je 0x5b9543
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
cmp byte [eax + 0xce], 0
je 0x5b9513
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov ecx, dword [eax + 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 8]
call fcn.0058fc40
jmp 0x5b97c9
push 2
lea ecx, [ebp - 0x14]
mov eax, dword [ebx]
mov eax, dword [eax + 0x98]
mov edx, 0x5b9850
call fcn.004519a8
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 8]
call fcn.0058fb70
jmp 0x5b97c9
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov ecx, dword [eax + 0x74]
mov dl, 1
mov eax, dword [0x5b8af8]
call fcn.005b8d78
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x5b97b2
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
mov eax, dword [ebp + 8]
push eax
lea edx, [ebp - 0x18]
mov eax, 0x5b9850
call fcn.005b9414
pop ecx
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 8]
call fcn.0058fb70
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x40]
call fcn.005b92a8
mov eax, dword [ebp + 8]
push eax
lea edx, [ebp - 0x20]
mov eax, 0x5b9850
call fcn.005b9414
pop ecx
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.005ab418
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp + 8]
push eax
lea edx, [ebp - 0x28]
mov eax, 0x5b9850
call fcn.005b9414
pop ecx
mov edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.005ab3a8
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
add eax, 0x10
call fcn.00409504
mov eax, dword [ebp + 8]
push eax
lea edx, [ebp - 0x2c]
mov eax, 0x5b9878
call fcn.005b9414
pop ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp + 8]
push eax
lea edx, [ebp - 0x30]
mov eax, 0x5b98b8
call fcn.005b9414
pop ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp + 8]
push eax
lea edx, [ebp - 0x34]
mov eax, 0x5b98dc
call fcn.005b9414
pop ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, dword [ebp + 8]
push eax
lea edx, [ebp - 0x38]
mov eax, 0x5b990c
call fcn.005b9414
pop ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp + 8]
push eax
lea edx, [ebp - 0x3c]
mov eax, 0x5b9940
call fcn.005b9414
pop ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
cmp byte [eax + 0xce], 0
jne 0x5b970a
mov eax, dword [ebx]
mov eax, dword [eax + 0x98]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edi, eax
dec edi
test edi, edi
jl 0x5b970a
inc edi
xor esi, esi
lea ecx, [ebp - 0x40]
mov eax, dword [ebx]
mov eax, dword [eax + 0x98]
mov edx, esi
call fcn.004517ac
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
call fcn.00590e9c
test eax, eax
jge 0x5b9706
lea ecx, [ebp - 0x44]
mov eax, dword [ebx]
mov eax, dword [eax + 0x98]
mov edx, esi
call fcn.00565fec
mov eax, dword [ebp - 0x44]
push eax
lea ecx, [ebp - 0x48]
mov eax, dword [ebx]
mov eax, dword [eax + 0x98]
mov edx, esi
call fcn.004517ac
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
pop ecx
call fcn.005905c8
inc esi
dec edi
jne 0x5b96ab
mov eax, dword [ebp - 0xc]
add eax, 0x1c
mov edx, dword [ebx]
mov edx, dword [edx + 0x90]
call fcn.00409504
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x4c]
mov edx, 0x5b9974
call fcn.0058f5a0
test al, al
je 0x5b979c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1c]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x38], eax
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x28]
cmp dword [ebp - 0x50], 0
je 0x5b97a8
push 0
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov eax, dword [ebp - 0x54]
push eax
mov eax, 0x5b9994
mov dword [ebp - 0x60], eax
mov eax, 0x5b99ac
mov dword [ebp - 0x5c], eax
mov eax, 0x5b99c4
mov dword [ebp - 0x58], eax
lea edx, [ebp - 0x60]
mov ecx, 2
pop eax
call fcn.00561ef8
inc eax
jne 0x5b97a8
xor edx, edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x40]
jmp 0x5b97a8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x38], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5b97c9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5b97ea
mov eax, dword [ebx]
call fcn.00407470
mov eax, dword [ebp - 0x10]
mov dword [ebx], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b9818
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [ebp - 8], edx
call fcn.00407470
ret