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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4164c8
push 0x40454c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ecx
sub esp, 0x138
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x130], ecx
push 0x5c
push dword [ebp - 0x130]
call fcn.00404700
pop ecx
pop ecx
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
jne 0x40e48b
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x60], eax
jmp 0x40e492
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
push 0x2f
push dword [ebp - 0x130]
call fcn.00404700
pop ecx
pop ecx
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x40e4b9
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x60]
jbe 0x40e4b9
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x60], eax
or dword [ebp - 0x3c], 0xffffffff
or dword [ebp - 0x38], 0xffffffff
or dword [ebp - 0x58], 0xffffffff
and dword [ebp - 0x34], 0
and dword [ebp - 0x30], 0
and dword [ebp - 0x1c], 0
and dword [ebp - 0x2c], 0
and dword [ebp - 0x54], 0
and dword [ebp - 0x4c], 0
and dword [ebp - 0x50], 0
and dword [ebp - 0x40], 0
and dword [ebp - 0x28], 0
and dword [ebp - 0x24], 0
and byte [ebp - 0x5c], 0
and dword [ebp - 0x20], 0
push 0x4199b8
call dword [fcn.00419758]
and dword [ebp - 0x48], 0
mov eax, dword [0x4199ec]
mov dword [ebp - 0x44], eax
and dword [ebp - 4], 0
push dword [ebp - 0x130]
call dword [fcn.004197ac]
test eax, eax
je 0x40e54a
push dword [ebp - 0x130]
call dword [fcn.004197f0]
push 0xffffffffffffffff
mov dword [ebp - 0x138], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00404496
pop ecx
pop ecx
mov eax, dword [ebp - 0x138]
jmp 0x40f407
push dword [ebp - 0x134]
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x130]
call fcn.0040da6e
add esp, 0xc
mov dword [ebp - 0x74], eax
cmp dword [0x4199ec], 0
je 0x40e5ce
cmp dword [ebp - 0x74], 0
je 0x40e5ce
mov eax, dword [0x4199ec]
mov dword [ebp - 0x7c], eax
jmp 0x40e592
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x7c], eax
mov eax, dword [0x4199f0]
inc eax
mov dword [0x4199f0], eax
cmp dword [ebp - 0x7c], 0
je 0x40e5ce
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x74]
jne 0x40e5cc
mov eax, dword [0x4199f0]
inc eax
mov dword [0x4199f0], eax
push 0xffffffffffffffff
and dword [ebp - 0x13c], 0
lea eax, [ebp - 0x10]
push eax
call fcn.00404496
pop ecx
pop ecx
mov eax, dword [ebp - 0x13c]
jmp 0x40f407
jmp 0x40e57e
and dword [0x4199f0], 0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
mov dword [0x4199ec], eax
cmp dword [ebp - 0x74], 0
jne 0x40e681
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x80], eax
push dword [ebp - 0x134]
push 0
push dword [ebp - 0x80]
call dword [0x4197ec]
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0
je 0x40e638
mov eax, dword [ebp - 0x134]
and eax, 2
test eax, eax
jne 0x40e65d
push dword [ebp - 0x130]
push dword [ebp - 0x84]
call fcn.0040d2c0
test eax, eax
jne 0x40e65d
call dword [0x4197a4]
test eax, eax
jne 0x40e64a
push 0x7e
call dword [0x419820]
push dword [ebp - 0x84]
call dword [0x419774]
and dword [ebp - 0x84], 0
push 0xffffffffffffffff
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00404496
pop ecx
pop ecx
mov eax, dword [ebp - 0x140]
jmp 0x40f407
push 0
push 0
push dword [ebp - 0x74]
call fcn.00410b67
add esp, 0xc
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
call dword [fcn.004197ac]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
je 0x40e6cf
push 0xffffffffffffffff
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00404496
pop ecx
pop ecx
mov eax, dword [ebp - 0x144]
jmp 0x40f407
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x8c], eax
jmp 0x40e6e7
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
movsx eax, byte [eax]
test eax, eax
je 0x40e70d
mov eax, dword [ebp - 0x8c]
movsx eax, byte [eax]
cmp eax, 0x2f
jne 0x40e70b
mov eax, dword [ebp - 0x8c]
mov byte [eax], 0x5c
jmp 0x40e6da
push 0
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
push dword [ebp - 0x24]
call fcn.004084d4
test eax, eax
jne 0x40e733
cmp dword [ebp - 0x3c], 0
jne 0x40e733
mov ecx, 0xef00000f
call fcn.00410617
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x3c]
call fcn.00408803
push 0x40
call fcn.0041062f
pop ecx
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x6c]
push eax
push 0
push 0
push 0x40
push dword [ebp - 0x50]
push dword [ebp - 0x3c]
call fcn.00409308
test eax, eax
je 0x40e775
cmp dword [ebp - 0x6c], 0
jne 0x40e77f
mov ecx, 0xef00000f
call fcn.00410617
push 0
push 0
mov eax, dword [ebp - 0x50]
push dword [eax + 0x3c]
push dword [ebp - 0x3c]
call fcn.004085b2
push 0xf8
call fcn.0041062f
pop ecx
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x6c]
push eax
push 0
push 0
push 0xf8
push dword [ebp - 0x4c]
push dword [ebp - 0x3c]
call fcn.00409308
test eax, eax
je 0x40e7cd
cmp dword [ebp - 0x6c], 0
jne 0x40e7d7
mov ecx, 0xef00000f
call fcn.00410617
mov eax, dword [ebp - 0x4c]
cmp dword [eax], 0x4550
je 0x40e7ec
mov ecx, 0xef00000c
call fcn.00410617
mov eax, dword [ebp - 0x4c]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0x4c]
lea eax, [ecx + eax + 0x18]
sub eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ecx + 0x3c]
add ecx, eax
mov dword [ebp - 0x78], ecx
mov eax, dword [ebp - 0x4c]
movzx eax, word [eax + 6]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x78]
add ecx, eax
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x34], 0x600
push dword [ebp - 0x34]
call fcn.0041062f
pop ecx
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x34]
xor eax, eax
mov edi, dword [ebp - 0x1c]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
push 0x200
call fcn.0041062f
pop ecx
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x54], eax
mov ecx, 0x80
mov eax, 0x90909090
mov edi, dword [ebp - 0x54]
rep stosd dword es:[edi], eax
push 0
push 0
push 0
push dword [ebp - 0x3c]
call fcn.004085b2
lea eax, [ebp - 0x6c]
push eax
push 0
push 0
push dword [ebp - 0x70]
push dword [ebp - 0x1c]
push dword [ebp - 0x3c]
call fcn.00409308
test eax, eax
je 0x40e8a6
cmp dword [ebp - 0x6c], 0
jne 0x40e8b0
mov ecx, 0xef00000f
call fcn.00410617
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0xa8], ecx
mov eax, dword [ebp - 0xa8]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0xa8]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xa8]
movzx eax, word [eax + 6]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x98]
add ecx, eax
mov dword [ebp - 0x94], ecx
mov eax, dword [ebp - 0xa8]
add eax, 0x88
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa8]
add eax, 0x80
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xa8]
and dword [eax + 0x24], 0
mov eax, dword [ebp - 0xa8]
and dword [eax + 0x20], 0
mov eax, dword [ebp - 0xa8]
and dword [eax + 0x1c], 0
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0xa8]
mov ecx, dword [ecx + 0xa0]
mov dword [eax + 0x34], ecx
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0xa8]
mov ecx, dword [ecx + 0xa4]
mov dword [eax + 0x38], ecx
mov eax, dword [ebp - 0xa8]
cmp dword [eax + 0x84], 0
je 0x40e97b
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0xa8]
mov ecx, dword [ecx + 0x80]
mov dword [eax + 0x3c], ecx
jmp 0x40e982
mov eax, dword [ebp - 0x54]
and dword [eax + 0x3c], 0
mov eax, dword [ebp - 0x54]
add eax, 0x40
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
and dword [eax], 0
mov eax, dword [ebp - 0x54]
add eax, 0x44
mov dword [ebp - 0xa4], eax
jmp 0x40e9b4
mov eax, dword [ebp - 0x98]
add eax, 0x28
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
cmp eax, dword [ebp - 0x94]
jae 0x40ef0a
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x98]
mov ecx, dword [ecx + 0x14]
mov dword [eax], ecx
mov eax, dword [ebp - 0xa4]
add eax, 4
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x98]
mov ecx, dword [ecx + 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 0xa4]
add eax, 4
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x98]
mov ecx, dword [ecx + 0x24]
mov dword [eax], ecx
mov eax, dword [ebp - 0xa4]
add eax, 4
mov dword [ebp - 0xa4], eax
cmp dword [0x419714], 2
jae 0x40eb2a
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0xa0]
mov eax, dword [eax + 0xc]
cmp eax, dword [ecx]
ja 0x40eb2a
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0x98]
add eax, dword [ecx + 0x10]
mov ecx, dword [ebp - 0xa0]
cmp eax, dword [ecx]
jbe 0x40eb2a
push 0x200
mov eax, dword [ebp - 0x98]
push dword [eax + 0x10]
call fcn.0040dd35
pop ecx
pop ecx
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
call fcn.0041062f
pop ecx
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xa8]
push dword [eax + 0x38]
mov eax, dword [ebp - 0x98]
push dword [eax + 8]
call fcn.0040dd35
pop ecx
pop ecx
mov ecx, dword [ebp - 0xa8]
mov ecx, dword [ecx + 0x20]
add ecx, eax
mov eax, dword [ebp - 0xa8]
mov dword [eax + 0x20], ecx
push 0
push 0
mov eax, dword [ebp - 0x98]
push dword [eax + 0x14]
push dword [ebp - 0x3c]
call fcn.004085b2
lea eax, [ebp - 0x6c]
push eax
push 0
push 0
mov eax, dword [ebp - 0x98]
push dword [eax + 0x10]
push dword [ebp - 0x2c]
push dword [ebp - 0x3c]
call fcn.00409308
test eax, eax
je 0x40eb02
cmp dword [ebp - 0x6c], 0
jne 0x40eb0c
mov ecx, 0xef00000f
call fcn.00410617
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x34]
mov dword [eax + 0x14], ecx
mov eax, dword [ebp - 0x98]
mov dword [eax + 0x24], 0xc0000040
jmp 0x40ef05
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x90]
mov eax, dword [eax + 0xc]
cmp eax, dword [ecx]
ja 0x40ee64
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0x98]
add eax, dword [ecx + 0x10]
mov ecx, dword [ebp - 0x90]
cmp eax, dword [ecx]
jbe 0x40ee64
and dword [ebp - 0xb0], 0
mov dword [ebp - 4], 1
push 4
push 0x1000
mov eax, dword [ebp - 0x98]
push dword [eax + 0x10]
push 0
call dword [0x419838]
mov dword [ebp - 0xb0], eax
push 0
push 0
mov eax, dword [ebp - 0x98]
push dword [eax + 0x14]
push dword [ebp - 0x3c]
call fcn.004085b2
lea eax, [ebp - 0x6c]
push eax
push 0
push 0
mov eax, dword [ebp - 0x98]
push dword [eax + 0x10]
push dword [ebp - 0xb0]
push dword [ebp - 0x3c]
call fcn.00409308
test eax, eax
je 0x40ebcb
cmp dword [ebp - 0x6c], 0
jne 0x40ebd5
mov ecx, 0xef00000f
call fcn.00410617
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x90]
mov eax, dword [eax]
sub eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xb0]
add ecx, eax
mov dword [ebp - 0xb4], ecx
and dword [ebp - 0xbc], 0
jmp 0x40ec16
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x90]
mov eax, dword [eax + 4]
xor edx, edx
push 0x14
pop ecx
div ecx
cmp dword [ebp - 0xbc], eax
jae 0x40ee34
mov eax, dword [ebp - 0xbc]
imul eax, eax, 0x14
mov ecx, dword [ebp - 0xb4]
cmp dword [ecx + eax + 0xc], 0
jne 0x40ec4d
jmp 0x40ee34
mov eax, dword [ebp - 0xbc]
imul eax, eax, 0x14
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ebp - 0xb0]
add edx, dword [ecx + eax + 0xc]
sub edx, dword [ebp - 0xb8]
mov dword [ebp - 0xc4], edx
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0xb0]
add ecx, dword [eax + 0x10]
cmp dword [ebp - 0xc4], ecx
jbe 0x40ec8e
jmp 0x40ee34
mov eax, dword [ebp - 0xc4]
movsx eax, byte [eax]
test eax, eax
jne 0x40eca0
jmp 0x40ee34
and dword [ebp - 0xc0], 0
push dword [ebp - 0xc4]
push dword [ebp - 0x60]
call fcn.00404f80
pop ecx
pop ecx
test eax, eax
jne 0x40ecc0
jmp 0x40ee02
and dword [0x4199f0], 0
push dword [ebp - 0xc4]
call fcn.00413176
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0
jne 0x40edfc
cmp dword [0x4199f0], 0
je 0x40ecf3
jmp 0x40edfe
mov edi, dword [ebp - 0xc4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push dword [ebp - 0x24]
call fcn.0041159f
pop ecx
pop ecx
mov dword [ebp - 0xc8], eax
mov dword [ebp - 4], 2
push 0x5c
push dword [ebp - 0xc8]
call fcn.00404700
pop ecx
pop ecx
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
je 0x40ed47
mov eax, dword [ebp - 0xcc]
inc eax
mov dword [ebp - 0xcc], eax
jmp 0x40ed53
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], eax
mov edi, dword [ebp - 0xc4]
mov edx, dword [ebp - 0xcc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov eax, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push dword [ebp - 0xc8]
call fcn.00413176
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0
jne 0x40edd5
cmp dword [0x4199f0], 0
je 0x40edae
push 1
lea eax, [ebp - 0x10]
push eax
call fcn.00404496
pop ecx
pop ecx
jmp 0x40edfe
push 0x7e
call dword [0x419820]
push 0xffffffffffffffff
and dword [ebp - 0x148], 0
lea eax, [ebp - 0x10]
push eax
call fcn.00404496
pop ecx
pop ecx
mov eax, dword [ebp - 0x148]
jmp 0x40f407
mov dword [ebp - 4], 1
call fcn.0040ede3
jmp 0x40edfc
jmp 0x40ee02
mov byte [ebp - 0x5c], 1
cmp dword [ebp - 0xc0], 0
je 0x40ee2f
mov eax, dword [ebp - 0x9c]
push dword [eax]
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
call fcn.0040d93b
add esp, 0xc
mov ecx, dword [ebp - 0x9c]
mov dword [ecx], eax
jmp 0x40ec09
push 0x8000
push 0
push dword [ebp - 0xb0]
call dword [0x41983c]
and dword [ebp - 0xb0], 0
and dword [ebp - 4], 0
jmp 0x40ee64
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x98]
mov eax, dword [eax + 8]
cmp eax, dword [ecx + 0x10]
jbe 0x40ee89
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 8]
mov dword [ebp - 0x14c], eax
jmp 0x40ee98
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0xa8]
push dword [eax + 0x38]
push dword [ebp - 0x14c]
call fcn.0040dd35
pop ecx
pop ecx
mov ecx, dword [ebp - 0x98]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0xa8]
push dword [eax + 0x38]
mov eax, dword [ebp - 0x98]
push dword [eax + 8]
call fcn.0040dd35
pop ecx
pop ecx
mov ecx, dword [ebp - 0xa8]
mov ecx, dword [ecx + 0x24]
add ecx, eax
mov eax, dword [ebp - 0xa8]
mov dword [eax + 0x24], ecx
mov eax, dword [ebp - 0x98]
and dword [eax + 0x10], 0
mov eax, dword [ebp - 0x98]
and dword [eax + 0x14], 0
mov eax, dword [ebp - 0x98]
mov dword [eax + 0x24], 0xe0000080
jmp 0x40e9a5
and dword [ebp - 0xac], 0
jmp 0x40ef20
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0x10
jae 0x40ef63
cmp dword [ebp - 0xac], 0
jne 0x40ef34
jmp 0x40ef13
cmp dword [ebp - 0xac], 2
jne 0x40ef3f
jmp 0x40ef13
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xa8]
and dword [ecx + eax*8 + 0x7c], 0
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xa8]
and dword [ecx + eax*8 + 0x78], 0
jmp 0x40ef13
push 0xa
pop ecx
xor eax, eax
mov edi, dword [ebp - 0x98]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x98]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0xa8]
mov ecx, dword [ecx + 0x50]
mov dword [eax + 0xc], ecx
mov esi, 0x418d6c
mov edi, dword [ebp - 0x98]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0xa8]
mov ecx, dword [ecx + 0x38]
mov dword [eax + 8], ecx
mov eax, dword [ebp - 0x98]
mov dword [eax + 0x10], 0x200
mov eax, dword [ebp - 0x98]
mov dword [eax + 0x24], 0xe0000020
mov eax, dword [ebp - 0xa8]
mov dword [eax + 0x3c], 0x200
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0x50]
mov ecx, dword [ebp - 0xa8]
add eax, dword [ecx + 0x38]
mov ecx, dword [ebp - 0xa8]
mov dword [ecx + 0x50], eax
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0x1c]
mov ecx, dword [ebp - 0xa8]
add eax, dword [ecx + 0x3c]
mov ecx, dword [ebp - 0xa8]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x20], eax
push 5
pop ecx
mov esi, 0x418d08
mov edi, dword [ebp - 0x54]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0xa8]
mov ecx, dword [ecx + 0x28]
mov dword [eax + 1], ecx
call fcn.0040daf0
mov ecx, dword [ebp - 0xd0]
mov ecx, dword [ecx + 1]
xor ecx, eax
mov eax, dword [ebp - 0xd0]
mov dword [eax + 1], ecx
mov eax, dword [ebp - 0xd0]
add eax, 5
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0x24]
mov dword [eax + 1], ecx
mov eax, dword [ebp - 0xd0]
add eax, 5
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0x3c]
mov dword [eax + 1], ecx
mov eax, dword [ebp - 0xd0]
add eax, 5
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
inc eax
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
mov dword [eax + 1], 0x40de27
and dword [ebp - 0xd0], 0
xor eax, eax
mov edi, dword [ebp - 0x54]
add edi, 0x20
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x54]
mov dword [eax + 0x24], 8
mov eax, dword [ebp - 0xa8]
mov dword [eax + 0xa4], 8
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0xc]
add eax, 0x20
mov ecx, dword [ebp - 0xa8]
mov dword [ecx + 0xa0], eax
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0x98]
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0x28], ecx
mov eax, dword [ebp - 0xa8]
mov ax, word [eax + 6]
add ax, 1
mov ecx, dword [ebp - 0xa8]
mov word [ecx + 6], ax
mov eax, dword [ebp - 0xa8]
and dword [eax + 0x58], 0
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push dword [ebp - 0x28]
call dword [0x41973c]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xffffffff
jne 0x40f161
mov ecx, 0xef000011
call fcn.00410617
push 0
lea eax, [ebp - 0xd4]
push eax
push dword [ebp - 0x34]
push dword [ebp - 0x1c]
push dword [ebp - 0x58]
call dword [0x419850]
cmp dword [ebp - 0x2c], 0
je 0x40f197
push 0
lea eax, [ebp - 0xd4]
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
push dword [ebp - 0x58]
call dword [0x419850]
push 0
lea eax, [ebp - 0xd4]
push eax
push 0x200
push dword [ebp - 0x54]
push dword [ebp - 0x58]
call dword [0x419850]
push dword [ebp - 0x58]
call dword [0x41976c]
push dword [ebp - 0x58]
call dword [0x419738]
mov dword [0x4199e0], 1
push dword [ebp - 0x28]
call dword [fcn.004197f0]
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0
jne 0x40f200
push 0x35c
push 0x418d28
call fcn.00410a9f
pop ecx
pop ecx
mov ecx, 0xef000010
call fcn.00410617
movzx eax, byte [ebp - 0x5c]
test eax, eax
je 0x40f331
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0xe4]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0xf4], ecx
mov eax, dword [ebp - 0xf4]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0xf4]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf4]
movzx eax, word [eax + 6]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0xf0]
lea eax, [ecx + eax - 0x28]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0xe4]
mov eax, dword [ecx + eax + 0x3c]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xe4]
add eax, dword [ebp - 0xec]
mov dword [ebp - 0xe0], eax
push 0x5c
push dword [ebp - 0x24]
call fcn.00404700
pop ecx
pop ecx
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0
jne 0x40f2b5
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xdc], eax
jmp 0x40f2c2
mov eax, dword [ebp - 0xdc]
inc eax
mov dword [ebp - 0xdc], eax
push 0x14
call fcn.0041062f
pop ecx
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0xdc]
mov dword [eax], ecx
mov eax, dword [ebp - 0xf8]
mov ecx, dword [0x4199f4]
mov dword [eax + 0x10], ecx
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0xf4]
mov dword [eax + 0xc], ecx
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0xe0]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0xe4]
mov dword [eax + 8], ecx
mov eax, dword [ebp - 0xf8]
mov dword [0x4199f4], eax
call fcn.0040e39d
push 0xffffffffffffffff
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00404496
pop ecx
pop ecx
mov eax, dword [ebp - 0x150]
jmp 0x40f407
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret