Function at 0x40ef10
Capabilities:
Parse pe header

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x491fec
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x378
xor eax, eax
mov dword [ebp - 0x20], ecx
push esi
xorps xmm0, xmm0
mov dword [ebp - 0xd8], 0
push edi
movlpd qword [ebp - 0xf0], xmm0
mov dword [ebp - 0xd4], 7
mov word [ebp - 0xe8], ax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], 0xf
mov byte [ebp - 0xd0], al
mov dword [ebp - 0xb8], eax
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0xc]
mov edi, dword [eax]
mov esi, dword [eax + 4]
mov eax, edi
or eax, esi
jne 0x40efc0
mov edi, dword [ebx + 8]
push 0x48
push eax
lea esi, [edi + 8]
mov dword [edi], 0xc00000ef
push esi
call fcn.00470f10
add esp, 0xc
mov byte [esi], 0
mov byte [esi + 0x40], 0
jmp 0x40f2d0
xor eax, eax
mov dword [ebp - 0xfc], fcn.004775dc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xf8], eax
push 0x40
push eax
lea eax, [ebp - 0x180]
mov byte [ebp - 4], 1
push eax
call fcn.00470f10
add esp, 0xc
lea eax, [ebp - 0x288]
push 0x108
push 0
push eax
call fcn.00470f10
add esp, 8
lea eax, [ebp - 0x180]
push eax
push 0x40
push esi
mov esi, dword [ebp - 0x20]
push edi
mov ecx, dword [esi + 4]
call fcn.0041fbe0
mov eax, 0x5a4d
cmp word [ebp - 0x180], ax
je 0x40f04a
mov edi, dword [ebx + 8]
push 0x48
push 0
lea esi, [edi + 8]
mov dword [edi], 0xc000012f
push esi
call fcn.00470f10
add esp, 0xc
mov byte [esi], 0
mov byte [esi + 0x40], 0
jmp 0x40f2d0
push ecx
mov ecx, dword [ebx + 0xc]
lea eax, [ebp - 0x288]
push eax
mov eax, dword [ebp - 0x144]
cdq
add eax, dword [ecx]
push 0x108
adc edx, dword [ecx + 4]
mov ecx, dword [esi + 4]
push edx
push eax
call fcn.0041fbe0
cmp dword [ebp - 0x288], 0x4550
je 0x40f0a1
mov edi, dword [ebx + 8]
push 0x48
push 0
lea esi, [edi + 8]
mov dword [edi], 0xc000007b
push esi
call fcn.00470f10
add esp, 0xc
mov byte [esi], 0
mov byte [esi + 0x40], 0
jmp 0x40f2d0
mov eax, dword [ebp - 0x270]
mov edx, 0x10b
mov ecx, dword [ebp - 0x200]
cmp ax, dx
cmove ecx, dword [ebp - 0x210]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x40f29c
mov esi, dword [ebp - 0x1fc]
cmp ax, dx
cmove esi, dword [ebp - 0x20c]
push esi
mov dword [ebp - 0x78], esi
call fcn.004775f7
mov edi, eax
mov dword [ebp - 0x18], edi
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 1
push edi
mov edx, dword [eax]
add edx, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov ecx, dword [ecx + 4]
adc eax, 0
push esi
push eax
push edx
mov dword [ebp - 0xf8], edi
call fcn.0041fbe0
test eax, eax
jns 0x40f135
mov edi, dword [ebx + 8]
push 0x48
push 0
lea esi, [edi + 8]
mov dword [edi], eax
push esi
call fcn.00470f10
add esp, 0xc
mov byte [esi], 0
mov byte [esi + 0x40], 0
mov byte [ebp - 4], 5
jmp 0x40f2c0
mov edx, edi
mov dword [ebp - 0x24], edx
cmp esi, 0x28
ja 0x40f1e4
mov ecx, dword [edi + 0x14]
cmp ecx, dword [edi + 0x18]
cmovbe ecx, dword [edi + 0x18]
imul eax, ecx, 0xff
add eax, dword [edi + 0x24]
sub eax, dword [ebp - 0x1c]
push eax
mov dword [ebp - 0x78], eax
call fcn.004775f7
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov eax, edi
mov byte [ebp - 4], 6
mov edi, esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0xf8], edi
test eax, eax
je 0x40f188
push eax
call fcn.004775dc
add esp, 4
mov eax, dword [ebx + 0xc]
push ecx
mov byte [ebp - 4], 1
push esi
mov edx, dword [eax]
add edx, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
push dword [ebp - 0x78]
adc eax, 0
push eax
mov eax, dword [ebp - 0x20]
push edx
mov ecx, dword [eax + 4]
call fcn.0041fbe0
test eax, eax
jns 0x40f1e2
mov edi, dword [ebx + 8]
push 0x48
push 0
lea esi, [edi + 8]
mov dword [edi], eax
push esi
call fcn.00470f10
add esp, 0xc
mov byte [esi], 0
mov byte [esi + 0x40], 0
cmp dword [ebp - 0x24], 0
mov byte [ebp - 4], 7
je 0x40f2d0
mov eax, dword [ebp - 0x18]
jmp 0x40f2c7
mov edx, edi
mov eax, dword [ebp - 0x1c]
mov esi, dword [edx + 0x20]
mov ecx, dword [edx + 0x24]
sub esi, eax
add esi, edx
sub ecx, eax
mov dword [ebp - 0xf4], esi
add ecx, edx
mov esi, dword [edx + 0x1c]
sub esi, eax
mov dword [ebp - 0x94], ecx
mov eax, dword [edx + 0x14]
add esi, edx
mov dword [ebp - 0x14], esi
xor esi, esi
mov dword [ebp - 0x58], eax
test eax, eax
je 0x40f29c
nop dword [eax + eax]
mov eax, dword [ebx + 0x10]
cmp eax, 0xffff
ja 0x40f241
movzx eax, si
mov ecx, eax
mov edx, eax
mov eax, dword [ebp - 0x24]
add ecx, dword [eax + 0x10]
mov eax, dword [ebx + 0x10]
movzx eax, ax
cmp eax, ecx
jmp 0x40f291
cmp esi, dword [edx + 0x18]
jae 0x40fbaa
mov ecx, eax
mov eax, dword [ebp - 0xf4]
mov eax, dword [eax + esi*4]
sub eax, dword [ebp - 0x1c]
add eax, edx
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40f280
test dl, dl
je 0x40f27c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40f280
add eax, 2
add ecx, 2
test dl, dl
jne 0x40f260
xor eax, eax
jmp 0x40f285
sbb eax, eax
or eax, 1
mov edx, dword [ebp - 0x94]
test eax, eax
movzx edx, word [edx + esi*2]
je 0x40f2f2
mov edx, dword [ebp - 0x24]
inc esi
cmp esi, dword [ebp - 0x58]
jb 0x40f220
mov edi, dword [ebx + 8]
push 0x48
push 0
lea esi, [edi + 8]
mov dword [edi], 0xc0000225
push esi
call fcn.00470f10
add esp, 0xc
mov byte [esi], 0
mov byte [esi + 0x40], 0
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40f2d0
push eax
call fcn.004775dc
add esp, 4
lea ecx, [ebp - 0xf0]
call fcn.0040a2f0
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
mov esi, dword [ebp - 0x14]
mov ecx, 0
mov edi, dword [ebx + 0xc]
movzx eax, dx
mov edx, dword [ebp - 0x1c]
mov esi, dword [esi + eax*4]
mov eax, dword [ebx + 0xc]
add esi, dword [eax]
mov dword [ebp - 0xf0], esi
adc ecx, dword [eax + 4]
add edx, dword [eax]
mov eax, 0
mov dword [ebp - 0x14], ecx
adc eax, dword [edi + 4]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0xec], ecx
cmp ecx, eax
jb 0x40fb4e
ja 0x40f33c
cmp esi, edx
jb 0x40fb4e
mov edi, dword [ebx + 0xc]
xor eax, eax
mov edx, dword [ebp - 0x78]
add edx, dword [ebp - 0x1c]
adc eax, eax
add edx, dword [edi]
adc eax, dword [edi + 4]
mov edi, dword [ebp - 0x18]
cmp ecx, eax
ja 0x40fb4e
jb 0x40f363
cmp esi, edx
ja 0x40fb4e
push 0xff
lea eax, [ebp - 0x388]
push 0
push eax
call fcn.00470f10
add esp, 8
lea eax, [ebp - 0x388]
push eax
mov eax, dword [ebp - 0x20]
push 0xff
push dword [ebp - 0x14]
mov ecx, dword [eax + 4]
push esi
call fcn.0041fbe0
lea ecx, [ebp - 0x388]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x54], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f3b0
sub ecx, edx
lea eax, [ebp - 0x388]
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.00403060
push 0
push 0x4ab1a4
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 9
call fcn.00411200
cmp dword [ebp - 0x44], eax
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x9c], 0
cmovb eax, dword [ebp - 0x44]
cmp dword [ebp - 0x40], 0x10
push eax
cmovae ecx, dword [ebp - 0x54]
push ecx
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x98], 0xf
mov byte [ebp - 0xac], 0
call fcn.00403060
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x98]
mov eax, edx
mov ecx, dword [ebp - 0x9c]
sub eax, ecx
cmp eax, 4
jb 0x40f45c
lea eax, [ecx + 4]
cmp edx, 0x10
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0xac]
cmovae eax, dword [ebp - 0xac]
mov dword [eax + ecx], 0x6c6c642e
mov byte [eax + ecx + 4], 0
lea eax, [ebp - 0xac]
jmp 0x40f473
push 4
push str..dll
push dword [ebp - 0x14]
lea ecx, [ebp - 0xac]
push 4
call fcn.00411d20
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x90], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x80], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x98]
cmp edx, 0x10
jb 0x40f4e4
mov ecx, dword [ebp - 0xac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f4da
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fbd3
push edx
push ecx
call fcn.0046d4cf
add esp, 8
push 0
push 0x4ab1a8
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0xf
mov byte [ebp - 0xac], 0
call fcn.00411200
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
lea edx, [eax + 1]
mov eax, dword [ebp - 0x44]
cmp eax, edx
jb 0x40fbd8
sub eax, edx
or esi, 0xffffffff
cmp eax, esi
mov ecx, esi
cmovb ecx, eax
cmp dword [ebp - 0x40], 0x10
lea eax, [ebp - 0x54]
cmovae eax, dword [ebp - 0x54]
push ecx
add eax, edx
lea ecx, [ebp - 0x3c]
push eax
call fcn.00403060
push ecx
lea edx, [ebp - 0x90]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x74]
call fcn.004023a0
add esp, 4
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x74]
cmp dword [ebp - 0x60], 8
lea ecx, [ebp - 0xe8]
push dword [ebp - 0x64]
cmovae eax, dword [ebp - 0x74]
push eax
mov byte [ebp - 0xb6], 1
call fcn.00402f30
push 0
push 0x4ab1ac
lea ecx, [ebp - 0x3c]
call fcn.00411200
test eax, eax
sete byte [ebp - 0xb5]
test eax, eax
lea eax, [ebp - 0x3c]
jne 0x40f5c6
cmp dword [ebp - 0x28], 0x10
cmovae eax, dword [ebp - 0x3c]
inc eax
push eax
call fcn.0047f389
add esp, 4
mov word [ebp - 0xb8], ax
jmp 0x40f5dd
cmp dword [ebp - 0x28], 0x10
lea ecx, [ebp - 0xd0]
push dword [ebp - 0x2c]
cmovae eax, dword [ebp - 0x3c]
push eax
call fcn.00403060
push dword [ebx + 0x14]
xor eax, eax
mov ecx, 0x10b
cmp word [ebp - 0x270], cx
mov ecx, dword [ebp - 0x20]
setne al
push eax
push 0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0040e970
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x5c], 0
jne 0x40f82b
mov ecx, dword [ebp - 0xec]
lea eax, [ebp - 0x140]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0xe8]
mov dword [ebp - 0x13c], ecx
lea ecx, [ebp - 0x138]
push eax
call fcn.00402dc0
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x120]
call fcn.004096c0
mov ax, word [ebp - 0xb8]
mov word [ebp - 0x108], ax
movzx eax, byte [ebp - 0xb6]
mov byte [ebp - 0x106], al
movzx eax, byte [ebp - 0xb5]
mov byte [ebp - 0x105], al
mov eax, dword [ebx + 8]
mov dword [eax], 0x107
lea ecx, [eax + 8]
lea eax, [ebp - 0x140]
push eax
call fcn.0040ae70
mov byte [ecx + 0x40], 1
lea ecx, [ebp - 0x140]
call fcn.0040a2f0
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x40f6d1
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x40f6d1
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x14]
lock xadd dword [ecx + 8], esi
dec esi
jne 0x40f6d1
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x40f70f
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f705
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fbdd
push edx
push ecx
call fcn.0046d4cf
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
cmp edx, 0x10
jb 0x40f75b
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f751
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fbdd
push edx
push ecx
call fcn.0046d4cf
add esp, 8
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
cmp edx, 0x10
jb 0x40f7a8
mov ecx, dword [ebp - 0x90]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f79e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fbdd
push edx
push ecx
call fcn.0046d4cf
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
cmp edx, 0x10
jb 0x40f7f5
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f7eb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fbdd
push edx
push ecx
call fcn.0046d4cf
add esp, 8
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
mov byte [ebp - 4], 0x11
test edi, edi
je 0x40f818
push edi
call fcn.004775dc
add esp, 4
lea ecx, [ebp - 0xf0]
call fcn.0040a2f0
mov eax, dword [ebx + 8]
jmp 0x40f2dd
cmp byte [ebp - 0xb5], 0
je 0x40f9c1
cmp dword [ebp - 0x60], 8
lea eax, [ebp - 0x74]
mov ecx, dword [ebp - 0x20]
cmovae eax, dword [ebp - 0x74]
push eax
movzx eax, word [ebp - 0xb8]
push eax
lea eax, [ebp - 0x5c]
push eax
push dword [ebx + 8]
call fcn.0040eee0
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x40f882
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x40f882
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x14]
lock xadd dword [ecx + 8], esi
dec esi
jne 0x40f882
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x40f8c0
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f8b6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fbe2
push edx
push ecx
call fcn.0046d4cf
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
cmp edx, 0x10
jb 0x40f90c
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f902
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fbe2
push edx
push ecx
call fcn.0046d4cf
add esp, 8
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
cmp edx, 0x10
jb 0x40f959
mov ecx, dword [ebp - 0x90]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f94f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fbe2
push edx
push ecx
call fcn.0046d4cf
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
cmp edx, 0x10
jb 0x40f9a6
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f99c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fbe2
push edx
push ecx
call fcn.0046d4cf
add esp, 8
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
mov byte [ebp - 4], 0x12
jmp 0x40f80b
cmp dword [ebp - 0x60], 8
lea ecx, [ebp - 0x74]
lea eax, [ebp - 0x3c]
cmovae ecx, dword [ebp - 0x74]
cmp dword [ebp - 0x28], 0x10
push ecx
cmovae eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x5c]
push eax
push dword [ebx + 8]
call fcn.0040eee0
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x40fa0f
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x40fa0f
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x14]
lock xadd dword [ecx + 8], esi
dec esi
jne 0x40fa0f
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x40fa4d
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40fa43
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fbe2
push edx
push ecx
call fcn.0046d4cf
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
cmp edx, 0x10
jb 0x40fa99
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fa8f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fbe2
push edx
push ecx
call fcn.0046d4cf
add esp, 8
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
cmp edx, 0x10
jb 0x40fae6
mov ecx, dword [ebp - 0x90]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fadc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fbe2
push edx
push ecx
call fcn.0046d4cf
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
cmp edx, 0x10
jb 0x40fb33
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fb29
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fbe2
push edx
push ecx
call fcn.0046d4cf
add esp, 8
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
mov byte [ebp - 4], 0x13
jmp 0x40f80b
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp - 0x140]
call fcn.0040ae70
mov esi, dword [ebx + 8]
lea eax, [ebp - 0x140]
push eax
lea ecx, [esi + 8]
mov dword [esi], 0
call fcn.0040ae70
mov byte [ecx + 0x40], 1
lea ecx, [ebp - 0x140]
call fcn.0040a2f0
mov byte [ebp - 4], 0x14
test edi, edi
je 0x40fb98
push edi
call fcn.004775dc
add esp, 4
lea ecx, [ebp - 0xf0]
call fcn.0040a2f0
mov eax, esi
jmp 0x40f2dd
mov edi, dword [ebx + 8]
push 0x48
push 0
lea esi, [edi + 8]
mov dword [edi], 0xc0000225
push esi
call fcn.00470f10
add esp, 0xc
mov byte [esi], 0
mov byte [esi + 0x40], 0
mov byte [ebp - 4], 8
jmp 0x40f2c0
call fcn.00472aca
call fcn.00403440
call fcn.00472aca
call fcn.00472aca
int3