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

Disassembly:
mov ecx, dword [0x7c3e14]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x584da5
sub esp, 0x18
mov eax, dword [esp + 0x1c]
mov dword [eax + 0xac], 0
mov dword [eax + 0xb0], 0
mov ecx, dword [0x7c3fa0]
test ecx, ecx
je 0x5849b6
mov ecx, dword [eax + 0xa8]
call fcn.00468400
mov dword [edi], ecx
mov dword [eax + 0xa8], 0
mov dword [eax + 0xbc], 0
mov dword [eax + 0xc0], 0
mov ecx, dword [0x7c3fa0]
test ecx, ecx
je 0x5849eb
mov ecx, dword [eax + 0xb8]
call fcn.00468400
mov dword [edi], ecx
mov dword [eax + 0xb8], 0
mov dword [eax + 0xc8], 0
mov dword [eax + 0xcc], 0
mov ecx, dword [0x7c3fa0]
test ecx, ecx
je 0x584a20
mov ecx, dword [eax + 0xc4]
call fcn.00468400
mov dword [edi], ecx
mov dword [eax + 0xc4], 0
mov dword [eax + 0xd4], 0
mov dword [eax + 0xd8], 0
mov ecx, dword [0x7c3fa0]
test ecx, ecx
je 0x584a55
mov ecx, dword [eax + 0xd0]
call fcn.00468400
mov dword [edi], ecx
mov dword [eax + 0xd0], 0
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x34]
test edx, edx
je 0x584a9c
mov ebx, dword [ecx + 0x38]
mov ebp, dword [ecx + 0x30]
mov dword [eax + 0xe8], edx
mov dword [eax + 0xec], ebx
mov edx, dword [0x7c3fa0]
test edx, edx
je 0x584a96
call fcn.00468410
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 0x584ad5
mov ebx, dword [ecx + 0x44]
mov ebp, dword [ecx + 0x3c]
mov dword [eax + 0xf4], edx
mov dword [eax + 0xf8], ebx
mov edx, dword [0x7c3fa0]
test edx, edx
je 0x584acf
call fcn.00468410
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 0x584b0e
mov ebx, dword [ecx + 0x50]
mov ebp, dword [ecx + 0x48]
mov dword [eax + 0x100], edx
mov dword [eax + 0x104], ebx
mov edx, dword [0x7c3fa0]
test edx, edx
je 0x584b08
call fcn.00468410
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 0x584b47
mov ebx, dword [ecx + 0x5c]
mov ebp, dword [ecx + 0x54]
mov dword [eax + 0x10c], edx
mov dword [eax + 0x110], ebx
mov edx, dword [0x7c3fa0]
test edx, edx
je 0x584b41
call fcn.00468410
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 0x584c72
cmp dl, 5
je 0x584c3a
cmp dl, 6
jne 0x584d9c
mov edx, dword [ecx + 0x64]
test edx, edx
je 0x584ba0
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.00583e20
movzx eax, byte [esp + 0x14]
test al, al
je 0x584c31
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x70]
test edx, edx
je 0x584bfb
movzx ebx, byte [eax + 0x40]
test bl, bl
jne 0x584bc5
movzx ebx, byte [ecx + 0x84]
test bl, bl
jne 0x584bfb
movzx ebx, byte [ecx + 0x85]
test bl, bl
jne 0x584bfb
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.00583fd0
movzx eax, byte [esp + 0x10]
test al, al
je 0x584bf2
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
jmp 0x584bfb
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.00584190
movzx eax, byte [esp + 0x10]
test al, al
jne 0x584d9c
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.00583e20
movzx eax, byte [esp + 0x14]
test al, al
jne 0x584d9c
mov byte [esp + 0x24], 0
add esp, 0x18
ret
cmp dl, 7
jne 0x584d0d
mov edx, dword [ecx + 0x64]
test edx, edx
je 0x584cb2
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.00583e20
movzx eax, byte [esp + 0x14]
test al, al
je 0x584d04
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x70]
test edx, edx
je 0x584d9c
movzx ebx, byte [eax + 0x40]
test bl, bl
jne 0x584cd4
movzx ebx, byte [ecx + 0x84]
test bl, bl
jne 0x584d9c
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.00583fd0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x584d9c
mov byte [esp + 0x24], 0
add esp, 0x18
ret
mov byte [esp + 0x24], 0
add esp, 0x18
ret
cmp dl, 9
jne 0x584d9c
mov edx, dword [ecx + 0x64]
test edx, edx
je 0x584d4d
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.00583e20
movzx eax, byte [esp + 0x14]
test al, al
je 0x584d93
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x70]
test edx, edx
je 0x584d9c
movzx ebx, byte [eax + 0x40]
test bl, bl
jne 0x584d67
movzx ebx, byte [ecx + 0x84]
test bl, bl
jne 0x584d9c
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.00583fd0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x584d9c
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.00467000
jmp fcn.00584970