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

Disassembly:
sub esp, 0x38
push ebp
mov ebp, dword [esp + 0x40]
push esi
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x603cad
push eax
call dword [0xb2665c]
add esp, 4
mov eax, dword [ebp + 0x18]
cmp byte [eax + 9], 0
je 0x603cc8
inc dword [eax + 0xc]
cmp byte [eax + 0xa], 0
jne 0x603cc8
push eax
call fcn.0060e760
add esp, 4
mov eax, dword [ebp]
test eax, eax
je 0x603ce0
mov eax, dword [eax + 0xc]
test eax, eax
je 0x603ce0
push eax
call dword [0xb2665c]
add esp, 4
mov esi, dword [ebp + 0x1c]
test esi, esi
je 0x603cf5
cmp esi, 5
je 0x603cf5
cmp esi, 6
jne 0x60441c
cmp dword [ebp], 0
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x3c], 0
mov edx, dword [ecx + 4]
mov eax, dword [edx]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 4]
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 8], eax
je 0x603d28
cmp byte [edx + 0x14], 2
jne 0x603d28
mov esi, 5
jmp 0x603d44
xor esi, esi
cmp byte [ecx + 8], 0
jne 0x603d44
push esi
push ecx
call fcn.00641960
add esp, 8
mov dword [esp + 0x3c], 1
mov esi, eax
cmp dword [ebp + 0xc], 0
jne 0x603d6e
test esi, esi
jne 0x603da3
mov eax, dword [ebp + 0x18]
push esi
push 0xffffffffffffffff
mov eax, dword [eax + 4]
push dword [eax + 0x20]
push dword [ebp + 4]
call fcn.00644870
add esp, 0x10
cmp eax, 7
jne 0x603d72
mov esi, eax
jmp 0x603da3
test esi, esi
jne 0x603da3
cmp dword [ebp + 0xc], 0
jne 0x603da3
push 2
push dword [ebp + 4]
call fcn.00641960
mov esi, eax
add esp, 8
test esi, esi
jne 0x603da3
lea eax, [ebp + 8]
mov dword [ebp + 0xc], 1
push eax
push 1
push dword [ebp + 4]
call fcn.006429c0
add esp, 0xc
mov eax, dword [ebp + 0x18]
push ebx
push edi
mov edx, dword [eax + 4]
mov eax, dword [ebp + 4]
mov ebx, dword [edx + 0x20]
mov eax, dword [eax + 4]
mov dword [esp + 0x4c], ebx
mov ecx, dword [eax + 0x20]
mov eax, dword [eax]
mov dword [esp + 0x18], ecx
movzx eax, byte [eax + 5]
mov dword [esp + 0x34], eax
test esi, esi
jne 0x603dd9
cmp eax, 5
jne 0x603dd9
cmp ebx, ecx
je 0x603dd9
lea esi, [eax + 3]
mov edx, dword [edx + 0x2c]
xor ebx, ebx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x50]
test eax, eax
js 0x603dee
cmp ebx, eax
jge 0x603e5f
mov edi, dword [ebp + 0x10]
cmp edi, edx
ja 0x603e5f
test esi, esi
jne 0x603e9a
mov eax, dword [ebp + 0x18]
xor edx, edx
mov ecx, dword [eax + 4]
mov eax, dword [0xb26710]
div dword [ecx + 0x20]
inc eax
cmp edi, eax
je 0x603e55
push 2
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x2c]
push edi
push eax
mov eax, dword [eax + 0xc8]
call eax
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x603e55
mov eax, dword [esp + 0x1c]
push esi
push dword [eax + 4]
push edi
push ebp
call fcn.0060bb70
mov esi, eax
add esp, 0x10
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x603e55
push eax
call fcn.0065dcd0
add esp, 4
inc dword [ebp + 0x10]
inc ebx
mov edx, dword [esp + 0x14]
jmp 0x603de2
test esi, esi
jne 0x603e9a
mov eax, edx
mov dword [ebp + 0x24], edx
sub eax, dword [ebp + 0x10]
inc eax
mov dword [ebp + 0x20], eax
cmp dword [ebp + 0x10], edx
ja 0x603ea3
cmp dword [ebp + 0x28], esi
jne 0x604388
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x58]
mov dword [ebp + 0x2c], eax
mov dword [ecx + 0x58], ebp
mov dword [ebp + 0x28], 1
jmp 0x604388
cmp esi, 0x65
jne 0x604388
test edx, edx
jne 0x603efb
mov edi, dword [ebp + 4]
cmp byte [edi + 9], dl
je 0x603ec0
inc dword [edi + 0xc]
cmp byte [edi + 0xa], dl
jne 0x603ec0
push edi
call fcn.0060e760
add esp, 4
mov eax, dword [edi + 4]
mov dword [eax + 0x2c], 0
push dword [edi + 4]
call fcn.00633660
add esp, 4
mov esi, eax
cmp byte [edi + 9], 0
je 0x603eeb
dec dword [edi + 0xc]
jne 0x603eeb
push edi
call fcn.0067e860
add esp, 4
mov ebx, 1
test esi, esi
je 0x603eff
cmp esi, 0x65
jne 0x603f61
jmp 0x603eff
mov ebx, dword [esp + 0x14]
mov edi, dword [ebp + 4]
mov eax, dword [ebp + 8]
inc eax
mov dword [esp + 0x40], eax
cmp byte [edi + 9], 0
mov esi, dword [edi + 4]
je 0x603f25
inc dword [edi + 0xc]
cmp byte [edi + 0xa], 0
jne 0x603f25
push edi
call fcn.0060e760
add esp, 4
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x38]
push dword [eax + 0x48]
mov dword [esp + 0x3c], ecx
call fcn.0065ddc0
mov esi, eax
add esp, 4
test esi, esi
jne 0x603f4d
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x40]
bswap eax
mov dword [ecx + 0x28], eax
cmp byte [edi + 9], 0
je 0x603f61
dec dword [edi + 0xc]
jne 0x603f61
push edi
call fcn.0067e860
add esp, 4
test esi, esi
jne 0x604388
mov eax, dword [ebp]
test eax, eax
je 0x603f79
push eax
call fcn.006622c0
add esp, 4
cmp dword [esp + 0x34], 5
jne 0x603ffd
mov eax, dword [ebp + 4]
mov ecx, 0xffdf
push 0
push eax
mov dword [esp + 0x48], eax
mov edi, dword [eax + 4]
and word [edi + 0x16], cx
call fcn.00641960
mov esi, eax
add esp, 8
test esi, esi
jne 0x603fec
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 0x38]
mov dword [esp + 0x38], eax
cmp byte [eax + 0x12], 2
jne 0x603fba
cmp byte [eax + 0x13], 2
je 0x603fec
push 2
push dword [esp + 0x44]
call fcn.00641960
mov esi, eax
add esp, 8
test esi, esi
jne 0x603fec
mov eax, dword [edi + 0xc]
push dword [eax + 0x48]
call fcn.0065ddc0
mov esi, eax
add esp, 4
test esi, esi
jne 0x603fec
mov eax, dword [esp + 0x38]
mov word [eax + 0x12], 0x202
mov eax, 0xffdf
and word [edi + 0x16], ax
test esi, esi
jne 0x604388
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x4c]
cmp ecx, edi
jge 0x604036
mov eax, edi
cdq
idiv ecx
mov ecx, eax
lea eax, [ecx - 1]
add eax, ebx
cdq
idiv ecx
mov ecx, dword [ebp + 4]
xor edx, edx
mov edi, eax
mov eax, dword [0xb26710]
mov ecx, dword [ecx + 4]
div dword [ecx + 0x20]
mov ecx, dword [esp + 0x4c]
inc eax
cmp edi, eax
jne 0x604040
dec edi
jmp 0x604040
mov eax, ecx
cdq
idiv edi
mov edi, eax
imul edi, ebx
cmp ecx, dword [esp + 0x18]
jge 0x6042db
mov eax, ecx
cdq
mov ecx, eax
mov dword [esp + 0x1c], edx
push dword [esp + 0x1c]
mov eax, ebx
mov dword [esp + 0x2c], ecx
cdq
push ecx
push edx
push eax
call fcn.00519690
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x40], edx
mov ebx, dword [eax + 0x3c]
mov dword [esp + 0x38], ebx
mov ebx, dword [eax + 0x18]
lea esp, [esp]
cmp edi, ebx
ja 0x6040dd
mov eax, dword [ebp + 4]
xor edx, edx
mov ecx, dword [eax + 4]
mov eax, dword [0xb26710]
div dword [ecx + 0x20]
inc eax
cmp edi, eax
je 0x6040d6
push 0
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x18]
push edi
push eax
mov eax, dword [eax + 0xc8]
call eax
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x6040d6
push dword [esp + 0x20]
call fcn.0065ddc0
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x6040d6
push eax
call fcn.0065dcd0
add esp, 4
inc edi
test esi, esi
je 0x604080
jmp 0x6040f3
test esi, esi
jne 0x6040f3
mov eax, dword [esp + 0x10]
push 1
push esi
push eax
call fcn.0065c700
add esp, 0xc
mov esi, eax
mov eax, dword [0xb26710]
add eax, dword [esp + 0x18]
cdq
mov ecx, eax
mov eax, edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x20], eax
cmp eax, edx
jg 0x60411d
jl 0x60412b
mov eax, dword [esp + 0x14]
cmp ecx, eax
jae 0x604121
jmp 0x60412b
mov eax, dword [esp + 0x14]
mov ecx, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x20], edx
mov eax, dword [0xb26710]
add eax, dword [esp + 0x4c]
cdq
mov dword [esp + 0x30], edx
mov ebx, eax
mov dword [esp + 0x2c], ebx
mov edi, edx
test esi, esi
jne 0x604388
mov eax, dword [esp + 0x28]
lea ecx, [ecx]
cmp edi, dword [esp + 0x20]
jg 0x604236
jl 0x604164
cmp ebx, ecx
jae 0x604236
push 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push ecx
push dword [esp + 0x24]
push eax
push edi
push ebx
call fcn.005195e0
inc eax
push eax
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [eax + 0xc8]
call eax
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x6041b5
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x18]
push edi
push ebx
push dword [esp + 0x54]
mov ecx, dword [edx]
push dword [eax + 4]
push edx
mov eax, dword [ecx + 0xc]
call eax
add esp, 0x14
mov esi, eax
mov edx, dword [esp + 0x18]
test edx, edx
je 0x604213
test byte [edx + 0x1c], 0x20
je 0x60420a
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov edi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov ebx, dword [edi]
cdq
push edx
push eax
push 0
push ecx
call fcn.00519690
push edx
push eax
mov eax, dword [ebx + 0x48]
push edi
call eax
mov ebx, dword [esp + 0x3c]
add esp, 0x10
mov edi, dword [esp + 0x30]
jmp 0x604213
push edx
call fcn.0065ec30
add esp, 4
mov eax, dword [esp + 0x28]
add ebx, eax
mov ecx, dword [esp + 0x34]
adc edi, dword [esp + 0x1c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], edi
test esi, esi
je 0x604150
jmp 0x604388
test esi, esi
jne 0x604388
mov ebx, dword [esp + 0x38]
lea ecx, [esp + 0x38]
push ecx
push ebx
mov eax, dword [ebx]
mov eax, dword [eax + 0x18]
call eax
mov esi, eax
add esp, 8
test esi, esi
jne 0x604388
mov ecx, dword [esp + 0x40]
cmp dword [esp + 0x3c], ecx
jl 0x604284
jg 0x604272
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x38], eax
jbe 0x604284
mov eax, dword [ebx]
push ecx
push dword [esp + 0x18]
mov eax, dword [eax + 0x10]
push ebx
call eax
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x604388
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebx + 0x3c]
cmp dword [ecx], esi
je 0x6042b8
mov eax, dword [ecx]
push esi
push 0x15
push ecx
mov eax, dword [eax + 0x28]
call eax
mov esi, eax
add esp, 0xc
cmp esi, 0xc
jne 0x6042b0
xor esi, esi
jmp 0x6042b8
test esi, esi
jne 0x604388
cmp byte [ebx + 7], 0
jne 0x6042f1
movzx ecx, byte [ebx + 0xa]
mov edx, dword [ebx + 0x3c]
test ecx, ecx
je 0x6042d7
mov eax, dword [edx]
push ecx
push edx
mov eax, dword [eax + 0x14]
call eax
add esp, 8
jmp 0x6042ef
xor esi, esi
jmp 0x6042f1
mov eax, dword [esp + 0x10]
push 0
push 0
push eax
mov dword [eax + 0x18], edi
call fcn.0065c700
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x604388
mov edi, dword [ebp + 4]
cmp byte [edi + 8], 0
je 0x604383
cmp byte [edi + 9], 0
je 0x60431e
inc dword [edi + 0xc]
cmp byte [edi + 0xa], 0
jne 0x60431e
push edi
call fcn.0060e760
add esp, 4
cmp byte [edi + 8], 2
jne 0x604366
mov ebx, dword [edi + 4]
push dword [ebx]
call fcn.0065c8b0
mov esi, eax
add esp, 4
test esi, esi
je 0x60434d
cmp byte [edi + 9], 0
je 0x604388
dec dword [edi + 0xc]
jne 0x604388
push edi
call fcn.0067e860
add esp, 4
jmp 0x604388
dec dword [edi + 0x14]
push dword [ebx + 0x3c]
mov byte [ebx + 0x14], 1
call fcn.00641500
add esp, 4
mov dword [ebx + 0x3c], 0
push edi
call fcn.0060e0d0
add esp, 4
cmp byte [edi + 9], 0
je 0x604383
dec dword [edi + 0xc]
jne 0x604383
push edi
call fcn.0067e860
add esp, 4
mov esi, 0x65
cmp dword [esp + 0x44], 0
je 0x60440a
push 0
push dword [ebp + 0x18]
call fcn.00641f50
mov edi, dword [ebp + 0x18]
add esp, 8
cmp byte [edi + 8], 0
je 0x60440a
cmp byte [edi + 9], 0
je 0x6043bd
inc dword [edi + 0xc]
cmp byte [edi + 0xa], 0
jne 0x6043bd
push edi
call fcn.0060e760
add esp, 4
cmp byte [edi + 8], 2
jne 0x6043ed
mov ebx, dword [edi + 4]
push dword [ebx]
call fcn.0065c8b0
add esp, 4
test eax, eax
jne 0x6043f6
dec dword [edi + 0x14]
push dword [ebx + 0x3c]
mov byte [ebx + 0x14], 1
call fcn.00641500
add esp, 4
mov dword [ebx + 0x3c], 0
push edi
call fcn.0060e0d0
add esp, 4
cmp byte [edi + 9], 0
je 0x60440a
dec dword [edi + 0xc]
jne 0x60440a
push edi
call fcn.0067e860
add esp, 4
pop edi
pop ebx
cmp esi, 0xc0a
jne 0x604419
mov esi, 7
mov dword [ebp + 0x1c], esi
mov eax, dword [ebp]
test eax, eax
je 0x604434
mov eax, dword [eax + 0xc]
test eax, eax
je 0x604434
push eax
call dword [0xb26664]
add esp, 4
mov eax, dword [ebp + 0x18]
cmp byte [eax + 9], 0
je 0x60444b
dec dword [eax + 0xc]
jne 0x60444b
push eax
call fcn.0067e860
add esp, 4
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x60445f
push eax
call dword [0xb26664]
add esp, 4
mov eax, esi
pop esi
pop ebp
add esp, 0x38
ret