Function at 0x4140dc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
test dl, dl
je 0x4140ff
add esp, 0xfffffff0
call fcn.004029c8
mov edi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x41474e
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
mov eax, dword [ebp + 8]
push eax
mov ecx, edi
xor edx, edx
mov eax, ebx
call fcn.00413fe0
mov eax, dword [ebp + 8]
mov dword [ebx + 0x30], eax
mov ecx, esi
mov dl, 1
mov eax, dword [0x41299c]
call fcn.0040b558
mov dword [ebx + 0x10], eax
mov esi, dword [ebx + 0x10]
xor eax, eax
mov dword [esi + 0x78], eax
xor eax, eax
mov dword [esi + 0x84], eax
xor eax, eax
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], 0x47
mov dword [esi + 0x90], 0x16
mov byte [esi + 0x94], 5
xor eax, eax
mov dword [esi + 0x9c], eax
push 0
push 1
lea eax, [ebp - 0x14]
push eax
mov cl, 1
mov dl, 8
mov eax, 0x414780
call fcn.0040ae78
lea edx, [ebp - 0x14]
lea eax, [esi + 0xa8]
mov ecx, dword [0x40a468]
call fcn.00403ae8
mov byte [esi + 0xb8], 0
mov byte [esi + 0xba], 1
mov byte [esi + 0xbb], 1
xor eax, eax
mov dword [esi + 0xbc], eax
mov byte [esi + 0xc2], 1
xor eax, eax
mov dword [esi + 0x98], eax
mov byte [esi + 0xa0], 0
mov byte [esi + 0xd8], 1
lea eax, [esi + 0x80]
xor edx, edx
call fcn.0040339c
lea eax, [esi + 0xa4]
xor edx, edx
call fcn.0040339c
xor eax, eax
mov dword [esi + 0xdc], eax
xor eax, eax
mov dword [esi + 0xe0], eax
mov eax, dword [0x4163cc]
mov eax, dword [eax]
mov dword [esi + 0xc4], eax
xor eax, eax
mov dword [esi + 0xc8], eax
mov dword [esi + 0xcc], 0xffffff
xor eax, eax
mov dword [esi + 0xd0], eax
xor eax, eax
mov dword [esi + 0xd4], eax
lea eax, [esi + 0x1a4]
xor edx, edx
call fcn.0040339c
mov byte [esi + 0x1b0], 0
xor eax, eax
mov dword [esi + 0x1b4], eax
mov byte [esi + 0x1a8], 0
mov byte [esi + 0x1a9], 0
xor eax, eax
mov dword [esi + 0x1ac], eax
mov byte [esi + 0x1b8], 0
mov byte [esi + 0xc0], 0
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x3c]
mov dl, 1
mov eax, dword [0x411a54]
call fcn.004028b0
mov esi, eax
mov dword [ebx + 0xc], esi
push 0
lea eax, [esi + 0xc]
mov ecx, 1
mov edx, dword [0x411a2c]
call fcn.00403fcc
add esp, 4
push 1
lea eax, [esi + 0x10]
mov ecx, 1
mov edx, dword [0x411a40]
call fcn.00403fcc
add esp, 4
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 0x7c]
mov dl, 1
mov eax, dword [0x412b30]
call fcn.00412bcc
mov esi, eax
mov dword [ebx + 0x14], esi
xor eax, eax
mov dword [esi + 0x78], eax
xor eax, eax
mov dword [esi + 0x84], eax
xor eax, eax
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], 0x52
mov dword [esi + 0x90], 0x16
mov byte [esi + 0x94], 5
xor eax, eax
mov dword [esi + 0x1a8], eax
push 0
push 1
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov dl, 8
mov eax, 0x414780
call fcn.0040ae78
lea edx, [ebp - 0x14]
lea eax, [esi + 0xa8]
mov ecx, dword [0x40a468]
call fcn.00403ae8
mov byte [esi + 0xb8], 0
mov byte [esi + 0xba], 1
mov byte [esi + 0xbb], 1
xor eax, eax
mov dword [esi + 0xbc], eax
mov byte [esi + 0xc2], 1
xor eax, eax
mov dword [esi + 0x98], eax
mov byte [esi + 0xa0], 0
mov byte [esi + 0xd8], 1
lea eax, [esi + 0x80]
xor edx, edx
call fcn.0040339c
lea eax, [esi + 0xa4]
xor edx, edx
call fcn.0040339c
xor eax, eax
mov dword [esi + 0xdc], eax
xor eax, eax
mov dword [esi + 0xe0], eax
mov eax, dword [0x4163cc]
mov eax, dword [eax]
mov dword [esi + 0xc4], eax
xor eax, eax
mov dword [esi + 0xc8], eax
xor eax, eax
mov dword [esi + 0xcc], eax
xor eax, eax
mov dword [esi + 0xd0], eax
xor eax, eax
mov dword [esi + 0xd4], eax
mov byte [esi + 0xc0], 0
mov byte [esi + 0x1ac], 0
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x3c]
mov dl, 1
mov eax, dword [0x4130d0]
call fcn.004028b0
mov esi, eax
mov dword [ebx + 0x18], esi
xor eax, eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], 0xaf
mov byte [esi + 0x88], 0
xor edx, edx
mov eax, esi
call fcn.00412e30
push 0xff
push 0xcc
lea eax, [ebp - 0x14]
push eax
mov cl, 1
mov dl, 0xa
mov eax, 0x414780
call fcn.0040ae78
lea edx, [ebp - 0x14]
mov eax, esi
call fcn.00413650
lea eax, [esi + 0xa8]
xor edx, edx
call fcn.0040339c
xor eax, eax
mov dword [esi + 0x140], eax
xor eax, eax
mov dword [esi + 0x144], eax
xor eax, eax
mov dword [esi + 0x148], eax
xor eax, eax
mov dword [esi + 0x14c], eax
xor eax, eax
mov dword [esi + 0x150], eax
xor eax, eax
mov dword [esi + 0x154], eax
mov dword [esi + 0x158], 1
mov dword [esi + 0x15c], 1
mov byte [esi + 0x160], 0
mov byte [esi + 0x161], 0
mov byte [esi + 0x162], 1
mov dl, 1
mov eax, dword [0x413754]
call fcn.004028b0
mov esi, eax
mov dword [ebx + 0x1c], esi
mov byte [esi + 4], 0
lea eax, [esi + 8]
mov edx, 0x414790
call fcn.0040339c
mov dl, 1
mov eax, dword [0x413974]
call fcn.004139cc
mov esi, eax
mov dword [ebx + 0x20], esi
mov edx, 0x3e8
mov eax, esi
call fcn.00413a60
mov dl, 1
mov eax, esi
call fcn.00413a6c
xor edx, edx
mov eax, esi
call fcn.00413a78
mov byte [esi + 0x14], 0
mov dl, 1
mov eax, dword [0x413b24]
call fcn.004028b0
mov esi, eax
mov dword [ebx + 0x24], esi
lea eax, [esi + 4]
xor edx, edx
call fcn.0040339c
mov dl, 1
mov eax, dword [0x413be8]
call fcn.004028b0
mov esi, eax
mov dword [ebx + 0x28], esi
mov eax, esi
mov byte [eax + 0x41], 1
mov byte [eax + 0x42], 0
mov byte [eax + 0x43], 0
mov byte [eax + 0x44], 0
mov byte [eax + 0x40], 0xc0
mov dl, 1
mov eax, dword [0x413974]
call fcn.004139cc
mov esi, eax
mov dword [ebx + 0x2c], esi
mov edx, 0xa
mov eax, esi
call fcn.00413a60
mov dl, 1
mov eax, esi
call fcn.00413a6c
mov edx, 1
mov eax, esi
call fcn.00413a78
mov byte [esi + 0x14], 0
mov eax, dword [ebx + 0xc]
mov dword [ebx + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [eax + 8], ebx
mov dword [eax + 4], edi
mov eax, dword [ebx + 0x10]
push eax
push 0x40bb28
lea edx, [ebp - 0x20]
xor eax, eax
call fcn.0040a56c
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x20]
mov dword [eax], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x18]
mov dword [eax + 8], edx
mov eax, dword [ebx + 0x18]
push eax
push 0x413160
lea edx, [ebp - 0x20]
xor eax, eax
call fcn.0040a56c
mov esi, dword [ebx + 0x14]
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x1b0], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x1b4], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x1b8], eax
push esi
push 0x412cd8
lea edx, [ebp - 0x20]
xor eax, eax
call fcn.0040a56c
mov eax, dword [ebx + 0x18]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0xb8], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0xbc], edx
mov edx, dword [ebp - 0x18]
mov dword [eax + 0xc0], edx
mov eax, dword [ebx + 0x1c]
push eax
push 0x4138cc
lea edx, [ebp - 0x20]
xor eax, eax
call fcn.0040a56c
mov eax, dword [ebx + 0x18]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0xac], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0xb0], edx
mov edx, dword [ebp - 0x18]
mov dword [eax + 0xb4], edx
mov eax, dword [ebx + 0x24]
push eax
push 0x413b90
lea edx, [ebp - 0x20]
xor eax, eax
call fcn.0040a56c
mov eax, dword [ebx + 0x20]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x18], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x1c], edx
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x20], edx
mov eax, dword [ebx + 0x14]
push eax
push 0x412ccc
lea edx, [ebp - 0x20]
xor eax, eax
call fcn.0040a56c
mov eax, dword [ebx + 0x24]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x14], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x18], edx
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x1c], edx
mov eax, dword [ebx + 0x14]
push eax
push 0x412cc4
lea edx, [ebp - 0x20]
mov ax, 1
call fcn.0040a56c
mov eax, dword [ebx + 0x24]
mov edx, dword [ebp - 0x20]
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x10], edx
mov eax, dword [ebx + 0xc]
push eax
push 0x411ac8
lea edx, [ebp - 0x20]
xor eax, eax
call fcn.0040a56c
mov esi, dword [ebx + 0x28]
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x60], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x64], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x68], eax
push esi
push 0x413da4
lea edx, [ebp - 0x20]
xor eax, eax
call fcn.0040a56c
mov eax, dword [ebx + 0x2c]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x18], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x1c], edx
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x20], edx
xor edx, edx
mov eax, dword [ebx + 0x10]
call fcn.0040babc
xor edx, edx
mov eax, dword [ebx + 0x10]
call fcn.0040ba94
xor edx, edx
mov eax, dword [ebx + 0x14]
call fcn.0040babc
xor edx, edx
mov eax, dword [ebx + 0x14]
call fcn.0040ba94
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x7c]
call fcn.00408ca4
mov eax, dword [ebx + 0x10]
mov dword [ebx + 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414755
lea eax, [ebp - 0x14]
mov edx, dword [0x40a468]
call fcn.004038d8
ret