Function at 0x40edc4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x40edcc
push ebx
push esi
test dl, dl
je 0x40ede1
add esp, 0xfffffff0
call fcn.004028dc
mov byte [ebp - 1], dl
mov esi, eax
xor eax, eax
push ebp
push 0x4101d7
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, esi
call fcn.004027dc
mov dword [0x41259c], esi
xor ecx, ecx
mov dl, 1
mov eax, dword [0x40be44]
call fcn.0040bf58
mov ebx, eax
mov dword [esi + 4], ebx
xor eax, eax
mov dword [ebx + 0xbc], eax
xor eax, eax
mov dword [ebx + 0xc4], eax
xor eax, eax
mov dword [ebx + 0xc8], eax
mov dword [ebx + 0xcc], 0x2b3
mov dword [ebx + 0xd0], 0x2cd
mov byte [ebx + 0xd4], 0
xor eax, eax
mov dword [ebx + 0x124], eax
xor eax, eax
mov dword [ebx + 0x128], eax
xor eax, eax
mov dword [ebx + 0x12c], eax
xor eax, eax
mov dword [ebx + 0x130], eax
xor eax, eax
mov dword [ebx + 0x134], eax
mov byte [ebx + 0x138], 1
mov byte [ebx + 0x139], 1
mov byte [ebx + 0x13a], 0
mov byte [ebx + 0x13b], 0
xor eax, eax
mov dword [ebx + 0x13c], eax
xor eax, eax
mov dword [ebx + 0x140], eax
xor eax, eax
mov dword [ebx + 0x144], eax
xor eax, eax
mov dword [ebx + 0x148], eax
mov dword [ebx + 0xdc], 0xff00000f
push 0
push 1
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov dl, 8
mov eax, 0x410208
call fcn.0040a3b0
lea edx, [ebp - 0x14]
lea eax, [ebx + 0xe8]
mov ecx, dword [0x409d10]
call fcn.004036e8
mov byte [ebx + 0xf8], 0
mov byte [ebx + 0xfa], 1
mov byte [ebx + 0xfb], 1
xor eax, eax
mov dword [ebx + 0xfc], eax
mov byte [ebx + 0x102], 1
xor eax, eax
mov dword [ebx + 0xd8], eax
mov byte [ebx + 0xe0], 1
mov byte [ebx + 0x120], 0
lea eax, [ebx + 0xc0]
xor edx, edx
call fcn.0040312c
lea eax, [ebx + 0xe4]
xor edx, edx
call fcn.0040312c
xor eax, eax
mov dword [ebx + 0x104], eax
xor eax, eax
mov dword [ebx + 0x108], eax
mov byte [ebx + 0x235], 0xff
lea eax, [ebp - 0x18]
mov edx, 0x410218
call fcn.0040312c
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.0040c470
mov dl, 1
mov eax, ebx
call fcn.0040c4a8
mov byte [ebx + 0x236], 0
push 0x410220
mov eax, dword [0x411308]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, ebx
call fcn.0040c560
xor edx, edx
mov eax, ebx
call fcn.0040c534
mov byte [ebx + 0x234], 0
mov dword [ebx + 0x248], 0xffffff
lea eax, [ebx + 0x238]
xor edx, edx
call fcn.0040312c
mov byte [ebx + 0x100], 0
mov byte [ebx + 0x23d], 0
mov dword [ebx + 0x244], ebx
mov dword [ebx + 0x240], 0x40cc64
xor eax, eax
mov dword [ebx + 0x22c], eax
xor eax, eax
mov dword [ebx + 0x230], eax
mov byte [ebx + 0x24c], 0
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x3c]
mov dl, 1
mov eax, dword [0x40cf0c]
call fcn.0040cf84
mov ebx, eax
mov dword [esi + 8], ebx
lea eax, [ebx + 8]
xor edx, edx
call fcn.0040312c
lea eax, [ebx + 0xc]
mov edx, 0x410228
call fcn.0040312c
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xb8]
mov dl, 1
mov eax, dword [0x40d6a4]
call fcn.0040aaec
mov ebx, eax
mov dword [esi + 0xc], ebx
xor eax, eax
mov dword [ebx + 0xbc], eax
mov dword [ebx + 0xc4], 5
mov dword [ebx + 0xc8], 5
mov dword [ebx + 0xcc], 0x29e
mov dword [ebx + 0xd0], 0x230
mov byte [ebx + 0xd4], 0
mov byte [ebx + 0x138], 1
mov byte [ebx + 0x139], 1
mov byte [ebx + 0x13a], 0
mov byte [ebx + 0x13b], 0
xor eax, eax
mov dword [ebx + 0x13c], eax
xor eax, eax
mov dword [ebx + 0x140], eax
xor eax, eax
mov dword [ebx + 0x144], eax
xor eax, eax
mov dword [ebx + 0x148], eax
mov dword [ebx + 0xdc], 0xff000005
push 0
push 1
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov dl, 0xc
mov eax, 0x410208
call fcn.0040a3b0
lea edx, [ebp - 0x14]
lea eax, [ebx + 0xe8]
mov ecx, dword [0x409d10]
call fcn.004036e8
mov byte [ebx + 0xf8], 0
mov byte [ebx + 0xfa], 1
mov byte [ebx + 0xfb], 1
xor eax, eax
mov dword [ebx + 0xfc], eax
mov byte [ebx + 0x102], 1
xor eax, eax
mov dword [ebx + 0xd8], eax
mov byte [ebx + 0xe0], 0
mov byte [ebx + 0x120], 0
lea eax, [ebx + 0xc0]
xor edx, edx
call fcn.0040312c
lea eax, [ebx + 0xe4]
xor edx, edx
call fcn.0040312c
xor eax, eax
mov dword [ebx + 0x104], eax
xor eax, eax
mov dword [ebx + 0x108], eax
mov eax, dword [0x411304]
mov eax, dword [eax]
mov dword [ebx + 0x10c], eax
mov dword [ebx + 0x110], 4
mov dword [ebx + 0x114], 0xff00000f
xor eax, eax
mov dword [ebx + 0x118], eax
xor eax, eax
mov dword [ebx + 0x11c], eax
lea eax, [ebx + 0x214]
xor edx, edx
call fcn.0040312c
mov eax, 0x410230
call fcn.0040a378
mov edx, eax
lea eax, [ebx + 0x268]
call fcn.0040312c
mov byte [ebx + 0x218], 0
mov byte [ebx + 0x264], 3
mov byte [ebx + 0x265], 1
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x3c]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xb8]
mov dl, 1
mov eax, dword [0x40dad8]
call fcn.0040aaec
mov ebx, eax
mov dword [esi + 0x10], ebx
xor eax, eax
mov dword [ebx + 0xbc], eax
mov dword [ebx + 0xc4], 0xa
mov dword [ebx + 0xc8], 0x280
mov dword [ebx + 0xcc], 0x5f
mov dword [ebx + 0xd0], 0x14
mov byte [ebx + 0xd4], 0
mov byte [ebx + 0x138], 1
mov byte [ebx + 0x139], 1
mov byte [ebx + 0x13a], 0
mov byte [ebx + 0x13b], 0
xor eax, eax
mov dword [ebx + 0x13c], eax
xor eax, eax
mov dword [ebx + 0x140], eax
xor eax, eax
mov dword [ebx + 0x144], eax
xor eax, eax
mov dword [ebx + 0x148], eax
push 0
push 1
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov dl, 8
mov eax, 0x410208
call fcn.0040a3b0
lea edx, [ebp - 0x14]
lea eax, [ebx + 0xe8]
mov ecx, dword [0x409d10]
call fcn.004036e8
mov byte [ebx + 0xf8], 0
mov byte [ebx + 0xfa], 1
mov byte [ebx + 0xfb], 1
xor eax, eax
mov dword [ebx + 0xfc], eax
mov byte [ebx + 0x102], 1
xor eax, eax
mov dword [ebx + 0xd8], eax
mov byte [ebx + 0xe0], 1
mov byte [ebx + 0x120], 0
lea eax, [ebx + 0xc0]
xor edx, edx
call fcn.0040312c
lea eax, [ebx + 0xe4]
xor edx, edx
call fcn.0040312c
xor eax, eax
mov dword [ebx + 0x104], eax
xor eax, eax
mov dword [ebx + 0x108], eax
lea eax, [ebx + 0x234]
mov edx, 0x410238
call fcn.0040312c
lea edx, [ebp - 0x34]
mov eax, 1
call fcn.0040a2c4
lea edx, [ebp - 0x34]
lea eax, [ebx + 0x218]
mov ecx, dword [0x409cf4]
call fcn.004036e8
mov byte [ebx + 0x101], 0
mov byte [ebx + 0x23a], 2
mov byte [ebx + 0x23b], 0
mov byte [ebx + 0x238], 1
mov byte [ebx + 0x239], 0
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x3c]
mov dl, 1
mov eax, dword [0x40dcd8]
call fcn.004027dc
mov ebx, eax
mov dword [esi + 0x14], ebx
mov eax, ebx
mov byte [eax + 5], 1
mov dx, 2
call fcn.0040dd40
mov dl, 1
mov eax, dword [0x40ddd0]
call fcn.004027dc
mov ebx, eax
mov dword [esi + 0x18], ebx
lea eax, [ebx + 4]
xor edx, edx
call fcn.0040312c
lea eax, [ebx + 8]
mov edx, 0x410248
call fcn.0040312c
xor eax, eax
mov dword [ebx + 0xc], eax
xor eax, eax
mov dword [ebx + 0x10], eax
xor eax, eax
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xb8]
mov dl, 1
mov eax, dword [0x40e024]
call fcn.0040e0d8
mov ebx, eax
mov dword [esi + 0x1c], ebx
xor eax, eax
mov dword [ebx + 0xbc], eax
mov dword [ebx + 0xc4], 5
mov dword [ebx + 0xc8], 0x25d
mov dword [ebx + 0xcc], 0x6e
mov dword [ebx + 0xd0], 0x14
mov byte [ebx + 0xd4], 0
mov byte [ebx + 0x138], 1
mov byte [ebx + 0x139], 1
mov byte [ebx + 0x13a], 0
mov byte [ebx + 0x13b], 0
xor eax, eax
mov dword [ebx + 0x13c], eax
xor eax, eax
mov dword [ebx + 0x140], eax
xor eax, eax
mov dword [ebx + 0x144], eax
xor eax, eax
mov dword [ebx + 0x148], eax
mov dword [ebx + 0xdc], 0xff000005
push 0
push 1
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov dl, 8
mov eax, 0x410208
call fcn.0040a3b0
lea edx, [ebp - 0x14]
lea eax, [ebx + 0xe8]
mov ecx, dword [0x409d10]
call fcn.004036e8
mov byte [ebx + 0xf8], 0
mov byte [ebx + 0xfa], 1
mov byte [ebx + 0xfb], 1
xor eax, eax
mov dword [ebx + 0xfc], eax
mov byte [ebx + 0x102], 1
xor eax, eax
mov dword [ebx + 0xd8], eax
mov byte [ebx + 0xe0], 0
mov byte [ebx + 0x120], 0
lea eax, [ebx + 0xc0]
xor edx, edx
call fcn.0040312c
lea eax, [ebx + 0xe4]
xor edx, edx
call fcn.0040312c
xor eax, eax
mov dword [ebx + 0x104], eax
xor eax, eax
mov dword [ebx + 0x108], eax
mov eax, dword [0x411304]
mov eax, dword [eax]
mov dword [ebx + 0x10c], eax
mov dword [ebx + 0x110], 4
mov dword [ebx + 0x114], 0xff00000f
xor eax, eax
mov dword [ebx + 0x118], eax
xor eax, eax
mov dword [ebx + 0x11c], eax
lea eax, [ebx + 0x228]
mov edx, 0x410260
call fcn.0040312c
mov byte [ebx + 0x22d], 0
mov dword [ebx + 0x220], ebx
mov dword [ebx + 0x21c], 0x40e5a4
mov byte [ebx + 0x234], 0
mov byte [ebx + 0x224], 0
mov byte [ebx + 0x22c], 0
xor eax, eax
mov dword [ebx + 0x230], eax
mov byte [ebx + 0x225], 1
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x3c]
mov dl, 1
mov eax, dword [0x40e780]
call fcn.004027dc
mov ebx, eax
mov dword [esi + 0x20], ebx
lea eax, [ebx + 8]
xor edx, edx
call fcn.0040312c
mov dl, 1
mov eax, dword [0x40e9fc]
call fcn.004027dc
mov ebx, eax
mov dword [esi + 0x24], ebx
lea eax, [ebx + 8]
mov edx, 0x410268
call fcn.0040312c
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xb8]
mov dl, 1
mov eax, dword [0x40dad8]
call fcn.0040aaec
mov ebx, eax
mov dword [esi + 0x28], ebx
xor eax, eax
mov dword [ebx + 0xbc], eax
mov dword [ebx + 0xc4], 0x1ae
mov dword [ebx + 0xc8], 0x258
mov dword [ebx + 0xcc], 0x37
mov dword [ebx + 0xd0], 0x14
mov byte [ebx + 0xd4], 0
mov byte [ebx + 0x138], 1
mov byte [ebx + 0x139], 1
mov byte [ebx + 0x13a], 0
mov byte [ebx + 0x13b], 0
xor eax, eax
mov dword [ebx + 0x13c], eax
xor eax, eax
mov dword [ebx + 0x140], eax
xor eax, eax
mov dword [ebx + 0x144], eax
xor eax, eax
mov dword [ebx + 0x148], eax
push 0
push 1
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov dl, 8
mov eax, 0x410208
call fcn.0040a3b0
lea edx, [ebp - 0x14]
lea eax, [ebx + 0xe8]
mov ecx, dword [0x409d10]
call fcn.004036e8
mov byte [ebx + 0xf8], 0
mov byte [ebx + 0xfa], 1
mov byte [ebx + 0xfb], 1
xor eax, eax
mov dword [ebx + 0xfc], eax
mov byte [ebx + 0x102], 1
xor eax, eax
mov dword [ebx + 0xd8], eax
mov byte [ebx + 0xe0], 1
mov byte [ebx + 0x120], 0
lea eax, [ebx + 0xc0]
xor edx, edx
call fcn.0040312c
lea eax, [ebx + 0xe4]
xor edx, edx
call fcn.0040312c
xor eax, eax
mov dword [ebx + 0x104], eax
xor eax, eax
mov dword [ebx + 0x108], eax
lea eax, [ebx + 0x234]
mov edx, 0x410268
call fcn.0040312c
mov byte [ebx + 0x101], 0
mov byte [ebx + 0x23a], 2
mov byte [ebx + 0x23b], 0
mov byte [ebx + 0x238], 1
mov byte [ebx + 0x239], 0
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x3c]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xb8]
mov dl, 1
mov eax, dword [0x40e024]
call fcn.0040e0d8
mov dword [esi + 0x2c], eax
mov ebx, dword [esi + 0x2c]
xor eax, eax
mov dword [ebx + 0xbc], eax
mov dword [ebx + 0xc4], 0x208
mov dword [ebx + 0xc8], 0x271
mov dword [ebx + 0xcc], 0x8c
mov dword [ebx + 0xd0], 0x14
mov byte [ebx + 0xd4], 0
mov byte [ebx + 0x138], 1
mov byte [ebx + 0x139], 1
mov byte [ebx + 0x13a], 0
mov byte [ebx + 0x13b], 0
xor eax, eax
mov dword [ebx + 0x13c], eax
xor eax, eax
mov dword [ebx + 0x140], eax
xor eax, eax
mov dword [ebx + 0x144], eax
xor eax, eax
mov dword [ebx + 0x148], eax
mov dword [ebx + 0xdc], 0xff000005
push 0
push 1
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov dl, 8
mov eax, 0x410208
call fcn.0040a3b0
lea edx, [ebp - 0x14]
lea eax, [ebx + 0xe8]
mov ecx, dword [0x409d10]
call fcn.004036e8
mov byte [ebx + 0xf8], 0
mov byte [ebx + 0xfa], 1
mov byte [ebx + 0xfb], 1
xor eax, eax
mov dword [ebx + 0xfc], eax
mov byte [ebx + 0x102], 1
xor eax, eax
mov dword [ebx + 0xd8], eax
mov byte [ebx + 0xe0], 0
mov byte [ebx + 0x120], 0
lea eax, [ebx + 0xc0]
xor edx, edx
call fcn.0040312c
lea eax, [ebx + 0xe4]
xor edx, edx
call fcn.0040312c
xor eax, eax
mov dword [ebx + 0x104], eax
xor eax, eax
mov dword [ebx + 0x108], eax
mov eax, dword [0x411304]
mov eax, dword [eax]
mov dword [ebx + 0x10c], eax
mov dword [ebx + 0x110], 4
mov dword [ebx + 0x114], 0xff00000f
xor eax, eax
mov dword [ebx + 0x118], eax
xor eax, eax
mov dword [ebx + 0x11c], eax
lea eax, [ebx + 0x228]
mov edx, 0x410270
call fcn.0040312c
mov byte [ebx + 0x22d], 0
mov dword [ebx + 0x220], ebx
mov dword [ebx + 0x21c], 0x40e5a4
mov byte [ebx + 0x234], 0
mov byte [ebx + 0x224], 0
mov byte [ebx + 0x22c], 0
xor eax, eax
mov dword [ebx + 0x230], eax
mov byte [ebx + 0x225], 1
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x3c]
mov dl, 1
mov eax, dword [0x40e780]
call fcn.004027dc
mov dword [esi + 0x30], eax
mov ebx, dword [esi + 0x30]
lea eax, [ebx + 8]
mov edx, 0x410278
call fcn.0040312c
mov dl, 1
mov eax, dword [0x40e780]
call fcn.004027dc
mov dword [esi + 0x34], eax
mov ebx, dword [esi + 0x34]
lea eax, [ebx + 8]
mov edx, 0x41027c
call fcn.0040312c
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xb8]
mov dl, 1
mov eax, dword [0x40e024]
call fcn.0040e0d8
mov dword [esi + 0x38], eax
mov ebx, dword [esi + 0x38]
xor eax, eax
mov dword [ebx + 0xbc], eax
mov dword [ebx + 0xc4], 0x8c
mov dword [ebx + 0xc8], 0x25d
mov dword [ebx + 0xcc], 0x32
mov dword [ebx + 0xd0], 0x14
mov byte [ebx + 0xd4], 0
mov byte [ebx + 0x138], 1
mov byte [ebx + 0x139], 1
mov byte [ebx + 0x13a], 0
mov byte [ebx + 0x13b], 0
xor eax, eax
mov dword [ebx + 0x13c], eax
xor eax, eax
mov dword [ebx + 0x140], eax
xor eax, eax
mov dword [ebx + 0x144], eax
xor eax, eax
mov dword [ebx + 0x148], eax
mov dword [ebx + 0xdc], 0xff000005
push 0
push 1
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov dl, 8
mov eax, 0x410208
call fcn.0040a3b0
lea edx, [ebp - 0x14]
lea eax, [ebx + 0xe8]
mov ecx, dword [0x409d10]
call fcn.004036e8
mov byte [ebx + 0xf8], 0
mov byte [ebx + 0xfa], 1
mov byte [ebx + 0xfb], 1
xor eax, eax
mov dword [ebx + 0xfc], eax
mov byte [ebx + 0x102], 1
xor eax, eax
mov dword [ebx + 0xd8], eax
mov byte [ebx + 0xe0], 0
mov byte [ebx + 0x120], 0
lea eax, [ebx + 0xc0]
xor edx, edx
call fcn.0040312c
lea eax, [ebx + 0xe4]
xor edx, edx
call fcn.0040312c
xor eax, eax
mov dword [ebx + 0x104], eax
xor eax, eax
mov dword [ebx + 0x108], eax
mov eax, dword [0x411304]
mov eax, dword [eax]
mov dword [ebx + 0x10c], eax
mov dword [ebx + 0x110], 4
mov dword [ebx + 0x114], 0xff00000f
xor eax, eax
mov dword [ebx + 0x118], eax
xor eax, eax
mov dword [ebx + 0x11c], eax
lea eax, [ebx + 0x228]
mov edx, 0x410280
call fcn.0040312c
mov byte [ebx + 0x22d], 0
mov dword [ebx + 0x220], ebx
mov dword [ebx + 0x21c], 0x40e594
mov byte [ebx + 0x234], 0
mov byte [ebx + 0x224], 0
mov byte [ebx + 0x22c], 0
xor eax, eax
mov dword [ebx + 0x230], eax
mov byte [ebx + 0x225], 1
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x3c]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xb8]
mov dl, 1
mov eax, dword [0x40e024]
call fcn.0040e0d8
mov dword [esi + 0x3c], eax
mov ebx, dword [esi + 0x3c]
xor eax, eax
mov dword [ebx + 0xbc], eax
mov dword [ebx + 0xc4], 0xdc
mov dword [ebx + 0xc8], 0x25d
mov dword [ebx + 0xcc], 0x32
mov dword [ebx + 0xd0], 0x14
mov byte [ebx + 0xd4], 0
mov byte [ebx + 0x138], 1
mov byte [ebx + 0x139], 1
mov byte [ebx + 0x13a], 0
mov byte [ebx + 0x13b], 0
xor eax, eax
mov dword [ebx + 0x13c], eax
xor eax, eax
mov dword [ebx + 0x140], eax
xor eax, eax
mov dword [ebx + 0x144], eax
xor eax, eax
mov dword [ebx + 0x148], eax
mov dword [ebx + 0xdc], 0xff000005
push 0
push 1
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov dl, 8
mov eax, 0x410208
call fcn.0040a3b0
lea edx, [ebp - 0x14]
lea eax, [ebx + 0xe8]
mov ecx, dword [0x409d10]
call fcn.004036e8
mov byte [ebx + 0xf8], 0
mov byte [ebx + 0xfa], 1
mov byte [ebx + 0xfb], 1
xor eax, eax
mov dword [ebx + 0xfc], eax
mov byte [ebx + 0x102], 1
xor eax, eax
mov dword [ebx + 0xd8], eax
mov byte [ebx + 0xe0], 0
mov byte [ebx + 0x120], 0
lea eax, [ebx + 0xc0]
xor edx, edx
call fcn.0040312c
lea eax, [ebx + 0xe4]
xor edx, edx
call fcn.0040312c
xor eax, eax
mov dword [ebx + 0x104], eax
xor eax, eax
mov dword [ebx + 0x108], eax
mov eax, dword [0x411304]
mov eax, dword [eax]
mov dword [ebx + 0x10c], eax
mov dword [ebx + 0x110], 4
mov dword [ebx + 0x114], 0xff00000f
xor eax, eax
mov dword [ebx + 0x118], eax
xor eax, eax
mov dword [ebx + 0x11c], eax
lea eax, [ebx + 0x228]
mov edx, 0x410284
call fcn.0040312c
mov byte [ebx + 0x22d], 0
mov dword [ebx + 0x220], ebx
mov dword [ebx + 0x21c], 0x40e594
mov byte [ebx + 0x234], 0
mov byte [ebx + 0x224], 0
mov byte [ebx + 0x22c], 0
xor eax, eax
mov dword [ebx + 0x230], eax
mov byte [ebx + 0x225], 1
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x3c]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xb8]
mov dl, 1
mov eax, dword [0x40dad8]
call fcn.0040aaec
mov dword [esi + 0x40], eax
mov ebx, dword [esi + 0x40]
xor eax, eax
mov dword [ebx + 0xbc], eax
mov dword [ebx + 0xc4], 0x1ae
mov dword [ebx + 0xc8], 0x28a
mov dword [ebx + 0xcc], 0x37
mov dword [ebx + 0xd0], 0x14
mov byte [ebx + 0xd4], 0
mov byte [ebx + 0x138], 1
mov byte [ebx + 0x139], 1
mov byte [ebx + 0x13a], 0
mov byte [ebx + 0x13b], 0
xor eax, eax
mov dword [ebx + 0x13c], eax
xor eax, eax
mov dword [ebx + 0x140], eax
xor eax, eax
mov dword [ebx + 0x144], eax
xor eax, eax
mov dword [ebx + 0x148], eax
push 0
push 1
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov dl, 8
mov eax, 0x410208
call fcn.0040a3b0
lea edx, [ebp - 0x14]
lea eax, [ebx + 0xe8]
mov ecx, dword [0x409d10]
call fcn.004036e8
mov byte [ebx + 0xf8], 0
mov byte [ebx + 0xfa], 1
mov byte [ebx + 0xfb], 1
xor eax, eax
mov dword [ebx + 0xfc], eax
mov byte [ebx + 0x102], 1
xor eax, eax
mov dword [ebx + 0xd8], eax
mov byte [ebx + 0xe0], 1
mov byte [ebx + 0x120], 0
lea eax, [ebx + 0xc0]
xor edx, edx
call fcn.0040312c
lea eax, [ebx + 0xe4]
xor edx, edx
call fcn.0040312c
xor eax, eax
mov dword [ebx + 0x104], eax
xor eax, eax
mov dword [ebx + 0x108], eax
lea eax, [ebx + 0x234]
mov edx, 0x410288
call fcn.0040312c
mov byte [ebx + 0x101], 0
mov byte [ebx + 0x23a], 2
mov byte [ebx + 0x23b], 0
mov byte [ebx + 0x238], 1
mov byte [ebx + 0x239], 0
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x3c]
mov dl, 1
mov eax, dword [0x40e9fc]
call fcn.004027dc
mov dword [esi + 0x44], eax
mov ebx, dword [esi + 0x44]
lea eax, [ebx + 8]
mov edx, 0x410288
call fcn.0040312c
mov dl, 1
mov eax, dword [0x40eb50]
call fcn.0040ec00
mov dword [esi + 0x48], eax
mov ebx, dword [esi + 0x48]
lea eax, [ebx + 0x14]
mov edx, 0x410290
call fcn.0040312c
mov dx, 3
mov eax, ebx
call fcn.0040ebcc
mov dl, 1
mov eax, dword [0x40eb50]
call fcn.0040ec00
mov dword [esi + 0x4c], eax
mov ebx, dword [esi + 0x4c]
lea eax, [ebx + 0x14]
mov edx, 0x410298
call fcn.0040312c
mov dx, 1
mov eax, ebx
call fcn.0040ebcc
mov eax, dword [esi + 0x14]
push eax
push 0x40dd68
lea edx, [ebp - 0x40]
xor eax, eax
call fcn.00409e14
mov eax, dword [esi + 4]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x298], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x29c], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x2a0], edx
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [eax]
mov eax, dword [eax + 0x68]
push eax
lea edx, [ebp - 0x40]
xor eax, eax
call fcn.00409e14
mov eax, dword [esi + 8]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x1c], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x20], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x24], edx
mov eax, dword [esi + 8]
push eax
push 0x40d03c
lea edx, [ebp - 0x40]
mov ax, 2
call fcn.00409e14
mov eax, dword [esi + 0x10]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x20c], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x210], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x214], edx
mov eax, dword [esi + 0x4c]
push eax
push 0x40ed00
lea edx, [ebp - 0x40]
xor eax, eax
call fcn.00409e14
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x40]
mov dword [eax], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 8], edx
mov eax, dword [esi + 0x48]
push eax
push 0x40ed00
lea edx, [ebp - 0x40]
xor eax, eax
call fcn.00409e14
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x10], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x14], edx
mov eax, dword [esi + 0x1c]
push eax
push 0x40e268
lea edx, [ebp - 0x40]
xor eax, eax
call fcn.00409e14
mov eax, dword [esi + 0x20]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x10], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x14], edx
mov eax, dword [esi + 0x2c]
push eax
push 0x40e1f0
lea edx, [ebp - 0x40]
xor eax, eax
call fcn.00409e14
mov eax, dword [esi + 0x24]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x18], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x1c], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x20], edx
mov eax, dword [esi + 0x24]
push eax
push 0x40ea64
lea edx, [ebp - 0x40]
xor eax, eax
call fcn.00409e14
mov eax, dword [esi + 0x28]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x20c], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x210], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x214], edx
mov eax, dword [esi + 0x38]
push eax
push 0x40e268
lea edx, [ebp - 0x40]
xor eax, eax
call fcn.00409e14
mov eax, dword [esi + 0x30]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x10], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x14], edx
mov eax, dword [esi + 0x3c]
push eax
push 0x40e268
lea edx, [ebp - 0x40]
xor eax, eax
call fcn.00409e14
mov eax, dword [esi + 0x34]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x10], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x14], edx
mov eax, dword [esi + 0x44]
push eax
push 0x40ea64
lea edx, [ebp - 0x40]
xor eax, eax
call fcn.00409e14
mov eax, dword [esi + 0x40]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x20c], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x210], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x214], edx
mov eax, dword [esi + 0x2c]
push eax
push 0x40e1f0
lea edx, [ebp - 0x40]
xor eax, eax
call fcn.00409e14
mov eax, dword [esi + 0x44]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x18], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x1c], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x20], edx
mov eax, dword [esi + 0x20]
push eax
push 0x40e7e8
lea edx, [ebp - 0x40]
mov ax, 1
call fcn.00409e14
mov eax, dword [esi + 0x48]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 0x40]
mov dword [eax], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 8], edx
mov eax, dword [esi + 0x30]
push eax
push 0x40e8e0
lea edx, [ebp - 0x40]
xor eax, eax
call fcn.00409e14
mov eax, dword [esi + 0x48]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x10], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x14], edx
mov eax, dword [esi + 0x34]
push eax
push 0x40e8e0
lea edx, [ebp - 0x40]
xor eax, eax
call fcn.00409e14
mov eax, dword [esi + 0x48]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x18], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x1c], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x20], edx
mov eax, dword [esi + 0x18]
push eax
push 0x40de44
lea edx, [ebp - 0x40]
xor eax, eax
call fcn.00409e14
mov eax, dword [esi + 0x4c]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 0x40]
mov dword [eax], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 8], edx
xor edx, edx
mov eax, dword [esi + 4]
call fcn.0040b284
xor edx, edx
mov eax, dword [esi + 4]
call fcn.0040b258
xor edx, edx
mov eax, dword [esi + 4]
call fcn.0040bef4
mov eax, dword [esi + 4]
xor edx, edx
mov dword [eax + 0x228], edx
xor edx, edx
mov eax, dword [esi + 0xc]
call fcn.0040b284
xor edx, edx
mov eax, dword [esi + 0xc]
call fcn.0040b258
xor edx, edx
mov eax, dword [esi + 0x10]
call fcn.0040b284
xor edx, edx
mov eax, dword [esi + 0x10]
call fcn.0040b258
xor edx, edx
mov eax, dword [esi + 0x1c]
call fcn.0040b284
xor edx, edx
mov eax, dword [esi + 0x1c]
call fcn.0040b258
mov eax, dword [esi + 8]
call fcn.0040cf80
mov edx, dword [esi + 0x20]
mov dword [edx + 4], eax
mov eax, dword [esi + 8]
call fcn.0040cf80
mov edx, dword [esi + 0x24]
mov dword [edx + 4], eax
xor edx, edx
mov eax, dword [esi + 0x28]
call fcn.0040b284
xor edx, edx
mov eax, dword [esi + 0x28]
call fcn.0040b258
xor edx, edx
mov eax, dword [esi + 0x2c]
call fcn.0040b284
xor edx, edx
mov eax, dword [esi + 0x2c]
call fcn.0040b258
mov eax, dword [esi + 8]
call fcn.0040cf80
mov edx, dword [esi + 0x30]
mov dword [edx + 4], eax
mov eax, dword [esi + 8]
call fcn.0040cf80
mov edx, dword [esi + 0x34]
mov dword [edx + 4], eax
xor edx, edx
mov eax, dword [esi + 0x38]
call fcn.0040b284
xor edx, edx
mov eax, dword [esi + 0x38]
call fcn.0040b258
xor edx, edx
mov eax, dword [esi + 0x3c]
call fcn.0040b284
xor edx, edx
mov eax, dword [esi + 0x3c]
call fcn.0040b258
xor edx, edx
mov eax, dword [esi + 0x40]
call fcn.0040b284
xor edx, edx
mov eax, dword [esi + 0x40]
call fcn.0040b258
mov eax, dword [esi + 8]
call fcn.0040cf80
mov edx, dword [esi + 0x44]
mov dword [edx + 4], eax
mov eax, dword [esi + 8]
call fcn.0040cf80
mov edx, dword [esi + 0x48]
mov dword [edx + 0x1c], eax
mov eax, dword [esi + 8]
call fcn.0040cf80
mov edx, dword [esi + 0x4c]
mov dword [edx + 0x1c], eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 0xb8]
call fcn.00408610
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4101de
lea eax, [ebp - 0x34]
mov edx, dword [0x409cf4]
call fcn.004035d0
lea eax, [ebp - 0x18]
call fcn.00403008
lea eax, [ebp - 0x14]
mov edx, dword [0x409d10]
call fcn.004035d0
ret