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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x429f58
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
mov ebp, dword [esp + 0x80]
push esi
push edi
push 0x435148
mov ecx, ebp
call fcn.00408040
xor ebx, ebx
mov ecx, ebp
push ebx
call fcn.004083d0
mov edi, dword [esp + 0x8c]
mov ecx, edi
call fcn.00405100
mov esi, dword [esp + 0x90]
push esi
call fcn.0040c0b0
add esp, 4
test al, al
je 0x401854
push esi
call fcn.0040c320
add esp, 4
push esi
mov ecx, edi
call fcn.00404de0
test al, al
jne 0x401901
mov ecx, dword [esp + 0x98]
call fcn.00404b30
mov al, byte [esp + 0x98]
push ebx
lea ecx, [esp + 0x24]
mov byte [esp + 0x24], al
call fcn.00403550
mov edi, 0x435134
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x80], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x435134
lea ecx, [esp + 0x28]
call fcn.00403aa0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
lea ecx, [esp + 0x28]
call fcn.004039e0
mov eax, dword [esp + 0x24]
cmp eax, ebx
jne 0x4018ce
mov eax, 0x42c1dc
push eax
mov ecx, ebp
call fcn.00408040
push 1
lea ecx, [esp + 0x24]
mov dword [esp + 0x84], 0xffffffff
call fcn.00403550
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
add esp, 0x74
ret
mov esi, dword [esp + 0x94]
push esi
call fcn.0040c0b0
add esp, 4
test al, al
je 0x401d96
xor ecx, ecx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x6c], ecx
push esi
lea ecx, [esp + 0x54]
mov dword [esp + 0x84], 1
call fcn.00404a90
test al, al
jne 0x401a34
mov ecx, edi
call fcn.00405100
mov ecx, dword [esp + 0x98]
call fcn.00404b30
mov dl, byte [esp + 0x98]
push ebx
lea ecx, [esp + 0x24]
mov byte [esp + 0x24], dl
call fcn.00403550
mov edi, 0x435128
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x80], 2
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x435128
lea ecx, [esp + 0x28]
call fcn.00403aa0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
lea ecx, [esp + 0x28]
call fcn.004039e0
mov edi, 0x43511c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x43511c
lea ecx, [esp + 0x28]
call fcn.004039e0
mov eax, dword [esp + 0x24]
cmp eax, ebx
jne 0x4019f0
mov eax, 0x42c1dc
push eax
mov ecx, ebp
call fcn.00408040
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x84], 1
call fcn.00403550
lea ecx, [esp + 0x50]
mov dword [esp + 0x80], 0xffffffff
call fcn.00404b30
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
add esp, 0x74
ret
mov al, byte [esp + 0x98]
push ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0x34], al
call fcn.00403550
lea ecx, [esp + 0x30]
mov byte [esp + 0x80], 3
push ecx
lea ecx, [esp + 0x54]
call fcn.00404b70
mov esi, dword [esp + 0x64]
push 0
mov ecx, ebp
mov bl, al
mov byte [esp + 0x90], 1
mov dword [esp + 0x94], 0
call fcn.004083d0
push esi
push 0
mov ecx, ebp
call fcn.00408400
test esi, esi
je 0x401b3f
mov edx, dword [esp + 0x98]
push edx
call fcn.00401640
add esp, 4
test bl, bl
je 0x401b3f
xor ebp, ebp
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x401ac3
mov ebx, 0x42c1dc
mov dword [esp + 0x90], ebx
jmp 0x401acc
mov dword [esp + 0x90], eax
mov ebx, eax
push ebx
call fcn.00401710
add esp, 4
test al, al
jne 0x401b07
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x50]
push eax
push ecx
push eax
push edx
lea ecx, [esp + 0x64]
call fcn.00404d90
push eax
push ebx
mov ecx, edi
call fcn.00405280
mov byte [esp + 0x8c], al
mov al, byte [esp + 0x8c]
test al, al
je 0x401b3f
lea eax, [esp + 0x30]
lea ecx, [esp + 0x50]
push eax
call fcn.00404ba0
add ebp, 0x64
mov bl, al
mov eax, ebp
mov ecx, dword [esp + 0x88]
cdq
idiv esi
push eax
call fcn.004083d0
test bl, bl
jne 0x401aad
lea ecx, [esp + 0x50]
call fcn.00404b30
mov al, byte [esp + 0x8c]
test al, al
jne 0x401d4f
mov ecx, dword [esp + 0x98]
call fcn.00404b30
mov ecx, edi
call fcn.00405100
mov cl, byte [esp + 0x98]
push 0
mov byte [esp + 0x14], cl
lea ecx, [esp + 0x14]
call fcn.00403550
mov edi, 0x4350fc
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x84], 4
mov ebp, ecx
lea ecx, [esp + 0x14]
push ebp
call fcn.00403b60
test al, al
je 0x401bce
mov edi, dword [esp + 0x14]
mov ecx, ebp
mov edx, ecx
mov esi, 0x4350fc
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 + 0x14]
mov dword [esp + 0x18], ebp
mov byte [eax + ebp], 0
mov ebx, dword [esp + 0x90]
xor ebp, ebp
cmp ebx, ebp
je 0x401c42
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [0x42c1d8]
sub ecx, edx
cmp ecx, esi
ja 0x401bfe
call fcn.0041a780
cmp esi, ebp
jbe 0x401c42
mov edx, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x14]
lea ebp, [edx + esi]
push ebp
call fcn.00403b60
test al, al
je 0x401c40
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push ebp
lea edi, [ecx + eax]
mov ecx, esi
mov edx, ecx
mov esi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.00403b40
xor ebp, ebp
mov edi, 0x43511c
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x18]
repne scasb al, byte es:[edi]
mov eax, dword [0x42c1d8]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x401c67
call fcn.0041a780
cmp esi, ebp
jbe 0x401cae
mov eax, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x14]
lea ebp, [eax + esi]
push ebp
call fcn.00403b60
test al, al
je 0x401cac
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ebp
lea edi, [edx + ecx]
mov ecx, esi
mov eax, ecx
mov esi, 0x43511c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.00403b40
xor ebp, ebp
mov eax, dword [esp + 0x14]
cmp eax, ebp
jne 0x401cbb
mov eax, 0x42c1dc
mov ecx, dword [esp + 0x88]
push eax
call fcn.00408040
mov ecx, dword [esp + 0x14]
cmp ecx, ebp
je 0x401ceb
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x401ce2
cmp al, 0xff
je 0x401ce2
dec al
mov byte [ecx], al
jmp 0x401ceb
push ecx
call fcn.0040c458
add esp, 4
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x14], ebp
cmp ecx, ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
je 0x401d1a
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x401d11
cmp al, 0xff
je 0x401d11
dec al
mov byte [ecx], al
jmp 0x401d1a
push ecx
call fcn.0040c458
add esp, 4
lea ecx, [esp + 0x50]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x80], 0xffffffff
call fcn.00404b30
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
add esp, 0x74
ret
mov eax, dword [esp + 0x34]
xor esi, esi
cmp eax, esi
je 0x401d76
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x401d6d
cmp al, 0xff
je 0x401d6d
dec al
mov byte [ecx], al
jmp 0x401d76
push ecx
call fcn.0040c458
add esp, 4
lea ecx, [esp + 0x50]
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x80], 0xffffffff
call fcn.00404b30
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret