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

Disassembly:
mov eax, 0x140
call fcn.00434830
push esi
mov esi, dword [esp + 0x148]
push edi
test esi, esi
je 0x582b5d
mov edi, dword [esi + 0x1bc]
test edi, edi
jne 0x5827c1
cmp dword [esi + 0x1c0], edi
je 0x582b5d
push 0x78
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00445350
mov eax, dword [esi]
add esp, 0xc
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], eax
test edi, edi
jne 0x5827ec
mov ecx, dword [esi + 0x1c0]
jmp 0x5827ef
mov ecx, dword [edi + 0xc]
mov eax, ecx
mov byte [esp + 0xd], cl
sar eax, 8
cmp dword [esi + 0x1b8], 0
mov byte [esp + 0xc], al
lea eax, [esp + 0xc]
mov dword [esp + 0x90], eax
lea eax, [esp + 0x88]
mov dword [esp + 0x88], 2
mov dword [esp + 0x94], 0
mov dword [esp + 0x18], eax
je 0x582867
mov al, byte [esi + 0x1b8]
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x98]
mov dword [esp + 0x98], 1
mov dword [esp + 0xa4], 0
mov dword [esp + 0x1c], eax
lea eax, [esi + 0x48]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb0], eax
mov eax, dword [esi + 4]
mov dword [esp + 0xa8], eax
lea eax, [esp + 0xa8]
mov dword [esp + 0x20], eax
lea eax, [esi + 0x14c]
mov dword [esp + 0xc0], eax
mov eax, dword [esi + 0x148]
mov dword [esp + 0xb8], eax
lea eax, [esp + 0xb8]
mov dword [esp + 0x24], eax
lea eax, [esi + 0x170]
mov dword [esp + 0xd0], eax
mov eax, dword [esi + 0x16c]
mov dword [esp + 0xc8], eax
lea eax, [esp + 0xc8]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x1b4]
cdq
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x1b0]
mov dword [esp + 0x34], edx
cdq
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x1a8]
mov dword [esp + 0x3c], edx
mov edx, dword [esi + 0x1d0]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x19c]
mov dword [esp + 0xc4], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0x40], eax
test edx, edx
je 0x582961
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x582932
sub ecx, edi
mov dword [esp + 0xe0], edx
lea eax, [esp + 0xd8]
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xe4], 0
mov dword [esp + 0x4c], eax
jmp 0x582969
mov dword [esp + 0x4c], 0
mov eax, dword [esi + 0x1d4]
test eax, eax
je 0x58299d
mov dword [esp + 0xf0], eax
mov eax, dword [esi + 0x1d8]
mov dword [esp + 0xe8], eax
lea eax, [esp + 0xe8]
mov dword [esp + 0xf4], 0
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0x1dc]
test eax, eax
je 0x5829b3
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 0
mov edx, dword [esi + 0x190]
mov eax, dword [esi + 0x1e0]
mov dword [esp + 0x58], eax
test edx, edx
je 0x5829ff
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5829d0
sub ecx, edi
mov dword [esp + 0x100], edx
lea eax, [esp + 0xf8]
mov dword [esp + 0xf8], ecx
mov dword [esp + 0x104], 0
mov dword [esp + 0x60], eax
jmp 0x582a07
mov dword [esp + 0x60], 0
mov edx, dword [esi + 0x194]
test edx, edx
je 0x582a45
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x582a16
sub ecx, edi
mov dword [esp + 0x110], edx
lea eax, [esp + 0x108]
mov dword [esp + 0x108], ecx
mov dword [esp + 0x114], 0
mov dword [esp + 0x64], eax
jmp 0x582a4d
mov dword [esp + 0x64], 0
mov edx, dword [esi + 0x1f4]
test edx, edx
je 0x582a8f
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x582a60
sub ecx, edi
mov dword [esp + 0x120], edx
lea eax, [esp + 0x118]
mov dword [esp + 0x118], ecx
mov dword [esp + 0x124], 0
mov dword [esp + 0x68], eax
jmp 0x582a97
mov dword [esp + 0x68], 0
mov eax, dword [esi + 0x200]
mov dword [esp + 0x70], eax
mov eax, dword [esi + 0x1e4]
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0x1e8]
mov dword [esp + 0x74], 0
test eax, eax
jne 0x582ac3
mov dword [esp + 0x7c], eax
jmp 0x582aed
mov dword [esp + 0x130], eax
mov eax, dword [esi + 0x1ec]
mov dword [esp + 0x128], eax
lea eax, [esp + 0x128]
mov dword [esp + 0x134], 0
mov dword [esp + 0x7c], eax
movzx eax, byte [esi + 0x1f0]
mov dword [esp + 0x80], eax
mov eax, dword [esi + 0x1f8]
test eax, eax
jne 0x582b0e
mov dword [esp + 0x84], eax
jmp 0x582b3b
mov dword [esp + 0x140], eax
mov eax, dword [esi + 0x1fc]
mov dword [esp + 0x138], eax
lea eax, [esp + 0x138]
mov dword [esp + 0x144], 0
mov dword [esp + 0x84], eax
push 0x613038
push dword [esp + 0x154]
lea eax, [esp + 0x18]
push eax
call fcn.004b97e0
add esp, 0xc
pop edi
pop esi
add esp, 0x140
ret
pop edi
xor eax, eax
pop esi
add esp, 0x140
ret