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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x28]
cmp eax, dword [ecx + 8]
jbe 0x587d83
sub esp, 0xa8
mov byte [esp + 0xcc], 0
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xc8]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov byte [esp + 0x46], 0
mov byte [esp + 0x47], 0
lea eax, [esp + 0x90]
mov dword [esp], eax
lea eax, [esp + 0x78]
mov dword [esp + 4], eax
mov byte [esp + 8], 0x30
call fcn.00570560
movzx eax, byte [esp + 0xc]
test al, al
je 0x587952
mov eax, dword [esp + 0x94]
test eax, eax
je 0x5878f0
mov eax, 1
jmp 0x587957
lea eax, [esp + 0x78]
mov dword [esp], eax
lea ecx, [esp + 0x84]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x46]
mov dword [esp + 8], ecx
mov byte [esp + 0xc], 0xa0
call fcn.00570640
movzx eax, byte [esp + 0x10]
test al, al
jne 0x587924
mov eax, 1
jmp 0x587957
lea eax, [esp + 0x78]
mov dword [esp], eax
lea eax, [esp + 0x9c]
mov dword [esp + 4], eax
lea eax, [esp + 0x47]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 0xa1
call fcn.00570640
movzx eax, byte [esp + 0x10]
xor eax, 1
jmp 0x587957
mov eax, 1
test al, al
jne 0x587d3f
mov eax, dword [esp + 0x7c]
test eax, eax
jne 0x587d3f
movzx eax, byte [esp + 0x46]
test al, al
jne 0x587981
movzx eax, byte [esp + 0x47]
test al, al
je 0x587cfb
mov eax, dword [esp + 0x88]
test eax, eax
jne 0x58799b
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x587cfb
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea eax, [0x587d90]
mov dword [esp + 0x70], eax
lea eax, [esp + 0xcc]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x84]
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x8c]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
lea edx, [esp + 0x70]
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x6c], ecx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x68], ebx
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov edx, ebp
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0xac]
mov dword [ecx + 0x234], esi
mov dword [ecx + 0x238], edi
mov esi, dword [0x84c5a0]
test esi, esi
jne 0x587a71
mov dword [ecx + 0x230], eax
jmp 0x587a7c
lea edi, [ecx + 0x230]
call fcn.0045e940
mov dword [ecx + 0x24c], ebp
mov dword [ecx + 0x250], ebx
mov ebx, dword [0x84c5a0]
test ebx, ebx
jne 0x587a9e
mov ebx, dword [esp + 0x6c]
mov dword [ecx + 0x248], ebx
jmp 0x587aad
lea edi, [ecx + 0x248]
mov eax, dword [esp + 0x6c]
call fcn.0045e940
mov ebx, dword [esp + 0x58]
mov dword [ecx + 0x264], ebx
mov ebx, dword [esp + 0x54]
mov dword [ecx + 0x268], ebx
mov ebx, dword [0x84c5a0]
test ebx, ebx
jne 0x587ad7
mov ebx, dword [esp + 0x68]
mov dword [ecx + 0x260], ebx
jmp 0x587ae6
lea edi, [ecx + 0x260]
mov eax, dword [esp + 0x68]
call fcn.0045e940
mov ebx, dword [esp + 0x50]
mov dword [ecx + 0x27c], ebx
mov ebx, dword [esp + 0x4c]
mov dword [ecx + 0x280], ebx
mov ebx, dword [0x84c5a0]
test ebx, ebx
jne 0x587b0c
mov dword [ecx + 0x278], edx
jmp 0x587b19
lea edi, [ecx + 0x278]
mov eax, edx
call fcn.0045e940
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x587cd6
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x9c]
mov ebx, dword [esp + 0xa0]
mov ebp, dword [esp + 0xa4]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
lea edx, [esp + 0x70]
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x5c], ecx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x68], ebx
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov edx, ebp
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0xac]
mov dword [ecx + 0x240], esi
mov dword [ecx + 0x244], edi
mov esi, dword [0x84c5a0]
test esi, esi
jne 0x587bd6
mov dword [ecx + 0x23c], eax
jmp 0x587be1
lea edi, [ecx + 0x23c]
call fcn.0045e940
mov dword [ecx + 0x258], ebp
mov dword [ecx + 0x25c], ebx
mov ebx, dword [0x84c5a0]
test ebx, ebx
jne 0x587c03
mov ebx, dword [esp + 0x5c]
mov dword [ecx + 0x254], ebx
jmp 0x587c12
lea edi, [ecx + 0x254]
mov eax, dword [esp + 0x5c]
call fcn.0045e940
mov ebx, dword [esp + 0x58]
mov dword [ecx + 0x270], ebx
mov ebx, dword [esp + 0x54]
mov dword [ecx + 0x274], ebx
mov ebx, dword [0x84c5a0]
test ebx, ebx
jne 0x587c3c
mov ebx, dword [esp + 0x68]
mov dword [ecx + 0x26c], ebx
jmp 0x587c4b
lea edi, [ecx + 0x26c]
mov eax, dword [esp + 0x68]
call fcn.0045e940
mov ebx, dword [esp + 0x50]
mov dword [ecx + 0x288], ebx
mov ebx, dword [esp + 0x4c]
mov dword [ecx + 0x28c], ebx
mov ebx, dword [0x84c5a0]
test ebx, ebx
jne 0x587c71
mov dword [ecx + 0x284], edx
jmp 0x587c7e
lea edi, [ecx + 0x284]
mov eax, edx
call fcn.0045e940
mov eax, dword [esp + 0x48]
test eax, eax
je 0x587cab
mov byte [esp + 0xcc], 0
mov eax, dword [esp + 0x64]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xd4], eax
add esp, 0xa8
ret
movzx eax, byte [esp + 0xbc]
mov byte [ecx + 0x22c], al
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
add esp, 0xa8
ret
mov byte [esp + 0xcc], 0
mov eax, dword [esp + 0x64]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xd4], eax
add esp, 0xa8
ret
lea eax, [0x615260]
mov dword [esp], eax
call fcn.0040b380
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x26
lea ecx, [0x650b6f]
mov dword [eax], ecx
mov byte [esp + 0xcc], 0
lea ecx, [0x6a4c44]
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
add esp, 0xa8
ret
lea eax, [0x615260]
mov dword [esp], eax
call fcn.0040b380
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x27
lea ecx, [0x650f14]
mov dword [eax], ecx
mov byte [esp + 0xcc], 0
lea ecx, [0x6a4c44]
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
add esp, 0xa8
ret
call fcn.0045d530
jmp fcn.00587800