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

Disassembly:
mov ecx, dword [0x7da588]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x58b76b
sub esp, 0x18
mov eax, dword [esp + 0x1c]
mov dword [eax + 0xac], 0
mov dword [eax + 0xb0], 0
mov ecx, dword [0x7da640]
test ecx, ecx
je 0x58b3c1
mov ecx, dword [eax + 0xa8]
call fcn.0046bea0
mov dword [edi], ecx
mov ecx, dword [eax + 0xb8]
mov dword [edi + 4], ecx
mov ecx, dword [eax + 0xc4]
mov dword [edi + 8], ecx
mov ecx, dword [eax + 0xd0]
mov dword [edi + 0xc], ecx
mov dword [eax + 0xa8], 0
mov dword [eax + 0xbc], 0
mov dword [eax + 0xc0], 0
mov dword [eax + 0xb8], 0
mov dword [eax + 0xc8], 0
mov dword [eax + 0xcc], 0
mov dword [eax + 0xc4], 0
mov dword [eax + 0xd4], 0
mov dword [eax + 0xd8], 0
mov dword [eax + 0xd0], 0
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x34]
test edx, edx
je 0x58b462
mov ebx, dword [ecx + 0x38]
mov ebp, dword [ecx + 0x30]
mov dword [eax + 0xe8], edx
mov dword [eax + 0xec], ebx
mov edx, dword [0x7da640]
test edx, edx
je 0x58b45c
call fcn.0046be80
mov dword [edi], ebp
mov edx, dword [eax + 0xe4]
mov dword [edi + 4], edx
mov dword [eax + 0xe4], ebp
mov edx, dword [ecx + 0x40]
test edx, edx
je 0x58b49b
mov ebx, dword [ecx + 0x44]
mov ebp, dword [ecx + 0x3c]
mov dword [eax + 0xf4], edx
mov dword [eax + 0xf8], ebx
mov edx, dword [0x7da640]
test edx, edx
je 0x58b495
call fcn.0046be80
mov dword [edi], ebp
mov edx, dword [eax + 0xf0]
mov dword [edi + 4], edx
mov dword [eax + 0xf0], ebp
mov edx, dword [ecx + 0x4c]
test edx, edx
je 0x58b4d4
mov ebx, dword [ecx + 0x50]
mov ebp, dword [ecx + 0x48]
mov dword [eax + 0x100], edx
mov dword [eax + 0x104], ebx
mov edx, dword [0x7da640]
test edx, edx
je 0x58b4ce
call fcn.0046be80
mov dword [edi], ebp
mov edx, dword [eax + 0xfc]
mov dword [edi + 4], edx
mov dword [eax + 0xfc], ebp
mov edx, dword [ecx + 0x58]
test edx, edx
je 0x58b50d
mov ebx, dword [ecx + 0x5c]
mov ebp, dword [ecx + 0x54]
mov dword [eax + 0x10c], edx
mov dword [eax + 0x110], ebx
mov edx, dword [0x7da640]
test edx, edx
je 0x58b507
call fcn.0046be80
mov dword [edi], ebp
mov edx, dword [eax + 0x108]
mov dword [edi + 4], edx
mov dword [eax + 0x108], ebp
movzx edx, byte [ecx]
cmp dl, 6
jg 0x58b638
cmp dl, 5
je 0x58b600
cmp dl, 6
jne 0x58b762
mov edx, dword [ecx + 0x64]
test edx, edx
je 0x58b566
mov ebx, dword [ecx + 0x68]
mov ebp, dword [ecx + 0x60]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov byte [esp + 0x10], 0
call fcn.0058a810
movzx eax, byte [esp + 0x14]
test al, al
je 0x58b5f7
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x70]
test edx, edx
je 0x58b5c1
movzx ebx, byte [eax + 0x40]
test bl, bl
jne 0x58b58b
movzx ebx, byte [ecx + 0x84]
test bl, bl
jne 0x58b5c1
movzx ebx, byte [ecx + 0x85]
test bl, bl
jne 0x58b5c1
mov ebx, dword [ecx + 0x6c]
mov ebp, dword [ecx + 0x74]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
call fcn.0058a9c0
movzx eax, byte [esp + 0x10]
test al, al
je 0x58b5b8
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
jmp 0x58b5c1
mov byte [esp + 0x24], 0
add esp, 0x18
ret
mov edx, dword [ecx + 0x78]
mov ebx, dword [ecx + 0x7c]
mov ecx, dword [ecx + 0x80]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
call fcn.0058ab80
movzx eax, byte [esp + 0x10]
test al, al
jne 0x58b762
mov byte [esp + 0x24], 0
add esp, 0x18
ret
mov byte [esp + 0x24], 0
add esp, 0x18
ret
mov edx, dword [ecx + 0x60]
mov ebx, dword [ecx + 0x64]
mov ecx, dword [ecx + 0x68]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov byte [esp + 0x10], 1
call fcn.0058a810
movzx eax, byte [esp + 0x14]
test al, al
jne 0x58b762
mov byte [esp + 0x24], 0
add esp, 0x18
ret
cmp dl, 7
jne 0x58b6d3
mov edx, dword [ecx + 0x64]
test edx, edx
je 0x58b678
mov ebx, dword [ecx + 0x68]
mov ebp, dword [ecx + 0x60]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov byte [esp + 0x10], 0
call fcn.0058a810
movzx eax, byte [esp + 0x14]
test al, al
je 0x58b6ca
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x70]
test edx, edx
je 0x58b762
movzx ebx, byte [eax + 0x40]
test bl, bl
jne 0x58b69a
movzx ebx, byte [ecx + 0x84]
test bl, bl
jne 0x58b762
mov ebx, dword [ecx + 0x6c]
mov ecx, dword [ecx + 0x74]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call fcn.0058a9c0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x58b762
mov byte [esp + 0x24], 0
add esp, 0x18
ret
mov byte [esp + 0x24], 0
add esp, 0x18
ret
cmp dl, 9
jne 0x58b762
mov edx, dword [ecx + 0x64]
test edx, edx
je 0x58b713
mov ebx, dword [ecx + 0x68]
mov ebp, dword [ecx + 0x60]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov byte [esp + 0x10], 0
call fcn.0058a810
movzx eax, byte [esp + 0x14]
test al, al
je 0x58b759
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x70]
test edx, edx
je 0x58b762
movzx ebx, byte [eax + 0x40]
test bl, bl
jne 0x58b72d
movzx ebx, byte [ecx + 0x84]
test bl, bl
jne 0x58b762
mov ebx, dword [ecx + 0x6c]
mov ecx, dword [ecx + 0x74]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call fcn.0058a9c0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x58b762
mov byte [esp + 0x24], 0
add esp, 0x18
ret
mov byte [esp + 0x24], 0
add esp, 0x18
ret
mov byte [esp + 0x24], 1
add esp, 0x18
ret
call fcn.0046aa70
jmp fcn.0058b360