Function at 0x585e90
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 0x586413
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.0053e4e0
movzx eax, byte [esp + 0xc]
test al, al
je 0x585fe2
mov eax, dword [esp + 0x94]
test eax, eax
je 0x585f80
mov eax, 1
jmp 0x585fe7
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.0053e5c0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x585fb4
mov eax, 1
jmp 0x585fe7
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.0053e5c0
movzx eax, byte [esp + 0x10]
xor eax, 1
jmp 0x585fe7
mov eax, 1
test al, al
jne 0x5863cf
mov eax, dword [esp + 0x7c]
test eax, eax
jne 0x5863cf
movzx eax, byte [esp + 0x46]
test al, al
jne 0x586011
movzx eax, byte [esp + 0x47]
test al, al
je 0x58638b
mov eax, dword [esp + 0x88]
test eax, eax
jne 0x58602b
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x58638b
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea eax, [0x586420]
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 [0xe996c0]
test esi, esi
jne 0x586101
mov dword [ecx + 0x230], eax
jmp 0x58610c
lea edi, [ecx + 0x230]
call fcn.0045efc0
mov dword [ecx + 0x24c], ebp
mov dword [ecx + 0x250], ebx
mov ebx, dword [0xe996c0]
test ebx, ebx
jne 0x58612e
mov ebx, dword [esp + 0x6c]
mov dword [ecx + 0x248], ebx
jmp 0x58613d
lea edi, [ecx + 0x248]
mov eax, dword [esp + 0x6c]
call fcn.0045efc0
mov ebx, dword [esp + 0x58]
mov dword [ecx + 0x264], ebx
mov ebx, dword [esp + 0x54]
mov dword [ecx + 0x268], ebx
mov ebx, dword [0xe996c0]
test ebx, ebx
jne 0x586167
mov ebx, dword [esp + 0x68]
mov dword [ecx + 0x260], ebx
jmp 0x586176
lea edi, [ecx + 0x260]
mov eax, dword [esp + 0x68]
call fcn.0045efc0
mov ebx, dword [esp + 0x50]
mov dword [ecx + 0x27c], ebx
mov ebx, dword [esp + 0x4c]
mov dword [ecx + 0x280], ebx
mov ebx, dword [0xe996c0]
test ebx, ebx
jne 0x58619c
mov dword [ecx + 0x278], edx
jmp 0x5861a9
lea edi, [ecx + 0x278]
mov eax, edx
call fcn.0045efc0
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x586366
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 [0xe996c0]
test esi, esi
jne 0x586266
mov dword [ecx + 0x23c], eax
jmp 0x586271
lea edi, [ecx + 0x23c]
call fcn.0045efc0
mov dword [ecx + 0x258], ebp
mov dword [ecx + 0x25c], ebx
mov ebx, dword [0xe996c0]
test ebx, ebx
jne 0x586293
mov ebx, dword [esp + 0x5c]
mov dword [ecx + 0x254], ebx
jmp 0x5862a2
lea edi, [ecx + 0x254]
mov eax, dword [esp + 0x5c]
call fcn.0045efc0
mov ebx, dword [esp + 0x58]
mov dword [ecx + 0x270], ebx
mov ebx, dword [esp + 0x54]
mov dword [ecx + 0x274], ebx
mov ebx, dword [0xe996c0]
test ebx, ebx
jne 0x5862cc
mov ebx, dword [esp + 0x68]
mov dword [ecx + 0x26c], ebx
jmp 0x5862db
lea edi, [ecx + 0x26c]
mov eax, dword [esp + 0x68]
call fcn.0045efc0
mov ebx, dword [esp + 0x50]
mov dword [ecx + 0x288], ebx
mov ebx, dword [esp + 0x4c]
mov dword [ecx + 0x28c], ebx
mov ebx, dword [0xe996c0]
test ebx, ebx
jne 0x586301
mov dword [ecx + 0x284], edx
jmp 0x58630e
lea edi, [ecx + 0x284]
mov eax, edx
call fcn.0045efc0
mov eax, dword [esp + 0x48]
test eax, eax
je 0x58633b
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, [0x647880]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x26
lea ecx, [0x680200]
mov dword [eax], ecx
mov byte [esp + 0xcc], 0
lea ecx, [0x6d2f90]
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
add esp, 0xa8
ret
lea eax, [0x647880]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x27
lea ecx, [0x68068f]
mov dword [eax], ecx
mov byte [esp + 0xcc], 0
lea ecx, [0x6d2f90]
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
add esp, 0xa8
ret
call fcn.0045dbb0
jmp fcn.00585e90