Function at 0x401c00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], edx
lea eax, [ebp - 0x34]
mov dword [ebp - 0xc], ecx
push eax
push 0x412d34
push 0x412d74
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], ebx
call dword [0x40e150]
mov edi, eax
test edi, edi
js 0x402065
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x20]
push edx
push 0x412d84
push 0x412d1c
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov edi, eax
test edi, edi
js 0x402065
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x40]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov edi, eax
test edi, edi
js 0x402065
cmp dword [ebp - 0x40], ebx
je 0x402065
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x14]
push edx
push 0x412d44
push 0x412d64
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov edi, eax
test edi, edi
js 0x402065
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov edi, eax
test edi, edi
js 0x402065
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x401cc9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x2c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edi, eax
test edi, edi
js 0x402065
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x402070
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x401cf8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi]
lea ecx, [ebp - 0x28]
push ecx
push 0x412d54
push esi
call dword [eax]
mov edi, eax
test edi, edi
js 0x402065
mov eax, dword [ebp - 4]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
push 1
push 0x11
mov dword [ebp - 0x4c], ebx
call dword [0x40e134]
mov esi, eax
mov dword [ebp - 0x10], esi
test esi, esi
je 0x40205d
lea eax, [ebp - 0x44]
push eax
push esi
call dword [0x40e13c]
mov edi, eax
test edi, edi
js 0x40205d
push dword [ebp - 4]
push dword [ebp - 0xc]
push dword [ebp - 0x44]
call fcn.00403d20
add esp, 0xc
push esi
call dword [0x40e130]
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x402070
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x401d79
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi]
lea ecx, [ebp - 0x24]
push ecx
push dword [ebp - 0x10]
push esi
call dword [eax + 0xb4]
mov edi, eax
test edi, edi
js 0x40205d
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x402070
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x401dab
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi]
lea ecx, [ebp - 0x18]
push ecx
push esi
call dword [eax + 0x40]
mov edi, eax
test edi, edi
js 0x40205d
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x402070
mov ecx, dword [eax]
lea edx, [ebp - 0x48]
push edx
push eax
call dword [ecx + 0x48]
mov edi, eax
test edi, edi
js 0x40205d
mov eax, dword [ebp - 0x48]
cmp dword [eax + 0x10], ebx
je 0x401f04
lea eax, [ebp - 4]
push eax
call dword [0x40e004]
push eax
call dword [0x40e148]
push dword [ebp - 4]
mov dword [ebp - 0x30], eax
push ebx
push 8
call dword [0x40e138]
mov esi, eax
mov dword [ebp - 0x3c], esi
test esi, esi
je 0x401e80
mov eax, ebx
mov dword [ebp - 8], ebx
cmp dword [ebp - 4], eax
jle 0x401e4a
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], eax
push dword [ecx + eax*4]
call dword [0x40e128]
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [0x40e12c]
mov edi, eax
test edi, edi
js 0x401e80
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, dword [ebp - 4]
jl 0x401e1d
push 1
push ebx
push 0xc
call dword [0x40e138]
mov ecx, 0x2008
mov dword [ebp - 0x30], eax
mov word [ebp - 0x68], cx
lea ecx, [ebp - 0x68]
push ecx
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], ebx
push ecx
push eax
mov dword [ebp - 0x60], esi
call dword [0x40e12c]
mov edi, eax
test edi, edi
jns 0x401f21
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x401e90
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x401e9d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x401eb3
mov eax, dword [ecx]
push ecx
call dword [eax + 0x2c]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test ebx, ebx
je 0x401ebe
push ebx
call dword [0x40e120]
test esi, esi
je 0x401ec9
push esi
call dword [0x40e120]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x401ed6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x401ee3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x401ef0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x401efd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], ebx
push eax
push 1
push 0xc
mov dword [ebp - 0x54], ebx
call dword [0x40e134]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
push ebx
call dword [0x40e158]
mov eax, dword [ebp - 0xc]
push 0x40
push 0x3000
mov esi, dword [eax + 0x3c]
add esi, eax
movzx eax, word [esi + 0x14]
push dword [esi + 0x50]
add eax, esi
push ebx
mov dword [ebp - 0x1c], eax
call dword [0x40e008]
push dword [esi + 0x54]
mov edi, eax
push dword [ebp - 0xc]
mov dword [ebp - 8], edi
push edi
call fcn.00403d20
xor eax, eax
add esp, 0xc
cmp ax, word [esi + 6]
jae 0x401f93
mov edi, dword [ebp - 0x1c]
add edi, 0x2c
push dword [edi - 4]
mov eax, dword [edi]
add eax, dword [ebp - 0xc]
push eax
mov eax, dword [edi - 8]
add eax, dword [ebp - 8]
push eax
call fcn.00403d20
movzx eax, word [esi + 6]
lea edi, [edi + 0x28]
add esp, 0xc
inc ebx
cmp ebx, eax
jl 0x401f6c
mov edi, dword [ebp - 8]
mov ecx, dword [esi + 0xa0]
mov ebx, dword [esi + 0xa4]
add ecx, edi
jmp 0x401fea
lea eax, [ecx + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 4]
sub eax, 8
mov dword [ebp - 8], eax
je 0x401fe4
mov ebx, dword [ebp - 0x1c]
movzx edx, word [ebx]
test edx, 0x3000
je 0x401fd5
and edx, 0xfff
mov eax, edi
add edx, dword [ecx]
sub eax, dword [esi + 0x34]
add dword [edx + edi], eax
mov eax, dword [ebp - 8]
add ebx, 2
dec eax
sub eax, 1
mov dword [ebp - 8], eax
jne 0x401fb7
mov ebx, dword [ebp - 0xc]
sub ebx, dword [ecx + 4]
add ecx, dword [ecx + 4]
mov dword [ebp - 0xc], ebx
test ebx, ebx
jne 0x401fa3
mov eax, dword fs:[0x30]
mov esi, dword [0x40e124]
mov dword [eax + 8], edi
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov dword [eax + 0x18], edi
lea eax, [ebp - 0x78]
push eax
call esi
lea eax, [ebp - 0x88]
push eax
call esi
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x402070
mov ecx, dword [eax]
lea edx, [ebp - 0x78]
push edx
push dword [ebp - 0x30]
lea esi, [ebp - 0x88]
sub esp, 0x10
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x94]
mov esi, dword [0x40e140]
mov edi, eax
lea eax, [ebp - 0x78]
push eax
call esi
lea eax, [ebp - 0x88]
push eax
call esi
mov esi, dword [ebp - 0x3c]
jmp 0x401e80
mov esi, dword [ebp - 4]
jmp 0x401e80
mov ebx, dword [ebp - 0x38]
mov esi, dword [ebp - 4]
jmp 0x401e83
push 0x80004003
call fcn.004020f0
int3