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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x80]
cmp eax, dword [ecx + 8]
jbe 0x587195
sub esp, 0x100
mov eax, dword [esp + 0x104]
mov ecx, dword [eax]
mov dword [esp + 0xf0], ecx
mov edx, dword [eax + 8]
mov ebx, dword [eax + 4]
mov ebp, dword [eax + 0xc]
movzx esi, word [ecx + 0x20]
mov edi, dword [eax + 0x4c]
mov dword [esp + 0xcc], edi
mov ecx, dword [eax + 0x48]
mov eax, dword [eax + 0x44]
mov edi, dword [edx + 0x10]
mov dword [esp + 0xfc], edi
mov edi, dword [edx + 0x18]
mov dword [esp + 0xc8], edi
mov edx, dword [edx + 0x14]
mov edi, dword [ebx + 0x10]
mov dword [esp + 0xf8], edi
mov edi, dword [ebx + 0x18]
mov dword [esp + 0xc4], edi
mov ebx, dword [ebx + 0x14]
mov edi, dword [ebp + 8]
mov dword [esp + 0xc0], edi
mov edi, dword [ebp + 4]
mov dword [esp + 0xbc], edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x34], edi
mov word [esp], si
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xfc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xf8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x30], eax
call fcn.005953a0
mov eax, dword [esp + 0x104]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x8c], edx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x88], ebx
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0xd4], ebp
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x84], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x80], ebx
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xe0], eax
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x5870c6
mov dword [esp], edx
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x14], ecx
mov byte [esp + 0x18], 0
mov ecx, dword [eax]
mov edx, eax
call ecx
mov eax, dword [esp + 0x104]
mov ecx, dword [eax + 0xc]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0xb4], ebx
mov ebp, dword [esp + 0x20]
mov dword [esp + 0xe8], ebp
mov edx, dword [ecx + 0x1c]
mov ecx, dword [esp + 0xf0]
movzx esi, word [ecx + 0x20]
mov word [esp], si
mov esi, dword [esp + 0xe0]
mov dword [esp + 4], esi
mov esi, dword [esp + 0xa4]
mov dword [esp + 8], esi
mov esi, dword [esp + 0xa8]
mov dword [esp + 0xc], esi
mov esi, dword [edx]
call esi
mov eax, dword [esp + 0x104]
mov ecx, dword [eax + 0xc]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0xb0], ebx
mov ebp, dword [esp + 0x14]
mov dword [esp + 0xe4], ebp
mov edx, dword [ecx + 0x18]
mov ecx, dword [esp + 0xd4]
mov dword [esp], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x14], ecx
mov byte [esp + 0x18], 1
mov ecx, dword [edx]
call ecx
mov eax, dword [esp + 0x104]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x98], ecx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0xdc], ebx
mov edx, dword [eax + 0x1c]
mov eax, dword [esp + 0xf0]
movzx ebp, word [eax + 0x20]
mov word [esp], bp
mov ebp, dword [esp + 0xd0]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x80]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x84]
mov dword [esp + 0xc], ebp
mov ebp, dword [edx]
call ebp
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xdc]
mov ebx, dword [esp + 0x98]
mov ebp, dword [esp + 0xe8]
mov esi, dword [esp + 0xb4]
mov edi, dword [esp + 0xe4]
mov edx, dword [esp + 0xb0]
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0xdc]
mov dword [esp + 0xec], ebp
mov dword [esp + 0xb8], esi
mov ebp, dword [esp + 0xf0]
lea esi, [ebp + 0xa4]
test byte [esi], al
movzx esi, word [ebp + 0x20]
mov word [ebp + 0xb4], si
mov dword [ebp + 0xe4], ebx
mov ebx, dword [0xb92b90]
test ebx, ebx
jne 0x5870a0
mov dword [ebp + 0xe8], edx
mov dword [ebp + 0xec], eax
mov edx, dword [0xb92b90]
test edx, edx
jne 0x587086
mov dword [ebp + 0xf0], ecx
lea ecx, [ebp + 0x10c]
test byte [ecx], al
movzx ecx, word [ebp + 0x20]
mov word [ebp + 0x11c], cx
mov ecx, dword [esp + 0xb8]
mov dword [ebp + 0x14c], ecx
mov ecx, dword [0xb92b90]
test ecx, ecx
jne 0x58706a
mov ecx, dword [esp + 0xec]
mov dword [ebp + 0x150], ecx
mov ecx, dword [esp + 0xa0]
mov dword [ebp + 0x154], ecx
mov ecx, dword [0xb92b90]
test ecx, ecx
jne 0x587059
mov dword [ebp + 0x158], edi
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
add esp, 0x100
ret
lea ecx, [ebp + 0x158]
mov eax, edi
mov edi, ecx
call fcn.0044c990
jmp 0x58703c
lea ecx, [ebp + 0x150]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0xec]
call fcn.0044c990
mov edi, edx
jmp 0x58701f
lea edx, [ebp + 0xf0]
mov eax, edi
mov edi, edx
mov ebx, eax
mov eax, ecx
call fcn.0044c990
mov edi, ebx
jmp 0x586fe8
mov dword [esp + 0x9c], eax
lea ebx, [ebp + 0xe8]
mov esi, edi
mov edi, ebx
mov eax, edx
call fcn.0044c990
mov eax, dword [esp + 0x9c]
mov edi, esi
jmp 0x586fce
mov eax, dword [ecx + 0x20]
mov dword [esp], edx
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x14], ecx
mov ecx, dword [eax]
mov edx, eax
call ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xe8], ecx
test eax, eax
je 0x587103
mov eax, dword [eax + 4]
mov dword [esp + 0xf4], eax
mov ecx, dword [esp + 0x104]
mov ecx, dword [ecx + 0xc]
mov edx, dword [ecx + 0x20]
mov ecx, dword [esp + 0xd4]
mov dword [esp], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x14], ecx
mov ecx, dword [edx]
call ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
test eax, eax
je 0x587191
mov edx, dword [eax + 4]
mov ebx, edx
xor eax, eax
mov ebp, dword [esp + 0xe8]
mov esi, dword [esp + 0xf4]
xor edi, edi
xor edx, edx
mov dword [esp + 0xa0], edx
mov edx, ecx
xor ecx, ecx
jmp 0x586f8c
mov edx, eax
jmp 0x58716b
call fcn.0044b230
jmp fcn.00586c50