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

Disassembly:
push 0xffffffffffffffff
push 0x418048
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov al, byte [esp + 0x68]
push ebx
push ebp
push esi
mov ebp, ecx
xor esi, esi
push edi
push esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], esi
mov byte [esp + 0x18], al
call fcn.00408720
mov edi, 0x41f420
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x41f420
lea ecx, [esp + 0x1c]
call fcn.00408a80
mov eax, dword [esp + 0x78]
mov dword [esp + 0x6c], esi
sub eax, esi
je 0x401cd9
dec eax
je 0x401c31
dec eax
jne 0x401d6b
mov eax, dword [ebp + 0x28]
cmp eax, esi
je 0x401d6b
mov ecx, dword [ebp + 0x2c]
sub ecx, eax
test ecx, 0xffffffe0
je 0x401d6b
mov esi, eax
mov eax, dword [ebp + 0x2c]
cmp esi, eax
jae 0x401a28
lea ebx, [esi + 0x10]
mov edx, dword [0x419158]
lea ecx, [esp + 0x14]
push edx
push 0
push esi
call fcn.004088e0
mov edi, 0x41c154
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x41c154
lea ecx, [esp + 0x1c]
call fcn.004089c0
mov eax, dword [0x419158]
lea ecx, [esp + 0x14]
push eax
push 0
push ebx
call fcn.004088e0
mov edi, 0x41c150
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x41c150
lea ecx, [esp + 0x1c]
call fcn.004089c0
mov eax, dword [ebp + 0x2c]
add esi, 0x20
add ebx, 0x20
cmp esi, eax
jb 0x4019ba
mov eax, dword [esp + 0x1c]
xor esi, esi
test eax, eax
jbe 0x401a88
cmp eax, esi
mov ecx, dword [esp + 0x18]
jb 0x401a54
test ecx, ecx
je 0x401a54
lea ecx, [esp + 0x14]
call fcn.004084b0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
lea edi, [ecx + esi]
jmp 0x401a59
mov edi, 0x419160
cmp eax, esi
jb 0x401a73
test ecx, ecx
je 0x401a73
lea ecx, [esp + 0x14]
call fcn.004084b0
mov ecx, dword [esp + 0x18]
lea eax, [ecx + esi]
jmp 0x401a78
mov eax, 0x419160
mov dl, byte [edi]
xor dl, 0x6b
inc esi
mov byte [eax], dl
mov eax, dword [esp + 0x1c]
cmp eax, esi
ja 0x401a34
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x401a95
mov ecx, 0x419160
push eax
lea eax, [esp + 0x48]
push ecx
push eax
mov ecx, ebp
call fcn.00406f80
mov ecx, dword [0x419158]
mov byte [esp + 0x6c], 1
push ecx
push 0
push eax
lea ecx, [esp + 0x20]
call fcn.00408200
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x70], 0
call fcn.00408720
mov dl, byte [esp + 0x78]
push 0
lea ecx, [esp + 0x38]
mov byte [esp + 0x38], dl
call fcn.00408720
mov edi, 0x41f420
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x38]
push ebx
call fcn.00408530
test al, al
je 0x401b24
mov edi, dword [esp + 0x38]
mov ecx, ebx
mov eax, ecx
mov esi, 0x41f420
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x3c], ebx
mov byte [ebx + ecx], 0
mov dl, byte [esp + 0x78]
xor esi, esi
push esi
lea ecx, [esp + 0x28]
mov byte [esp + 0x70], 2
mov byte [esp + 0x28], dl
call fcn.00408720
mov edi, 0x41c14c
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x28]
push ebx
call fcn.00408530
test al, al
je 0x401b83
mov edi, dword [esp + 0x28]
mov ecx, ebx
mov eax, ecx
mov esi, 0x41c14c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
call fcn.00408490
xor esi, esi
lea ecx, [esp + 0x34]
lea edx, [esp + 0x24]
push ecx
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x5c]
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x7c], 3
call fcn.00407980
mov edx, dword [0x419158]
lea ecx, [esp + 0x14]
push edx
push esi
push eax
mov byte [esp + 0x78], 4
call fcn.00408200
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x70], 3
call fcn.00408720
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x401bef
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x401be6
cmp al, 0xff
je 0x401be6
dec al
mov byte [ecx], al
jmp 0x401bef
push ecx
call fcn.0040d580
add esp, 4
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], esi
cmp eax, esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov byte [esp + 0x6c], 0
je 0x401d6b
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x401c23
cmp al, 0xff
je 0x401c23
dec al
mov byte [ecx], al
jmp 0x401d6b
push ecx
call fcn.0040d580
add esp, 4
jmp 0x401d6b
mov eax, dword [ebp + 0x18]
cmp eax, esi
je 0x401d6b
mov ecx, dword [ebp + 0x1c]
sub ecx, eax
test ecx, 0xffffffe0
je 0x401d6b
mov esi, eax
mov eax, dword [ebp + 0x1c]
cmp esi, eax
jae 0x401d6b
lea ebx, [esi + 0x10]
mov edx, dword [0x419158]
lea ecx, [esp + 0x14]
push edx
push 0
push esi
call fcn.004088e0
mov edi, 0x41c154
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x41c154
lea ecx, [esp + 0x1c]
call fcn.004089c0
mov eax, dword [0x419158]
lea ecx, [esp + 0x14]
push eax
push 0
push ebx
call fcn.004088e0
mov eax, dword [ebp + 0x1c]
add esi, 0x20
add ebx, 0x20
cmp esi, eax
jae 0x401d6b
mov edi, 0x41c148
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x41c148
lea ecx, [esp + 0x1c]
call fcn.004089c0
cmp esi, dword [ebp + 0x1c]
jb 0x401c5d
jmp 0x401d6b
mov eax, dword [ebp + 8]
cmp eax, esi
je 0x401d6b
mov ecx, dword [ebp + 0xc]
sub ecx, eax
test ecx, 0xffffffe0
je 0x401d6b
mov esi, eax
mov eax, dword [ebp + 0xc]
cmp esi, eax
jae 0x401d6b
lea ebx, [esi + 0x10]
mov edx, dword [0x419158]
lea ecx, [esp + 0x14]
push edx
push 0
push esi
call fcn.004088e0
mov edi, 0x41c144
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x41c144
lea ecx, [esp + 0x1c]
call fcn.004089c0
mov eax, dword [0x419158]
lea ecx, [esp + 0x14]
push eax
push 0
push ebx
call fcn.004088e0
mov edi, 0x41c14c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x41c14c
lea ecx, [esp + 0x1c]
call fcn.004089c0
mov eax, dword [ebp + 0xc]
add esi, 0x20
add ebx, 0x20
cmp esi, eax
jb 0x401cfd
mov esi, dword [esp + 0x74]
mov cl, byte [esp + 0x14]
xor edi, edi
lea eax, [esp + 0x14]
mov byte [esi], cl
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov edx, dword [0x419158]
mov ecx, esi
push edx
push edi
push eax
call fcn.00408200
mov ecx, dword [esp + 0x18]
cmp ecx, edi
je 0x401db8
mov al, byte [ecx - 1]
test al, al
je 0x401dae
cmp al, 0xff
je 0x401dae
dec al
mov byte [ecx - 1], al
jmp 0x401db8
dec ecx
push ecx
call fcn.0040d580
add esp, 4
mov ecx, dword [esp + 0x64]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 8