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

Disassembly:
mov ecx, dword [0x85d3cc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x74]
cmp eax, dword [ecx + 8]
jbe 0x5f0930
sub esp, 0xf4
mov eax, dword [esp + 0xf8]
mov ecx, dword [eax]
mov dword [esp + 0xe4], ecx
movzx edx, word [ecx + 0x28]
mov ebx, dword [eax + 0x14]
mov ebp, dword [eax + 0x4c]
mov esi, dword [eax + 0x50]
mov edi, dword [eax + 0x54]
mov dword [esp + 0xc4], edi
mov ecx, dword [eax + 0x10]
mov edi, dword [ecx + 0x10]
mov dword [esp + 0xf0], edi
mov edi, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0xc0], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0xec], ecx
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
mov dword [esp + 0xbc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0xb8], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0xb4], eax
mov eax, dword [ebx + 0xc]
mov word [esp], dx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov edx, dword [esp + 0xc4]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0xf0]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edi
mov edx, dword [esp + 0xc0]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0xec]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
call fcn.0061a3b0
mov eax, dword [esp + 0xf8]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 0x18]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x58]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x6c]
mov dword [esp + 0xa4], edi
mov eax, dword [esp + 0x70]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x60]
mov dword [esp + 0x88], edi
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x94], edi
mov edi, dword [esp + 0x5c]
mov dword [esp + 0xcc], edi
mov edi, dword [esp + 0x74]
mov dword [esp + 0xd0], edi
test edx, edx
je 0x5f0758
mov ecx, dword [edx]
mov edi, dword [esp + 0x38]
mov dword [esp + 0xd8], edi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x9c], edi
mov edi, dword [esp + 0x40]
mov dword [esp + 0xa0], edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0xc8], edi
mov edi, dword [esp + 0x48]
mov dword [esp + 0x80], edi
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x84], edi
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x14], eax
mov byte [esp + 0x18], 0
call ecx
mov eax, dword [esp + 0xf8]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 0x1c]
mov ecx, dword [edx]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0xb0], ebx
mov ebp, dword [esp + 0x20]
mov dword [esp + 0xe0], ebp
mov esi, dword [esp + 0xd8]
mov dword [esp], esi
mov esi, dword [esp + 0x9c]
mov dword [esp + 4], esi
mov esi, dword [esp + 0xa0]
mov dword [esp + 8], esi
call ecx
mov eax, dword [esp + 0xf8]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 0x18]
mov ecx, dword [edx]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0xac], ebx
mov ebp, dword [esp + 0x10]
mov dword [esp + 0xdc], ebp
mov esi, dword [esp + 0xcc]
mov dword [esp], esi
mov esi, dword [esp + 0x88]
mov dword [esp + 4], esi
mov esi, dword [esp + 0x8c]
mov dword [esp + 8], esi
mov esi, dword [esp + 0xd0]
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0x90]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x94]
mov dword [esp + 0x14], esi
mov byte [esp + 0x18], 1
call ecx
mov eax, dword [esp + 0xf8]
mov eax, dword [eax + 0x14]
mov edx, dword [eax + 0x1c]
mov eax, dword [edx]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x98], ecx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0xd4], ebx
mov ebp, dword [esp + 0xc8]
mov dword [esp], ebp
mov ebp, dword [esp + 0x80]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x84]
mov dword [esp + 8], ebp
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0xd4]
mov edx, eax
mov ebp, dword [esp + 0xe0]
mov esi, dword [esp + 0xdc]
mov edi, dword [esp + 0xb0]
mov eax, dword [esp + 0x98]
jmp 0x5f0821
mov edx, dword [ecx + 0x20]
mov ecx, dword [edx]
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x14], eax
call ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xe0], ecx
test eax, eax
je 0x5f079a
mov eax, dword [eax + 4]
mov dword [esp + 0xe8], eax
mov ecx, dword [esp + 0xf8]
mov ecx, dword [ecx + 0x14]
mov edx, dword [ecx + 0x20]
mov ecx, dword [edx]
mov ebx, dword [esp + 0xcc]
mov dword [esp], ebx
mov ebx, dword [esp + 0x88]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xd0]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x90]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x94]
mov dword [esp + 0x14], ebx
call ecx
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5f07fe
mov eax, dword [eax + 4]
mov ebx, dword [esp + 0x1c]
xor ecx, ecx
xor edx, edx
mov ebp, dword [esp + 0xe0]
xor esi, esi
mov edi, dword [esp + 0xe8]
xor ecx, ecx
mov dword [esp + 0xac], ecx
xor ecx, ecx
mov dword [esp + 0xe0], ebp
mov dword [esp + 0xdc], esi
mov esi, dword [esp + 0xe4]
movzx ebp, word [esi + 0x28]
mov word [esi + 0xdc], bp
mov dword [esi + 0x108], eax
mov eax, dword [0x85d680]
test eax, eax
je 0x5f0865
mov eax, edi
call fcn.00468040
mov dword [edi], ebx
mov ebp, dword [esi + 0x10c]
mov dword [edi + 4], ebp
mov edi, eax
mov dword [esi + 0x10c], ebx
mov dword [esi + 0x110], edx
mov eax, dword [0x85d680]
test eax, eax
je 0x5f088f
mov eax, edi
call fcn.00468040
mov dword [edi], ecx
mov edx, dword [esi + 0x114]
mov dword [edi + 4], edx
mov edi, eax
mov dword [esi + 0x114], ecx
movzx eax, word [esi + 0x28]
mov word [esi + 0x138], ax
mov dword [esi + 0x164], edi
mov eax, dword [0x85d680]
test eax, eax
jne 0x5f08b9
mov eax, dword [esp + 0xe0]
jmp 0x5f08d0
call fcn.00468040
mov eax, dword [esp + 0xe0]
mov dword [edi], eax
mov ecx, dword [esi + 0x168]
mov dword [edi + 4], ecx
mov dword [esi + 0x168], eax
mov eax, dword [esp + 0xac]
mov dword [esi + 0x16c], eax
mov eax, dword [0x85d680]
test eax, eax
jne 0x5f08f6
mov eax, dword [esp + 0xdc]
jmp 0x5f090d
call fcn.00468040
mov eax, dword [esp + 0xdc]
mov dword [edi], eax
mov ecx, dword [esi + 0x170]
mov dword [edi + 4], ecx
mov dword [esi + 0x170], eax
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
add esp, 0xf4
ret
call fcn.00466c30
jmp fcn.005f0440