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

Disassembly:
push 0xffffffffffffffff
push 0x41e103
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe4
mov eax, dword [esp + 0xf4]
push ebx
push ebp
push esi
xor ebp, ebp
push edi
mov dword [esp + 0x3c], ecx
push ebp
push eax
lea ecx, [esp + 0xa4]
call fcn.00407f80
mov ebx, dword [esp + 0xb4]
mov esi, dword [esp + 0xb8]
cmp ebx, ebp
mov dword [esp + 0xfc], ebp
jne 0x4010f9
mov dword [esp + 0x20], ebp
jmp 0x401111
mov ecx, esi
mov eax, 0x2aaaaaab
sub ecx, ebx
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov dword [esp + 0x20], edx
mov edi, dword [esp + 0x20]
cmp edi, 1
jg 0x401138
lea ecx, [esp + 0x9c]
mov dword [esp + 0xfc], 0xffffffff
call fcn.00408ed0
xor al, al
jmp 0x40178c
cmp ebx, ebp
jne 0x401140
xor edx, edx
jmp 0x401152
sub esi, ebx
mov eax, 0x2aaaaaab
imul esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jbe 0x40115c
add ebx, 0xc
jmp 0x401162
mov dword [esp + 0x24], ebp
mov ebx, ebp
mov esi, 1
cmp edi, esi
jle 0x401773
mov ecx, dword [ebx]
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
cmp al, 0x20
je 0x40117f
cmp al, 9
jne 0x401182
inc ecx
jmp 0x401171
cmp byte [ecx], 0
jne 0x401197
mov ecx, dword [ebx + 0xc]
add ebx, 0xc
inc esi
mov dword [esp + 0x10], ecx
jmp 0x40176b
lea edx, [esp + 0x10]
push 0x4240a4
push edx
mov dword [esp + 0x38], ebp
mov byte [esp + 0x1d], 0
mov dword [esp + 0x48], 0xffffffff
call section..text
add esp, 8
test al, al
je 0x40175e
push 0x34
call fcn.00419780
mov ebp, eax
add esp, 4
mov dword [esp + 0x38], ebp
xor eax, eax
cmp ebp, eax
je 0x40120b
mov dword [ebp], eax
mov dword [ebp + 4], eax
mov dword [ebp + 8], 0xffffffff
mov dword [ebp + 0xc], eax
mov byte [ebp + 0x10], al
lea eax, [esp + 0x2f]
lea ecx, [esp + 0x16]
push eax
push ecx
lea ecx, [ebp + 0x18]
mov byte [esp + 0x104], 2
call fcn.00402010
mov dword [esp + 0x1c], ebp
jmp 0x40120f
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x1c]
push edx
mov ecx, ebp
mov byte [esp + 0x100], 0
call fcn.00407480
mov eax, dword [ebx + 0xc]
add ebx, 0xc
inc esi
mov dword [esp + 0x10], eax
cmp esi, edi
mov dword [esp + 0x18], esi
jge 0x4016f5
lea ecx, [esp + 0x10]
push 0x424090
push ecx
call section..text
add esp, 8
neg al
sbb eax, eax
neg eax
test al, al
mov byte [esp + 0x17], al
jne 0x401278
lea edx, [esp + 0x10]
push 0x42407c
push edx
call section..text
add esp, 8
test al, al
je 0x4016f1
mov cl, byte [esp + 0x16]
mov al, byte [esp + 0x16]
mov byte [esp + 0x45], cl
lea ecx, [esp + 0x44]
mov byte [esp + 0x44], al
mov byte [esp + 0x4c], 0
call fcn.00403080
mov eax, dword [esp + 0x10]
mov byte [esp + 0xfc], 3
cmp byte [eax], 0x22
jne 0x401374
inc eax
push 0x22
push eax
mov dword [esp + 0x18], eax
call fcn.004196c0
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x401374
mov byte [ebp], 0
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
mov esi, edi
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.00419780
mov edx, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x34], edx
lea ecx, [esp + 0x34]
lea edx, [esp + 0xc8]
push ecx
push edx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x104], 4
call fcn.004023b0
mov eax, dword [esp + 0x34]
mov byte [esp + 0xfc], 3
push eax
call fcn.004192d0
lea eax, [ebp + 1]
add esp, 4
mov dword [esp + 0x10], eax
mov cl, byte [eax]
test cl, cl
je 0x401365
movsx ecx, cl
push ecx
call fcn.00419380
add esp, 4
test eax, eax
mov eax, dword [esp + 0x10]
je 0x401365
inc eax
mov dword [esp + 0x10], eax
mov cl, byte [eax]
test cl, cl
jne 0x401346
mov cl, byte [eax]
mov esi, dword [esp + 0x18]
cmp cl, 0x22
je 0x4012ab
lea edx, [esp + 0x2e]
lea eax, [esp + 0x2d]
push edx
push 0
push eax
lea ecx, [esp + 0x84]
call fcn.00402370
mov al, byte [esp + 0x17]
xor ecx, ecx
test al, al
sete cl
lea edx, [esp + 0x44]
mov dword [esp + 0x74], ecx
push edx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x100], 5
call fcn.00401fd0
lea eax, [esp + 0x2b]
lea ecx, [esp + 0x2c]
push eax
push 0
push ecx
lea ecx, [esp + 0x98]
mov byte [esp + 0x108], 6
call fcn.00403b50
lea edx, [esp + 0x8c]
lea eax, [esp + 0x74]
push edx
push eax
lea ecx, [esp + 0xd8]
mov byte [esp + 0x104], 7
call fcn.00402900
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0xc0]
push eax
push ecx
lea ecx, [edx + 0x18]
mov byte [esp + 0x104], 8
call fcn.004027b0
mov ebp, dword [eax]
lea ecx, [esp + 0xd0]
mov byte [esp + 0xfc], 7
call fcn.00402290
lea ecx, [esp + 0x8c]
mov byte [esp + 0xfc], 6
call fcn.00402230
add ebp, 0x20
lea ecx, [esp + 0x78]
mov dword [esp + 0x38], ebp
mov byte [esp + 0xfc], 3
call fcn.00401f70
mov edi, dword [esp + 0x20]
mov eax, dword [ebx + 0xc]
add ebx, 0xc
inc esi
cmp esi, edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], eax
jge 0x401684
lea ecx, [esp + 0x10]
push 0x424074
push ecx
call section..text
add esp, 8
test al, al
je 0x4015ef
mov eax, dword [esp + 0x10]
mov ebx, eax
mov cl, byte [eax]
test cl, cl
je 0x4014b5
movsx edx, cl
push edx
call fcn.00419380
add esp, 4
test eax, eax
mov eax, dword [esp + 0x10]
jne 0x4014b5
inc eax
mov dword [esp + 0x10], eax
mov cl, byte [eax]
test cl, cl
jne 0x401496
mov byte [eax], 0
mov edi, dword [esp + 0x10]
inc edi
or ecx, 0xffffffff
mov dword [esp + 0x10], edi
mov edi, ebx
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x30]
not ecx
dec ecx
cmp ecx, eax
jbe 0x4014e5
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x10]
movsx ecx, byte [eax]
push ecx
call fcn.00419380
add esp, 4
test eax, eax
je 0x401512
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
movsx edx, byte [eax]
push edx
call fcn.00419380
add esp, 4
test eax, eax
jne 0x4014f9
mov eax, dword [esp + 0x10]
push 0
push 0
push eax
call fcn.00419690
add esp, 0xc
mov edi, eax
push 0x4277e8
call fcn.00402770
mov esi, eax
add esp, 4
mov dword [esp + 0x70], esi
push esi
mov byte [esp + 0x100], 9
mov dword [esp + 0x58], edi
call fcn.00402770
add esp, 4
mov dword [esp + 0x58], eax
lea ecx, [esp + 0x54]
lea edx, [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov byte [esp + 0x104], 0xa
call fcn.00403b80
lea eax, [esp + 0x60]
lea ecx, [esp + 0x5c]
push eax
push ecx
lea ecx, [esp + 0x6c]
call fcn.00418590
mov edx, dword [esp + 0x58]
mov ebp, dword [esp + 0x64]
push edx
call fcn.004192d0
add esp, 4
mov byte [esp + 0xfc], 3
push esi
call fcn.004192d0
mov eax, dword [ebp + 0x10]
add esp, 4
push eax
call fcn.004192d0
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.00419780
mov edx, eax
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
add esp, 4
mov ebx, dword [esp + 0x24]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x18]
mov dword [ebp + 0x10], edx
jmp 0x401665
lea ecx, [esp + 0x10]
push 0x424060
push ecx
call section..text
add esp, 8
test al, al
je 0x40160c
mov byte [esp + 0x15], 1
jmp 0x401665
lea edx, [esp + 0x10]
push 0x424054
push edx
call section..text
add esp, 8
test al, al
je 0x401639
mov eax, dword [esp + 0x10]
push 0
push 0
push eax
call fcn.00419690
add esp, 0xc
mov dword [esp + 0x40], eax
jmp 0x401665
lea ecx, [esp + 0x10]
push 0x424044
push ecx
call section..text
add esp, 8
test al, al
jne 0x401684
lea edx, [esp + 0x10]
push 0x424030
push edx
call section..text
add esp, 8
test al, al
jne 0x401684
mov edi, dword [esp + 0x20]
mov eax, dword [ebx + 0xc]
add ebx, 0xc
inc esi
cmp esi, edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], eax
jl 0x401470
mov ecx, dword [ebx + 0xc]
mov eax, dword [esp + 0x48]
add ebx, 0xc
mov dword [esp + 0x10], ecx
mov ecx, dword [eax]
push eax
lea edx, [esp + 0x70]
inc esi
push ecx
push edx
lea ecx, [esp + 0x50]
mov dword [esp + 0x24], esi
mov byte [esp + 0x108], 0
call fcn.00402500
mov eax, dword [esp + 0x48]
push eax
call fcn.004192d0
mov eax, dword [0x4277e4]
add esp, 4
xor ebp, ebp
dec eax
mov dword [esp + 0x48], ebp
mov dword [esp + 0x50], ebp
mov dword [0x4277e4], eax
jne 0x4016e9
mov eax, dword [0x4277e0]
push eax
call fcn.004192d0
add esp, 4
mov dword [0x4277e0], ebp
cmp esi, edi
jl 0x40123e
mov ebp, dword [esp + 0x1c]
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x30]
mov al, byte [esp + 0x15]
add ebx, 0xc
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x40]
mov dword [ebp + 0x28], edx
mov edx, dword [esp + 0x3c]
mov byte [ebp + 0x2c], al
mov dword [ebp + 0x30], ecx
mov ebp, dword [edx + 4]
push 0xc
inc esi
mov edi, dword [ebp + 4]
call fcn.00419780
add esp, 4
mov ecx, ebp
test ebp, ebp
jne 0x401731
mov ecx, eax
test edi, edi
mov dword [eax], ecx
jne 0x401739
mov edi, eax
mov dword [eax + 4], edi
mov dword [ebp + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
add eax, 8
test eax, eax
je 0x401751
mov edx, dword [esp + 0x1c]
mov dword [eax], edx
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 8]
inc ecx
xor ebp, ebp
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x20]
inc eax
mov dword [esp + 0x10], eax
cmp esi, edi
jl 0x40116f
lea ecx, [esp + 0x9c]
mov dword [esp + 0xfc], 0xffffffff
call fcn.00408ed0
mov al, 1
mov ecx, dword [esp + 0xf4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xf0
ret 4