Function at 0x4019b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x410bae
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x419018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x64], edi
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], 0
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
mov byte [esi], al
mov dword [ebp - 4], eax
mov ebx, 1
mov ecx, dword [edi + 0x34]
mov eax, 0x2aaaaaab
sub ecx, dword [edi + 0x30]
imul ecx
mov dword [ebp - 0x4c], ebx
mov ecx, 0x18
sar edx, 2
mov eax, edx
mov dword [ebp - 0x54], ebx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x60], eax
mov eax, dword [edi + 0x30]
add eax, ecx
mov dword [ebp - 0x58], ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402100
sub esp, 8
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00401f50
cmp eax, 0xffffffff
je 0x401b30
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 0x48], 0x22
cmp ecx, 0x7fffffff
je 0x401c5b
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push ecx
cmovae eax, dword [ebp - 0x2c]
push eax
push 1
lea eax, [ebp - 0x48]
push eax
push ecx
push dword [ebp - 0x50]
lea ecx, [ebp - 0x44]
call fcn.00402640
or ebx, 2
mov dword [ebp - 0x4c], ebx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
cmp ecx, edx
jae 0x401abd
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
mov word [eax + ecx], 0x22
jmp 0x401acc
push 0x22
push dword [ebp - 0x50]
lea ecx, [ebp - 0x44]
push 1
call fcn.004023a0
mov ecx, dword [ebp - 0x18]
or ebx, 4
mov dword [ebp - 0x4c], ebx
cmp ecx, 0x10
jb 0x401b06
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401afc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401c60
push ecx
push edx
call fcn.00404cc3
add esp, 8
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
jmp 0x401b39
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
cmp eax, 0x10
lea edx, [ebp - 0x2c]
mov eax, dword [esi + 0x14]
cmovae edx, ecx
mov ecx, dword [esi + 0x10]
sub eax, ecx
mov dword [ebp - 0x5c], ecx
cmp edi, eax
ja 0x401b7e
cmp dword [esi + 0x14], 0x10
lea eax, [edi + ecx]
mov dword [esi + 0x10], eax
mov ebx, esi
jb 0x401b61
mov ebx, dword [esi]
push edi
lea eax, [ebx + ecx]
push edx
push eax
call fcn.00405e20
mov ecx, dword [ebp - 0x5c]
lea eax, [edi + ebx]
mov ebx, dword [ebp - 0x4c]
add esp, 0xc
mov byte [eax + ecx], 0
jmp 0x401b8b
push edi
push edx
push dword [ebp - 0x50]
mov ecx, esi
push edi
call fcn.004024e0
mov eax, dword [ebp - 0x60]
mov edi, dword [ebp - 0x54]
dec eax
cmp edi, eax
je 0x401c0b
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
cmp ecx, edx
jae 0x401bb7
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0x10
jb 0x401baf
mov eax, dword [esi]
mov word [eax + ecx], 0x20
jmp 0x401bc5
push 0x20
push dword [ebp - 0x50]
mov ecx, esi
push 1
call fcn.004023a0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x401bf9
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401bef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401c60
push ecx
push edx
call fcn.00404cc3
add esp, 8
mov ecx, dword [ebp - 0x58]
inc edi
mov dword [ebp - 0x54], edi
add ecx, 0x18
mov edi, dword [ebp - 0x64]
jmp 0x401a33
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x401c3b
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401c31
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401c60
push ecx
push edx
call fcn.00404cc3
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00404a2f
mov esp, ebp
pop ebp
ret 0xc
call fcn.004011f0
call fcn.00407c1f
int3