Function at 0x58eba0
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 0x58f123
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.00577900
movzx eax, byte [esp + 0xc]
test al, al
je 0x58ecf2
mov eax, dword [esp + 0x94]
test eax, eax
je 0x58ec90
mov eax, 1
jmp 0x58ecf7
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.005779e0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x58ecc4
mov eax, 1
jmp 0x58ecf7
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.005779e0
movzx eax, byte [esp + 0x10]
xor eax, 1
jmp 0x58ecf7
mov eax, 1
test al, al
jne 0x58f0df
mov eax, dword [esp + 0x7c]
test eax, eax
jne 0x58f0df
movzx eax, byte [esp + 0x46]
test al, al
jne 0x58ed21
movzx eax, byte [esp + 0x47]
test al, al
je 0x58f09b
mov eax, dword [esp + 0x88]
test eax, eax
jne 0x58ed3b
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x58f09b
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea eax, [0x58f130]
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 [0x8d5630]
test esi, esi
jne 0x58ee11
mov dword [ecx + 0x230], eax
jmp 0x58ee1c
lea edi, [ecx + 0x230]
call fcn.0045efb0
mov dword [ecx + 0x24c], ebp
mov dword [ecx + 0x250], ebx
mov ebx, dword [0x8d5630]
test ebx, ebx
jne 0x58ee3e
mov ebx, dword [esp + 0x6c]
mov dword [ecx + 0x248], ebx
jmp 0x58ee4d
lea edi, [ecx + 0x248]
mov eax, dword [esp + 0x6c]
call fcn.0045efb0
mov ebx, dword [esp + 0x58]
mov dword [ecx + 0x264], ebx
mov ebx, dword [esp + 0x54]
mov dword [ecx + 0x268], ebx
mov ebx, dword [0x8d5630]
test ebx, ebx
jne 0x58ee77
mov ebx, dword [esp + 0x68]
mov dword [ecx + 0x260], ebx
jmp 0x58ee86
lea edi, [ecx + 0x260]
mov eax, dword [esp + 0x68]
call fcn.0045efb0
mov ebx, dword [esp + 0x50]
mov dword [ecx + 0x27c], ebx
mov ebx, dword [esp + 0x4c]
mov dword [ecx + 0x280], ebx
mov ebx, dword [0x8d5630]
test ebx, ebx
jne 0x58eeac
mov dword [ecx + 0x278], edx
jmp 0x58eeb9
lea edi, [ecx + 0x278]
mov eax, edx
call fcn.0045efb0
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x58f076
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 [0x8d5630]
test esi, esi
jne 0x58ef76
mov dword [ecx + 0x23c], eax
jmp 0x58ef81
lea edi, [ecx + 0x23c]
call fcn.0045efb0
mov dword [ecx + 0x258], ebp
mov dword [ecx + 0x25c], ebx
mov ebx, dword [0x8d5630]
test ebx, ebx
jne 0x58efa3
mov ebx, dword [esp + 0x5c]
mov dword [ecx + 0x254], ebx
jmp 0x58efb2
lea edi, [ecx + 0x254]
mov eax, dword [esp + 0x5c]
call fcn.0045efb0
mov ebx, dword [esp + 0x58]
mov dword [ecx + 0x270], ebx
mov ebx, dword [esp + 0x54]
mov dword [ecx + 0x274], ebx
mov ebx, dword [0x8d5630]
test ebx, ebx
jne 0x58efdc
mov ebx, dword [esp + 0x68]
mov dword [ecx + 0x26c], ebx
jmp 0x58efeb
lea edi, [ecx + 0x26c]
mov eax, dword [esp + 0x68]
call fcn.0045efb0
mov ebx, dword [esp + 0x50]
mov dword [ecx + 0x288], ebx
mov ebx, dword [esp + 0x4c]
mov dword [ecx + 0x28c], ebx
mov ebx, dword [0x8d5630]
test ebx, ebx
jne 0x58f011
mov dword [ecx + 0x284], edx
jmp 0x58f01e
lea edi, [ecx + 0x284]
mov eax, edx
call fcn.0045efb0
mov eax, dword [esp + 0x48]
test eax, eax
je 0x58f04b
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, [0x665440]
mov dword [esp], eax
call fcn.0040b430
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x26
lea ecx, [0x6a3a2c]
mov dword [eax], ecx
mov byte [esp + 0xcc], 0
lea ecx, [0x700a44]
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
add esp, 0xa8
ret
lea eax, [0x665440]
mov dword [esp], eax
call fcn.0040b430
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x27
lea ecx, [0x6a3e6d]
mov dword [eax], ecx
mov byte [esp + 0xcc], 0
lea ecx, [0x700a44]
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
add esp, 0xa8
ret
call fcn.0045dba0
jmp fcn.0058eba0