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

Disassembly:
push 0xffffffffffffffff
push 0x6cb8e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
push esi
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x78]
push edi
call fcn.00636660
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x6063bb
push esi
push 0x6ef640
call fcn.006a481c
add esp, 8
test eax, eax
je 0x6063bb
push esi
push 0x6ef6e8
call fcn.006a481c
add esp, 8
test eax, eax
jne 0x6063a8
xor ebx, ebx
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], edi
xor ebp, ebp
mov dword [esp + 0x74], edi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], ebp
mov ecx, dword [esp + 0x7c]
mov byte [esp + 0x74], 2
call fcn.00636660
test eax, eax
je 0x606408
push eax
lea eax, [esp + 0x24]
push eax
mov ecx, 0x1209b50
call fcn.006138f0
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx + 0xa0]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x28]
add ecx, 0x9c
push eax
call fcn.00602cc0
cmp esi, dword [eax]
jne 0x606408
mov ecx, dword [esp + 0x7c]
call fcn.00636660
mov esi, eax
push esi
push str.link
call fcn.006a481c
add esp, 8
test eax, eax
jne 0x606090
mov esi, dword [esp + 0x7c]
mov ecx, esi
call fcn.00636660
test eax, eax
je 0x6063ed
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, 0x1209b50
call fcn.006138f0
mov edx, dword [eax]
mov ecx, esi
mov dword [esp + 0x18], edx
call fcn.00636660
test eax, eax
je 0x6063ed
push eax
lea eax, [esp + 0x30]
push eax
mov ecx, 0x1209bc8
call fcn.00612b10
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
mov ecx, esi
call fcn.00636660
mov esi, eax
jmp 0x60609d
mov eax, dword [0x149e7f8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
push esi
push 0x6ef640
call fcn.006a481c
add esp, 8
test eax, eax
je 0x6063ed
push esi
push 0x6d1230
call fcn.006a481c
add esp, 8
test eax, eax
jne 0x6060d1
mov edx, dword [0x149e7f8]
mov dword [esp + 0x10], edx
jmp 0x6060e7
push esi
lea eax, [esp + 0x34]
push eax
mov ecx, 0x1209c44
call fcn.006138f0
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x50]
test edx, edx
je 0x606126
mov ecx, dword [esp + 0x58]
mov eax, ebx
sub eax, edx
sub ecx, edx
sar eax, 2
sar ecx, 2
cmp eax, ecx
jae 0x606126
mov edx, dword [esp + 0x7c]
push edx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x18]
push ecx
push 1
push ebx
call fcn.00602bd0
add esp, 0x14
add ebx, 4
mov dword [esp + 0x54], ebx
jmp 0x60613b
lea edx, [esp + 0x10]
push edx
push 1
push ebx
lea ecx, [esp + 0x58]
call fcn.006039e0
mov ebx, dword [esp + 0x54]
mov ecx, dword [esp + 0x7c]
call fcn.00636660
mov esi, eax
push esi
push 0x6d1230
call fcn.006a481c
add esp, 8
test eax, eax
jne 0x606163
mov eax, dword [0x149e7f8]
mov dword [esp + 0x10], eax
jmp 0x606179
push esi
lea ecx, [esp + 0x38]
push ecx
mov ecx, 0x1209c44
call fcn.006138f0
mov edx, dword [eax]
mov dword [esp + 0x10], edx
test ebp, ebp
mov esi, dword [esp + 0x44]
je 0x6061b8
mov ecx, dword [esp + 0x48]
mov eax, esi
sub eax, ebp
sub ecx, ebp
sar eax, 2
sar ecx, 2
cmp eax, ecx
jae 0x6061b8
mov eax, dword [esp + 0x7c]
push eax
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x18]
push edx
push 1
push esi
call fcn.00602bd0
add esp, 0x14
add esi, 4
mov dword [esp + 0x44], esi
jmp 0x6061cd
lea eax, [esp + 0x10]
push eax
push 1
push esi
lea ecx, [esp + 0x48]
call fcn.006039e0
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0x7c]
call fcn.00636660
mov esi, eax
push esi
push 0x6ef6dc
call fcn.006a481c
add esp, 8
test eax, eax
jne 0x606241
mov ecx, dword [esp + 0x7c]
call fcn.00636660
mov esi, eax
push esi
push 0x6d1230
call fcn.006a481c
add esp, 8
test eax, eax
jne 0x60621e
mov ecx, dword [0x149e7f8]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x7c]
call fcn.00636660
mov esi, eax
jmp 0x60624b
push esi
lea edx, [esp + 0x3c]
push edx
mov ecx, 0x1209c44
call fcn.006138f0
mov eax, dword [eax]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x10], eax
call fcn.00636660
mov esi, eax
jmp 0x60624b
mov ecx, dword [0x149e7f8]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x60]
test edx, edx
je 0x60628a
mov ecx, dword [esp + 0x68]
mov eax, edi
sub eax, edx
sub ecx, edx
sar eax, 2
sar ecx, 2
cmp eax, ecx
jae 0x60628a
mov edx, dword [esp + 0x7c]
push edx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x18]
push ecx
push 1
push edi
call fcn.00602bd0
add esp, 0x14
add edi, 4
mov dword [esp + 0x64], edi
jmp 0x60629f
lea edx, [esp + 0x10]
push edx
push 1
push edi
lea ecx, [esp + 0x68]
call fcn.006039e0
mov edi, dword [esp + 0x64]
push esi
push 0x6ef640
call fcn.006a481c
add esp, 8
test eax, eax
jne 0x6060b3
mov eax, dword [esp + 0x50]
xor edi, edi
cmp eax, edi
je 0x6063ed
sub ebx, eax
sar ebx, 2
cmp ebx, edi
je 0x6063ed
push 0x18
call fcn.006918d6
add esp, 4
mov esi, eax
push ebx
mov ecx, esi
call fcn.006022f0
mov ecx, dword [esi]
xor eax, eax
cmp ecx, edi
jle 0x60632b
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0x60]
sub edx, ebp
sub edi, ebp
jmp 0x606300
mov ebx, dword [esi + 0xc]
lea ecx, [ebp + eax*4]
mov ebp, dword [ecx + edx]
mov dword [ebx + eax*4], ebp
mov ebp, dword [ecx]
mov ebx, dword [esi + 0x10]
mov dword [ebx + eax*4], ebp
mov ecx, dword [ecx + edi]
mov ebx, dword [esi + 0x14]
mov ebp, dword [esp + 0x40]
mov dword [ebx + eax*4], ecx
mov ecx, dword [esi]
inc eax
cmp eax, ecx
jl 0x606300
xor edi, edi
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x18]
add ecx, 0x9c
mov dword [esi + 4], edx
mov dword [esi + 8], eax
call fcn.00604d80
mov dword [eax], esi
mov eax, dword [esp + 0x60]
cmp eax, edi
je 0x606360
push eax
call fcn.00692701
add esp, 4
cmp ebp, edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
je 0x606379
push ebp
call fcn.00692701
add esp, 4
mov edx, dword [esp + 0x50]
push edx
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x78], 0xffffffff
call fcn.00692701
add esp, 4
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
xor edi, edi
mov ecx, dword [esp + 0x7c]
call fcn.00636660
mov esi, eax
cmp esi, edi
jne 0x605f75
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0xa4]
mov ecx, 1
cmp ecx, edx
pop edi
sbb dl, dl
pop esi
inc dl
pop ebp
mov byte [eax + 0xb4], dl
mov al, cl
pop ebx
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
add esp, 0x68
ret 4
lea ecx, [esp + 0x5c]
call fcn.0061d6d0
lea ecx, [esp + 0x3c]
call fcn.0061d6d0
lea ecx, [esp + 0x4c]
call fcn.0061d6d0
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret 4