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

Disassembly:
push edi
push esi
push ebp
push ebx
mov edi, dword [esp + 0x14]
sub esp, 0x464
mov dword [esp + 0x418], 0
mov esi, dword [edi + 0x37c0]
xor ebx, ebx
xor ecx, ecx
test esi, esi
mov eax, 0
mov dword [esp + 0x460], eax
jle 0x6003f5ba
mov ebp, dword [edi + 0x37cc]
mov edx, ecx
shl edx, 4
mov esi, esi
inc ecx
mov eax, dword [edx + ebp + 8]
imul eax, dword [edx + ebp + 4]
add edx, 0x10
add ebx, eax
cmp ecx, esi
mov dword [esp + ecx*4 + 0x418], eax
jl 0x6003f5a0
mov eax, dword [edi + 0x78]
shl ebx, 6
xor ecx, ecx
mov dword [esp + 0x454], ebx
imul eax, ebx
mov ebx, dword [esp + 0x480]
mov dword [esp + 0x450], eax
mov eax, dword [ebx]
test eax, eax
jle 0x6003f632
mov eax, ecx
shl eax, 4
lea edx, [eax + ecx*8]
nop
lea esi, [esi]
mov eax, dword [ebx + 0x34]
mov eax, dword [edx + eax]
mov dword [ebx + ecx*4 + 0x24], 0
movsx ebp, byte [eax + edi + 0x37a0]
inc ecx
mov ebp, dword [edi + ebp*4 + 0x3704]
mov esi, dword [ebx + 0x34]
mov dword [edx + esi + 0xc], ebp
movsx eax, byte [eax + edi + 0x379c]
mov ebp, dword [ebx + 0x34]
mov eax, dword [edi + eax*4 + 0x36f4]
mov dword [edx + ebp + 0x10], eax
add edx, 0x18
cmp ecx, dword [ebx]
jl 0x6003f5f0
mov edx, dword [esp + 0x47c]
mov eax, 8
mov dword [edx + 0xc], 8
mov edx, dword [ebx + 8]
test edx, edx
jne 0x6003f812
mov edx, dword [ebx + 0xc]
test edx, edx
jne 0x6003f812
xor ebp, ebp
mov edx, dword [edi + 0x7c]
test edx, edx
jle 0x6003fb70
mov ecx, dword [edi + 0x78]
mov eax, edx
mov dword [esp + 0x45c], ecx
xor esi, esi
mov edx, dword [esp + 0x45c]
test edx, edx
jle 0x6003f7fa
mov edx, dword [esp + 0x450]
mov ecx, dword [esp + 0x454]
add edx, edx
add ecx, ecx
imul edx, ebp
mov dword [esp + 0x448], ecx
mov dword [esp + 0x444], edx
imul ecx, esi
mov eax, dword [ebx]
mov dword [esp + 0x440], ecx
mov edx, dword [esp + 0x45c]
mov dword [esp + 0x438], ebp
mov ebp, dword [edi + 0x4de4]
mov ecx, dword [esp + 0x444]
add ebp, ecx
mov ecx, dword [esp + 0x440]
add ebp, ecx
test eax, eax
mov ecx, 0
mov dword [esp + 0x458], ecx
jle 0x6003f7c9
mov edx, ecx
mov dword [esp + 0x43c], esi
lea edx, [ebx + edx*4]
mov dword [esp + 0x44c], edx
mov edx, dword [esp + 0x458]
xor esi, esi
mov edx, dword [esp + edx*4 + 0x41c]
test edx, edx
jle 0x6003f790
mov eax, dword [esp + 0x44c]
mov edx, dword [esp + 0x458]
add eax, 0x24
mov dword [esp + 0x45c], eax
mov eax, edx
shl eax, 4
lea edi, [eax + edx*8]
lea esi, [esi]
mov eax, dword [ebx + 0x34]
mov edx, dword [esp + 0x47c]
mov dword [esp + 0xc], ebp
mov dword [esp], edx
mov eax, dword [edi + eax + 0xc]
mov edx, dword [esp + 0x45c]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 8], edx
mov edx, dword [ebx + 0x14]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
call fcn.6002b080
inc esi
add ebp, 0x80
mov eax, dword [esp + 0x458]
cmp esi, dword [esp + eax*4 + 0x41c]
jl 0x6003f740
mov eax, dword [ebx]
mov edx, dword [esp + 0x44c]
mov ecx, dword [esp + 0x458]
add edx, 4
inc ecx
mov dword [esp + 0x44c], edx
mov dword [esp + 0x458], ecx
cmp ecx, eax
jl 0x6003f701
mov edi, dword [esp + 0x478]
mov esi, dword [esp + 0x43c]
mov edx, dword [edi + 0x78]
mov ecx, dword [esp + 0x440]
inc esi
mov ebp, dword [esp + 0x448]
add ecx, ebp
cmp esi, edx
mov dword [esp + 0x440], ecx
jl 0x6003f6c2
mov ebp, dword [esp + 0x438]
mov dword [esp + 0x45c], edx
mov eax, dword [edi + 0x7c]
inc ebp
cmp ebp, eax
jl 0x6003f674
mov edx, dword [esp + 0x47c]
mov eax, dword [edx + 0xc]
jmp 0x6003fb70
mov esi, dword [ebx + 0x34]
xor eax, eax
mov ebp, dword [esi]
xor edx, edx
test ebp, ebp
mov dword [esp + 0x44c], edx
jle 0x6003f89a
cmp ebp, 6
jl 0x6003f878
lea ecx, [ebp - 6]
mov ebx, edx
lea esi, [esi]
lea edi, [edi]
add ebx, dword [esp + eax*4 + 0x41c]
add ebx, dword [esp + eax*4 + 0x420]
add ebx, dword [esp + eax*4 + 0x424]
add ebx, dword [esp + eax*4 + 0x428]
add ebx, dword [esp + eax*4 + 0x42c]
add eax, 5
cmp eax, ecx
jle 0x6003f840
mov dword [esp + 0x44c], ebx
mov ebx, dword [esp + 0x480]
mov ebx, dword [esp + 0x44c]
nop
add ebx, dword [esp + eax*4 + 0x41c]
inc eax
cmp eax, ebp
jl 0x6003f880
mov dword [esp + 0x44c], ebx
mov ebx, dword [esp + 0x480]
xor ebp, ebp
mov eax, dword [edi + 0x7c]
test eax, eax
jle 0x6003fb23
mov edx, dword [esi + 8]
mov edi, ebp
xor ebx, ebx
test edx, edx
jle 0x6003fb1a
lea ecx, [ebx + ebx]
mov dword [esp + 0x440], ebx
add ecx, ecx
mov dword [esp + 0x458], edi
add ecx, ecx
mov dword [esp + 0x45c], ecx
lea eax, [edx + edx]
mov ecx, dword [esp + 0x458]
add eax, eax
mov ebx, dword [esp + 0x45c]
add eax, eax
mov ebp, dword [esp + 0x478]
imul eax, ecx
add eax, ebx
cmp eax, dword [ebp + 0x50]
jge 0x6003fc10
mov eax, ebp
xor ebx, ebx
mov ecx, dword [eax + 0x78]
mov dword [esp + 0x42c], ebx
test ecx, ecx
jle 0x6003fae1
mov ebp, dword [esp + 0x450]
mov edi, dword [esp + 0x458]
add ebp, ebp
mov ebx, dword [esp + 0x454]
imul edi, ebp
add ebx, ebx
mov ebp, dword [esp + 0x42c]
mov dword [esp + 0x43c], edi
mov edi, dword [esp + 0x44c]
mov dword [esp + 0x438], ebx
shl edi, 7
imul ebx, ebp
mov dword [esp + 0x434], edi
mov eax, dword [esi + 4]
mov dword [esp + 0x448], ecx
mov ecx, dword [esp + 0x440]
mov ebp, dword [esp + 0x434]
mov edi, edx
shl edi, 7
imul edi, ecx
add ebp, edi
mov ecx, dword [esp + 0x478]
mov edi, dword [esp + 0x43c]
mov ecx, dword [ecx + 0x4de4]
add ecx, edi
add ecx, ebx
add ebp, ecx
xor edi, edi
test eax, eax
mov dword [esp + 0x430], ebp
jle 0x6003faba
lea ebp, [edi + edi]
mov dword [esp + 0x444], ebx
add ebp, ebp
mov ebx, dword [esp + 0x480]
add ebp, ebp
lea esi, [esi]
lea edx, [eax + eax]
add edx, edx
add edx, edx
mov ecx, dword [esp + 0x42c]
imul edx, ecx
add edx, ebp
mov ecx, dword [esp + 0x478]
cmp edx, dword [ecx + 0x4c]
jge 0x6003fbf2
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x6003fa30
mov eax, dword [esp + 0x47c]
mov esi, dword [esi + 0x10]
mov edx, dword [esp + 0x430]
mov dword [esp], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], esi
mov ecx, dword [ebx + 0xc]
mov dword [esp + 8], edx
mov edx, dword [ebx + 0x14]
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
call fcn.6002b910
jmp 0x6003fa79
mov eax, dword [esp + 0x47c]
mov esi, dword [esi + 0x10]
mov edx, dword [esp + 0x430]
mov dword [esp], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], esi
mov ecx, dword [ebx + 0xc]
mov dword [esp + 8], edx
mov edx, dword [ebx + 0x14]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x418]
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
call fcn.6002bae0
mov edx, dword [esp + 0x430]
mov esi, dword [ebx + 0x34]
add edx, 0x80
mov eax, dword [esi + 4]
inc edi
mov dword [esp + 0x430], edx
add ebp, 8
cmp edi, eax
jl 0x6003f9c0
mov ecx, dword [esp + 0x478]
mov ebx, dword [esp + 0x444]
mov ecx, dword [ecx + 0x78]
mov edx, dword [esi + 8]
mov dword [esp + 0x448], ecx
mov ecx, dword [esp + 0x42c]
mov ebp, dword [esp + 0x438]
inc ecx
add ebx, ebp
mov ebp, dword [esp + 0x448]
mov dword [esp + 0x42c], ecx
cmp ecx, ebp
jl 0x6003f961
mov eax, dword [esp + 0x45c]
mov ecx, dword [esp + 0x440]
add eax, 8
inc ecx
mov dword [esp + 0x45c], eax
mov dword [esp + 0x440], ecx
cmp ecx, edx
jl 0x6003f8d2
mov ecx, dword [esp + 0x478]
mov edi, dword [esp + 0x458]
mov eax, dword [ecx + 0x7c]
inc edi
cmp edi, eax
jl 0x6003f8ac
mov eax, dword [esp + 0x47c]
mov esi, dword [esi + 0x10]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.6002b230
mov eax, dword [esp + 0x47c]
lea edx, [esp + 0x20]
lea ecx, [esp + 0x418]
mov dword [esp], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
call fcn.6002b470
mov edx, dword [esp + 0x47c]
mov dword [esp + 0x418], 0
mov eax, dword [edx + 0xc]
cmp eax, 8
jge 0x6003fbbd
mov eax, dword [esp + 0x47c]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x6003fbd5
mov edx, dword [esp + 0x47c]
mov eax, dword [edx + 0x10]
lea ecx, [eax + 1]
mov bl, byte [edx]
mov dword [edx + 0x10], ecx
mov byte [eax], bl
inc dword [edx + 0x1c]
mov ecx, dword [edx + 0x34]
xor ebx, ebx
cmp ecx, 2
mov dword [edx], ebx
mov dword [edx + 4], ebx
jle 0x6003fbb4
mov eax, edx
mov dword [eax + 0xc], 0
jmp 0x6003fbbd
mov eax, edx
mov dword [eax + 0xc], 8
call dword [0x60053c64]
mov eax, dword [esp + 0x460]
add esp, 0x464
pop ebx
pop ebp
pop esi
pop edi
ret
mov edx, dword [esp + 0x47c]
mov eax, dword [edx + 0x10]
cmp eax, dword [edx + 0x18]
jb 0x6003fb8d
mov eax, 0xffffffe4
mov dword [esp + 0x460], eax
jmp 0x6003fbbd
mov ebx, dword [esp + 0x444]
mov ecx, dword [ecx + 0x78]
mov edx, dword [esi + 8]
mov dword [esp + 0x448], ecx
jmp 0x6003faba
mov ecx, ebp
mov edi, dword [esp + 0x458]
mov eax, dword [ecx + 0x7c]
jmp 0x6003fb1a