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

Disassembly:
push 0xffffffffffffffff
push 0x69c770
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x818794]
push ebx
mov ebx, dword [0x6e2710]
push ebp
lea ebp, [eax + 0x7d8]
mov eax, dword [0x6e270c]
mov dword [esp + 0xc], ecx
push esi
mov ecx, eax
lea esi, [eax + eax*2]
mov eax, 0xcccccccd
push edi
mul ebx
mov edi, edx
lea edx, [ebx*4]
mov eax, 0xcccccccd
mov ebx, dword [esp + 0x14]
mul edx
mov eax, dword [0x8189b4]
shr ecx, 2
shr esi, 2
shr edi, 2
shr edx, 2
add eax, 0x194
mov dword [eax], ecx
mov dword [eax + 4], edi
mov edi, 4
mov dword [eax + 8], esi
lea esi, [ebx + 0xec]
mov dword [eax + 0xc], edx
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x6059e0
mov edx, dword [ecx]
push 1
call dword [edx + 0x3c]
mov ecx, dword [esi]
test ecx, ecx
je 0x6059ed
mov eax, dword [ecx]
push 1
call dword [eax + 0x3c]
add esi, 4
dec edi
jne 0x6059d2
mov ecx, dword [ebp + 0x58]
mov edx, dword [ebp + 0x68]
mov eax, dword [ebp + 0x60]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp + 0x70]
mov dword [esp + 0x1c], edx
mov edx, dword [ebp + 0x78]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
lea edi, [esp + 0x18]
lea esi, [ebx + 0x120]
mov ebp, 5
mov ecx, dword [esi - 0x14]
test ecx, ecx
je 0x605a33
mov eax, dword [ecx]
push 1
call dword [eax + 0x3c]
mov ecx, dword [esi]
test ecx, ecx
je 0x605a40
mov edx, dword [ecx]
push 1
call dword [edx + 0x3c]
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x605a4f
mov edx, dword [edi]
mov eax, dword [ecx]
push edx
call dword [eax + 0x7c]
add esi, 4
add edi, 4
dec ebp
jne 0x605a25
mov ecx, dword [ebx + 0x160]
test ecx, ecx
je 0x605a6e
mov edx, dword [ebx + 0xb0]
mov eax, dword [ecx]
push edx
call dword [eax + 0x7c]
mov ecx, dword [ebx + 0x15c]
xor eax, eax
cmp ecx, eax
je 0x605b19
mov cl, byte [esp + 0x13]
mov edi, 0x6dfe28
mov byte [esp + 0x18], cl
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
lea ecx, [esp + 0x1c]
push ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call fcn.00403350
test al, al
je 0x605ad4
mov edi, dword [esp + 0x1c]
mov ecx, ebp
mov edx, ecx
mov esi, 0x6dfe28
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call fcn.00403330
mov ecx, dword [ebx + 0x15c]
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x38], 0
mov eax, dword [ecx]
call dword [eax + 0x78]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x34], 0xffffffff
test eax, eax
je 0x605b19
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x605b10
cmp al, 0xff
je 0x605b10
dec al
mov byte [ecx], al
jmp 0x605b19
push ecx
call fcn.006713a0
add esp, 4
mov ecx, dword [ebx + 0x180]
xor eax, eax
cmp ecx, eax
je 0x605bd5
mov cl, byte [esp + 0x13]
mov edi, 0x6dfe28
mov byte [esp + 0x18], cl
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
lea ecx, [esp + 0x1c]
push ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call fcn.00403350
test al, al
je 0x605b81
mov edi, dword [esp + 0x1c]
mov ecx, ebx
mov edx, ecx
mov esi, 0x6dfe28
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], ebx
mov byte [eax + ebx], 0
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x38], 1
mov ecx, dword [esi + 0x180]
mov edx, dword [ecx]
call dword [edx + 0x74]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x34], 0xffffffff
test eax, eax
je 0x605bca
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x605bc1
cmp al, 0xff
je 0x605bc1
dec al
mov byte [ecx], al
jmp 0x605bca
push ecx
call fcn.006713a0
add esp, 4
mov ecx, dword [esi + 0x180]
call fcn.004056c0
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret