Function at 0x579a00
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 0x579dc3
sub esp, 0x6c
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x579a27
mov ebx, dword [ecx + 8]
jmp 0x579a2f
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x30], edx
mov dword [esp + 0x44], ebx
mov ebp, dword [ecx + 0x14]
mov esi, dword [ecx + 0x10]
cmp edx, 5
jne 0x579a70
cmp dword [ebx], 0x65732121
je 0x579a4f
cmp edx, 5
jmp 0x579a5c
cmp byte [ebx + 4], 0x71
je 0x579b0b
cmp edx, 5
jne 0x579a70
cmp dword [ebx], 0x616d2121
jne 0x579a70
cmp byte [ebx + 4], 0x70
je 0x579b0b
cmp ebp, 0xa
jle 0x579abb
mov dword [esp], 0
lea eax, [0x60a316]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 7
lea eax, [0x60a6b4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 4
call fcn.004515c0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
jmp 0x579afb
mov dword [esp], 0
lea eax, [0x60a316]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
lea eax, str._U___6
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 1
call fcn.004515c0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x44]
mov ebp, ecx
mov esi, eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x40], esi
mov dword [esp + 0x2c], ebp
cmp edx, 0x12
jge 0x579b1c
xor eax, eax
jmp 0x579b4f
mov dword [esp], ebx
lea eax, [0x60edf0]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x12
call fcn.00403320
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x40]
test al, al
je 0x579bf1
mov eax, dword [0x79d7d4]
lea ecx, [0x5df8e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call fcn.00410810
movzx eax, byte [esp + 0x14]
test al, al
je 0x579b97
mov ecx, dword [esp + 0x10]
mov ebx, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x74]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x40]
jmp 0x579bf1
mov ecx, dword [esp + 0x30]
cmp ecx, 0x12
jb 0x579db8
mov dword [esp], 0
lea eax, [0x60a314]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
lea eax, [ecx - 0x12]
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, 0x12
mov edx, dword [esp + 0x44]
add eax, edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.00451520
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x74]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x24], edx
mov dword [esp + 0x38], ebx
mov ebp, dword [esp + 0x88]
test ebp, ebp
je 0x579c1b
test ebp, 0x200
jne 0x579c1b
lea ebp, [0x65b040]
mov edi, dword [esp + 0x80]
jmp 0x579c49
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.0048f510
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ebp, eax
mov edi, ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x28], ebp
xor eax, eax
lea edi, [esp + 0x4c]
call fcn.00468608
mov ecx, dword [esp + 0x74]
mov ecx, dword [ecx + 0x48]
mov dword [esp], ecx
call fcn.00409b50
mov ecx, dword [esp + 4]
lea edx, [0x5ddbc0]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], ecx
call fcn.00409c60
mov ecx, dword [esp + 8]
lea edx, [0x5dda40]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
call fcn.00409c60
mov ecx, dword [esp + 8]
lea edx, [0x5dda40]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x579cd6
mov ebp, dword [ecx + 4]
jmp 0x579cd8
mov ebp, ecx
mov dword [esp + 0x64], ebp
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x68], eax
lea eax, [0x617c4e]
mov dword [esp], eax
mov dword [esp + 4], 0x26
lea eax, [esp + 0x4c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], 4
call fcn.004c7a60
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
inc edx
mov ebx, dword [eax + 8]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
cmp ecx, edx
jae 0x579d8f
mov dword [esp + 0x48], ebp
mov dword [esp + 0x34], esi
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x5dda40]
mov dword [esp + 0x10], eax
call fcn.0044db70
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x70]
mov dword [ebx + 0x10], eax
mov eax, dword [0x7c3fa0]
test eax, eax
je 0x579d80
call fcn.00468410
mov dword [edi], ecx
mov eax, dword [ebx + 8]
mov dword [edi + 4], eax
mov dword [ebx + 8], ecx
mov eax, ebx
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x34]
mov ebx, ecx
mov dword [eax + 0xc], edx
lea eax, [ebx + edx*8 - 4]
mov dword [eax], esi
mov eax, dword [0x7c3fa0]
lea ecx, [ebx + edx*8 - 8]
test eax, eax
je 0x579db2
call fcn.00468410
mov dword [edi], ebp
mov eax, dword [ecx]
mov dword [edi + 4], eax
mov dword [ecx], ebp
add esp, 0x6c
ret
mov eax, 0x12
call fcn.004684c0
nop
call fcn.00467000
jmp fcn.00579a00