Function at 0x5870c0
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 0x587643
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.0056feb0
movzx eax, byte [esp + 0xc]
test al, al
je 0x587212
mov eax, dword [esp + 0x94]
test eax, eax
je 0x5871b0
mov eax, 1
jmp 0x587217
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.0056ff90
movzx eax, byte [esp + 0x10]
test al, al
jne 0x5871e4
mov eax, 1
jmp 0x587217
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.0056ff90
movzx eax, byte [esp + 0x10]
xor eax, 1
jmp 0x587217
mov eax, 1
test al, al
jne 0x5875ff
mov eax, dword [esp + 0x7c]
test eax, eax
jne 0x5875ff
movzx eax, byte [esp + 0x46]
test al, al
jne 0x587241
movzx eax, byte [esp + 0x47]
test al, al
je 0x5875bb
mov eax, dword [esp + 0x88]
test eax, eax
jne 0x58725b
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x5875bb
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea eax, [0x587650]
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 [0x81dcc0]
test esi, esi
jne 0x587331
mov dword [ecx + 0x230], eax
jmp 0x58733c
lea edi, [ecx + 0x230]
call fcn.00462500
mov dword [ecx + 0x24c], ebp
mov dword [ecx + 0x250], ebx
mov ebx, dword [0x81dcc0]
test ebx, ebx
jne 0x58735e
mov ebx, dword [esp + 0x6c]
mov dword [ecx + 0x248], ebx
jmp 0x58736d
lea edi, [ecx + 0x248]
mov eax, dword [esp + 0x6c]
call fcn.00462500
mov ebx, dword [esp + 0x58]
mov dword [ecx + 0x264], ebx
mov ebx, dword [esp + 0x54]
mov dword [ecx + 0x268], ebx
mov ebx, dword [0x81dcc0]
test ebx, ebx
jne 0x587397
mov ebx, dword [esp + 0x68]
mov dword [ecx + 0x260], ebx
jmp 0x5873a6
lea edi, [ecx + 0x260]
mov eax, dword [esp + 0x68]
call fcn.00462500
mov ebx, dword [esp + 0x50]
mov dword [ecx + 0x27c], ebx
mov ebx, dword [esp + 0x4c]
mov dword [ecx + 0x280], ebx
mov ebx, dword [0x81dcc0]
test ebx, ebx
jne 0x5873cc
mov dword [ecx + 0x278], edx
jmp 0x5873d9
lea edi, [ecx + 0x278]
mov eax, edx
call fcn.00462500
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x587596
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 [0x81dcc0]
test esi, esi
jne 0x587496
mov dword [ecx + 0x23c], eax
jmp 0x5874a1
lea edi, [ecx + 0x23c]
call fcn.00462500
mov dword [ecx + 0x258], ebp
mov dword [ecx + 0x25c], ebx
mov ebx, dword [0x81dcc0]
test ebx, ebx
jne 0x5874c3
mov ebx, dword [esp + 0x5c]
mov dword [ecx + 0x254], ebx
jmp 0x5874d2
lea edi, [ecx + 0x254]
mov eax, dword [esp + 0x5c]
call fcn.00462500
mov ebx, dword [esp + 0x58]
mov dword [ecx + 0x270], ebx
mov ebx, dword [esp + 0x54]
mov dword [ecx + 0x274], ebx
mov ebx, dword [0x81dcc0]
test ebx, ebx
jne 0x5874fc
mov ebx, dword [esp + 0x68]
mov dword [ecx + 0x26c], ebx
jmp 0x58750b
lea edi, [ecx + 0x26c]
mov eax, dword [esp + 0x68]
call fcn.00462500
mov ebx, dword [esp + 0x50]
mov dword [ecx + 0x288], ebx
mov ebx, dword [esp + 0x4c]
mov dword [ecx + 0x28c], ebx
mov ebx, dword [0x81dcc0]
test ebx, ebx
jne 0x587531
mov dword [ecx + 0x284], edx
jmp 0x58753e
lea edi, [ecx + 0x284]
mov eax, edx
call fcn.00462500
mov eax, dword [esp + 0x48]
test eax, eax
je 0x58756b
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, [0x6072c0]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x26
lea ecx, [0x6447a5]
mov dword [eax], ecx
mov byte [esp + 0xcc], 0
lea ecx, [0x68bbe4]
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
add esp, 0xa8
ret
lea eax, [0x6072c0]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x27
lea ecx, [0x644b71]
mov dword [eax], ecx
mov byte [esp + 0xcc], 0
lea ecx, [0x68bbe4]
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
add esp, 0xa8
ret
call fcn.004610f0
jmp fcn.005870c0