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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x7cf529
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebp
mov ebp, ecx
push edi
xor edi, edi
cmp dword [ebp + 0x190], edi
jle 0x603790
mov eax, dword [ebp + 0x1c0]
push ebx
push esi
mov esi, dword [esp + 0x78]
cmp esi, edi
mov dword [esp + 0x10], eax
jge 0x6034b2
xor esi, esi
jmp 0x6034b8
cmp esi, eax
jle 0x6034b8
mov esi, eax
mov al, byte [esp + 0x78]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x38], al
call fcn.00580580
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov eax, dword [ebp + 0x190]
xor ebx, ebx
cmp eax, edi
mov dword [esp + 0x70], edi
jle 0x60360e
jmp 0x6034fd
xor edi, edi
cmp dword [esp + 0x10], esi
jle 0x60360e
lea ecx, [ebp + 0x198]
push esi
mov edx, dword [ecx]
mov dword [esp + 0x2c], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x30], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x34], edx
mov eax, dword [ecx + 0xc]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x38], eax
call fcn.005806e0
mov eax, dword [esp + 0x30]
push 0
mov edi, eax
mov cl, byte [eax]
mov byte [esp + 0x1c], cl
lea ecx, [esp + 0x1c]
call fcn.00404e60
mov edx, dword [0x7e565c]
lea ecx, [esp + 0x18]
push edx
push 0
push edi
call fcn.00404c60
mov eax, dword [esp + 0x64]
mov byte [esp + 0x70], 1
test eax, eax
je 0x6035bf
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
cmp ecx, edx
je 0x6035bf
lea eax, [ecx + 0x10]
cmp eax, edx
jne 0x603599
mov dword [esp + 0x54], eax
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.00508b00
add esp, 8
lea ecx, [esp + 0x38]
call fcn.005802b0
jmp 0x6035e3
mov dword [esp + 0x78], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x14], ecx
test ecx, ecx
mov byte [esp + 0x70], 2
je 0x6035b8
lea edx, [esp + 0x18]
push edx
call fcn.004267d0
mov byte [esp + 0x70], 1
jmp 0x6035e3
lea ecx, [esp + 0x38]
call fcn.005802b0
mov eax, dword [esp + 0x54]
mov ecx, eax
add eax, 0x10
mov dword [esp + 0x54], eax
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.00508b00
add esp, 8
mov eax, dword [esp + 0x64]
push 1
inc eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x68], eax
mov byte [esp + 0x74], 0
call fcn.00404e60
mov eax, dword [ebp + 0x190]
inc ebx
inc esi
cmp ebx, eax
jl 0x6034fb
xor edi, edi
xor esi, esi
test ebx, ebx
jle 0x603687
mov esi, ebx
mov ecx, dword [ebp + 0x17c]
mov eax, dword [ecx + edi*4]
test eax, eax
je 0x603682
mov edx, dword [ebp + 0xc0]
mov ecx, dword [edx + 0xd8]
mov dword [eax + 0xd8], ecx
mov eax, dword [eax + 0xbc]
test eax, eax
je 0x603642
mov dword [eax + 0x2c], ecx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
push edi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
call fcn.005806e0
mov ecx, dword [ebp + 0x17c]
mov eax, dword [esp + 0x30]
push eax
mov ecx, dword [ecx + edi*4]
mov edx, dword [ecx]
call dword [edx + 0x9c]
inc edi
cmp edi, ebx
jl 0x603616
mov eax, dword [ebp + 0x190]
mov dword [esp + 0x78], esi
cmp esi, eax
jge 0x603742
mov ecx, dword [ebp + 0x17c]
cmp dword [ecx + esi*4], 0
je 0x60372f
mov dl, byte [esp + 0x78]
push 0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c], dl
call fcn.00404e60
mov edi, 0x870c08
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x1c]
push ebx
call fcn.00401b40
test al, al
je 0x603704
mov edi, dword [esp + 0x1c]
mov ecx, ebx
mov eax, ecx
mov esi, 0x870c08
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call fcn.00405070
mov esi, dword [esp + 0x78]
mov ecx, dword [ebp + 0x17c]
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x74], 3
mov ecx, dword [ecx + esi*4]
mov edx, dword [ecx]
call dword [edx + 0x9c]
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x74], 0
call fcn.00404e60
mov eax, dword [ebp + 0x190]
inc esi
cmp esi, eax
mov dword [esp + 0x78], esi
jl 0x603699
mov eax, dword [esp + 0x64]
pop esi
test eax, eax
mov dword [esp + 0x6c], 0xffffffff
pop ebx
je 0x603790
mov eax, dword [esp + 0x3c]
push 0
mov ecx, eax
add eax, 0x10
mov dword [esp + 0x40], eax
call fcn.00580bd0
mov eax, dword [esp + 0x5c]
dec eax
mov dword [esp + 0x5c], eax
je 0x60377f
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
cmp ecx, eax
jne 0x603788
lea ecx, [esp + 0x30]
call fcn.0055de70
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x603754
mov ecx, dword [esp + 0x60]
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x64
ret 4