Function at 0x1004d880
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10084c8c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2ec
push esi
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1004ec25
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x1c0], 0xfffffffa
mov dword [ebp - 0x44], 0xf0b96ca2
push 3
lea ecx, [ebp - 0x29c]
call fcn.1000c0a5
and dword [ebp - 4], 0
mov dword [ebp - 0x5c], 0
jmp 0x1004d8e3
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 3
jge 0x1004d8ff
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x29c]
call fcn.1000c112
mov dword [eax], 0x443250e6
jmp 0x1004d8dc
push 0x2998
push 1
push 0x2717
push 0x12f7
push 0x74e8
push 0x7002
lea eax, [ebp - 0x1c0]
push eax
push 0x61a7
lea eax, [ebp - 0x44]
push eax
call fcn.1004d365
add esp, 0x24
mov dword [ebp - 0x44], 2
jmp 0x1004d942
mov eax, dword [ebp - 0x44]
dec eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jl 0x1004d95e
mov byte [ebp - 0x2b], 0
movzx eax, byte [ebp - 0x2b]
test eax, eax
je 0x1004d95c
push 0
call fcn.10051a19
pop ecx
jmp 0x1004d93b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.1000c10d
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x54]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x218], 0xfffffffe
mov dword [ebp - 0x78], 0
jmp 0x1004d9a3
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 3
jge 0x1004d9b9
mov eax, dword [ebp - 0x78]
mov dword [ebp + eax*4 - 0x2e4], 0xeac8b13e
jmp 0x1004d99c
mov dword [ebp - 0x20], 0
jmp 0x1004d9c9
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jg 0x1004dab8
mov dword [ebp - 0x1b0], 0x210e164c
mov dword [ebp - 0x200], 1
cmp dword [ebp - 0x20], 0
jge 0x1004d9f9
mov dword [ebp - 0xe8], 1
jmp 0x1004da00
and dword [ebp - 0xe8], 0
cmp dword [ebp - 0xe8], 0
je 0x1004da15
mov dword [ebp - 0x1a8], 1
jmp 0x1004da1c
and dword [ebp - 0x1a8], 0
mov eax, dword [ebp - 0x1b0]
sub eax, dword [ebp - 0x1a8]
jne 0x1004da62
cmp dword [ebp - 0x200], 0x4e79
jl 0x1004da42
mov dword [ebp - 0x208], 1
jmp 0x1004da49
and dword [ebp - 0x208], 0
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x2e4], 0
jne 0x1004da62
and dword [ebp - 0xcc], 0
jmp 0x1004da6c
mov dword [ebp - 0xcc], 1
mov eax, dword [ebp - 0x1b0]
imul eax, dword [ebp - 0xcc]
test eax, eax
je 0x1004da93
mov byte [ebp - 0x2f], 0
movzx eax, byte [ebp - 0x2f]
test eax, eax
je 0x1004da91
push 0
call fcn.10051771
pop ecx
jmp 0x1004dab3
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x1004dab3
push 0x7b67
push 0x83b
push 1
call fcn.1004d42e
add esp, 0xc
jmp 0x1004d9c2
mov dword [ebp - 0x20], 0
jmp 0x1004dac8
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x1c
jge 0x1004db6b
mov dword [ebp - 0x64], 0
jmp 0x1004dae2
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 4
jge 0x1004daf8
mov eax, dword [ebp - 0x64]
mov dword [ebp + eax*4 - 0x270], 3
jmp 0x1004dadb
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x270], 0xd
jmp 0x1004db26
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x270]
inc eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x270], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x270], 0x11
jl 0x1004db58
mov dword [ebp - 0x210], 0xf1e283d1
push 0
lea eax, [ebp - 0x210]
push eax
push 0x1697
call fcn.10051d06
add esp, 0xc
jmp 0x1004db0b
cmp dword [ebp - 0x218], 0
je 0x1004db66
jmp 0x1004dac1
jmp 0x1004dac1
and dword [ebp - 0x84], 0
jmp 0x1004db8a
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x18]
add eax, 0x28
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x84], eax
jge 0x1004ec23
mov dword [ebp - 0x10], 0xffffffff
push 3
lea ecx, [ebp - 0xbc]
call fcn.1000c0a5
mov dword [ebp - 4], 1
push 2
lea ecx, [ebp - 0x98]
call fcn.1000c0a5
mov byte [ebp - 4], 2
mov dword [ebp - 0xa8], 2
mov dword [ebp - 0x204], 0x475678d5
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x1c], 0
jmp 0x1004dbf9
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x1004dc15
push dword [ebp - 0x1c]
lea ecx, [ebp - 0xbc]
call fcn.1000c112
mov dword [eax], 0x2071
jmp 0x1004dbf2
push 0x5ce0
push 0
push 0xfeb
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.10055a3e
add esp, 0x14
mov dword [ebp - 0x1c], 0
jmp 0x1004dc44
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x1004dc5a
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0xb0], 0xde7504ed
jmp 0x1004dc3d
xor eax, eax
jne 0x1004dcd3
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x284], eax
push 0
lea ecx, [ebp - 0xbc]
call fcn.1000c112
mov ecx, dword [ebp - 0x10]
cmp dword [eax], ecx
je 0x1004dc87
mov dword [ebp - 0x1a0], 1
jmp 0x1004dc8e
and dword [ebp - 0x1a0], 0
cmp dword [ebp - 0x1a0], 0xb583
jle 0x1004dcb8
push 0
lea ecx, [ebp - 0xbc]
call fcn.1000c112
cmp dword [eax], 0
je 0x1004dcb8
mov dword [ebp - 0xc8], 1
jmp 0x1004dcbf
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xc8], eax
jne 0x1004dcd3
and dword [ebp - 0x194], 0
jmp 0x1004dcdd
mov dword [ebp - 0x194], 1
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x194], eax
jl 0x1004dcf4
mov dword [ebp - 0xd4], 1
jmp 0x1004dcfb
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0xd4]
sub eax, 0xa9da
mov dword [ebp - 0x144], eax
push 0
lea ecx, [ebp - 0x98]
call fcn.1000c112
mov ecx, dword [ebp - 0x144]
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x144]
jl 0x1004dd38
mov dword [ebp - 0xdc], 1
jmp 0x1004dd3f
and dword [ebp - 0xdc], 0
push 0
lea ecx, [ebp - 0xbc]
call fcn.1000c112
mov ecx, dword [ebp - 0xdc]
cmp ecx, dword [eax]
jg 0x1004dd62
mov dword [ebp - 0x17c], 1
jmp 0x1004dd69
and dword [ebp - 0x17c], 0
cmp dword [ebp - 0x17c], 0xa167
jne 0x1004dd81
mov dword [ebp - 0xe4], 1
jmp 0x1004dd88
and dword [ebp - 0xe4], 0
cmp dword [ebp - 0xe4], 8
jge 0x1004de86
mov dword [ebp - 0x1f8], 0x2a3
mov dword [ebp - 0x10], 0
jmp 0x1004ddaf
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x17
jl 0x1004de81
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x80], 0
jmp 0x1004ddd0
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 3
jge 0x1004dde6
mov eax, dword [ebp - 0x80]
mov dword [ebp + eax*4 - 0x2f0], 0x2a04f777
jmp 0x1004ddc9
push 1
lea ecx, [ebp - 0x98]
call fcn.1000c112
cmp dword [eax], 0
je 0x1004ddfd
jmp 0x1004de81
mov dword [ebp - 0x4c], 0
jmp 0x1004de0d
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xe
jne 0x1004de7c
mov eax, dword [ebp - 0x1f8]
add eax, dword [ebp - 0x4c]
je 0x1004de3c
push 1
lea ecx, [ebp - 0x98]
call fcn.1000c112
push 4
pop ecx
shl ecx, 0
mov eax, dword [eax]
mov dword [ebp + ecx - 0x2f0], eax
jmp 0x1004de7a
mov byte [ebp - 0x31], 0
movzx eax, byte [ebp - 0x31]
test eax, eax
je 0x1004de7a
push 0
push 0x2a02
push 0x56d2
push 0x52f2
push 0x5612
push 0x43f7
push 0x14a6
push 0x4d9b
push 0x13e
call fcn.1004d736
add esp, 0x24
jmp 0x1004de06
jmp 0x1004dda8
jmp 0x1004e057
mov dword [ebp - 0x6c], 0xfffb
mov dword [ebp - 0x10], 0
jmp 0x1004de9d
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jg 0x1004df36
mov dword [ebp - 0x1cc], 0xffffffff
push dword [ebp - 0x10]
lea ecx, [ebp - 0xbc]
call fcn.1000c112
mov dword [ebp - 0x14c], eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0xbc]
call fcn.1000c112
mov ecx, dword [ebp - 0x14c]
mov eax, dword [eax]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x98]
call fcn.1000c112
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
mov ecx, dword [ebp - 0x14c]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0xec]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x6c]
mov dword [ebp + eax - 0xb0], ecx
push dword [ebp - 0x10]
lea ecx, [ebp - 0xbc]
call fcn.1000c112
mov eax, dword [eax]
mov dword [ebp - 0x1cc], eax
jmp 0x1004de96
cmp dword [ebp - 0x6c], 0
je 0x1004df51
mov eax, 0x9cde30ec
test eax, eax
je 0x1004df51
mov dword [ebp - 0xfc], 1
jmp 0x1004df58
and dword [ebp - 0xfc], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xb0]
mov dword [ebp - 0x2a0], eax
push 4
pop eax
imul eax, eax, 0
mov esi, dword [ebp + eax - 0xb0]
imul esi, dword [ebp - 0xa8]
push 0
lea ecx, [ebp - 0x98]
call fcn.1000c112
cmp esi, dword [eax]
jg 0x1004df9c
mov dword [ebp - 0x1a4], 1
jmp 0x1004dfa3
and dword [ebp - 0x1a4], 0
cmp dword [ebp - 0x1a4], 0
jle 0x1004dfb8
mov dword [ebp - 0xf4], 1
jmp 0x1004dfbf
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0xf4]
sub eax, 0xc7bc
cmp dword [ebp - 0x10], eax
jge 0x1004dfdb
mov dword [ebp - 0x154], 1
jmp 0x1004dfe2
and dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x154], eax
jl 0x1004dff9
mov dword [ebp - 0x184], 1
jmp 0x1004e000
and dword [ebp - 0x184], 0
mov eax, dword [ebp - 0xfc]
cmp eax, dword [ebp - 0x184]
je 0x1004e01a
mov dword [ebp - 0x104], 1
jmp 0x1004e021
and dword [ebp - 0x104], 0
push 0
lea ecx, [ebp - 0x98]
call fcn.1000c112
mov ecx, dword [ebp - 0x104]
cmp ecx, dword [eax]
je 0x1004e044
mov dword [ebp - 0x15c], 1
jmp 0x1004e04b
and dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x204], eax
cmp dword [ebp - 0x8c], 0
jne 0x1004e0cc
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xb0], 0x3b9fe29
jg 0x1004e07f
mov dword [ebp - 0x1d4], 1
jmp 0x1004e086
and dword [ebp - 0x1d4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xb0]
mov dword [ebp - 0x2b0], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x27c], eax
push 0
lea ecx, [ebp - 0xbc]
call fcn.1000c112
cmp dword [eax], 0
jne 0x1004e0cc
and dword [ebp - 0x10c], 0
jmp 0x1004e0d6
mov dword [ebp - 0x10c], 1
cmp dword [ebp - 0x10c], 6
jne 0x1004e0eb
mov dword [ebp - 0x19c], 1
jmp 0x1004e0f2
and dword [ebp - 0x19c], 0
mov esi, dword [ebp - 0x19c]
neg esi
push 0
lea ecx, [ebp - 0x98]
call fcn.1000c112
cmp esi, dword [eax]
je 0x1004e117
mov dword [ebp - 0x114], 1
jmp 0x1004e11e
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x8c]
cmp eax, dword [ebp - 0x114]
jge 0x1004e138
mov dword [ebp - 0x164], 1
jmp 0x1004e13f
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0xa8]
cmp dword [ebp - 0x164], eax
jg 0x1004e159
mov dword [ebp - 0x11c], 1
jmp 0x1004e160
and dword [ebp - 0x11c], 0
push 1
lea ecx, [ebp - 0x98]
call fcn.1000c112
mov ecx, dword [ebp - 0x11c]
cmp ecx, dword [eax]
jg 0x1004e183
mov dword [ebp - 0x18c], 1
jmp 0x1004e18a
and dword [ebp - 0x18c], 0
push 4
pop eax
imul eax, eax, 0
imul eax, dword [ebp + eax - 0xb0], 0x2619
mov ecx, dword [ebp - 0x18c]
add ecx, 6
cmp eax, ecx
jge 0x1004e1b4
mov dword [ebp - 0x124], 1
jmp 0x1004e1bb
and dword [ebp - 0x124], 0
cmp dword [ebp - 0x124], 0xf95
jl 0x1004e1d3
mov dword [ebp - 0x16c], 1
jmp 0x1004e1da
and dword [ebp - 0x16c], 0
push 0
lea ecx, [ebp - 0x98]
call fcn.1000c112
mov ecx, dword [ebp - 0x16c]
add ecx, dword [eax]
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0xb0], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x98]
call fcn.1000c10d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xbc]
call fcn.1000c10d
mov dword [ebp - 0x40], 0x62d5e48d
mov dword [ebp - 0x40], 0
jmp 0x1004e231
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x14
jl 0x1004e3a7
mov dword [ebp - 0x14], 0xfffa
mov dword [ebp - 0x12c], 0xedade098
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x12c], eax
jge 0x1004e26c
mov dword [ebp - 0x1ac], 1
jmp 0x1004e273
and dword [ebp - 0x1ac], 0
cmp dword [ebp - 0x1ac], 0xc45c1d10
jne 0x1004e28b
mov dword [ebp - 0x134], 1
jmp 0x1004e292
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x134], eax
jg 0x1004e2a9
mov dword [ebp - 0x174], 1
jmp 0x1004e2b0
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x174], eax
jne 0x1004e2c7
mov dword [ebp - 0x13c], 1
jmp 0x1004e2ce
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x13c], eax
jl 0x1004e2e5
mov dword [ebp - 0xc4], 1
jmp 0x1004e2ec
and dword [ebp - 0xc4], 0
cmp dword [ebp - 0xc4], 0xcba86ba4
je 0x1004e304
mov dword [ebp - 0xd0], 1
jmp 0x1004e30b
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0xd0]
sub eax, dword [ebp - 0x14]
cmp dword [ebp - 0x14], eax
jg 0x1004e328
mov dword [ebp - 0x224], 1
jmp 0x1004e32f
and dword [ebp - 0x224], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x274], eax
xor eax, eax
je 0x1004e38e
mov dword [ebp - 0x14], 0x11
jmp 0x1004e34c
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x31
jl 0x1004e38c
mov dword [ebp - 0x7c], 0
jmp 0x1004e362
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 1
jge 0x1004e378
mov eax, dword [ebp - 0x7c]
mov dword [ebp + eax*4 - 0x1dc], 0x3691f6f4
jmp 0x1004e35b
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x1dc], 0
je 0x1004e38a
jmp 0x1004e38c
jmp 0x1004e345
jmp 0x1004e3a2
mov byte [ebp - 0x2a], 0
movzx eax, byte [ebp - 0x2a]
test eax, eax
je 0x1004e3a2
push 0
call fcn.1004fade
pop ecx
jmp 0x1004e22a
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x24]
and eax, 0x20000000
je 0x1004e3c0
mov dword [ebp - 0xd8], 1
jmp 0x1004e3c7
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x24]
and eax, 0x40000000
je 0x1004e3ec
mov dword [ebp - 0xe0], 1
jmp 0x1004e3f3
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x24]
and eax, 0x80000000
je 0x1004e418
mov dword [ebp - 0xc0], 1
jmp 0x1004e41f
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x3c], 0x8ee41b66
mov dword [ebp - 0x28], 0xe01b17d7
mov dword [ebp - 0x38], 1
mov dword [ebp - 0xa0], 0x1b0cadfb
mov dword [ebp - 0x128], 0x2920
mov dword [ebp - 0x138], 0xfffffff7
mov dword [ebp - 0x28c], 0x6e3268dd
mov dword [ebp - 0x240], 0xca0becc3
mov dword [ebp - 0x23c], 0xca0becc3
mov dword [ebp - 0x238], 0xca0becc3
mov dword [ebp - 0x234], 0xca0becc3
mov dword [ebp - 0x158], 0xffffffff
mov dword [ebp - 0x88], 0x60abed99
push 2
lea ecx, [ebp - 0x230]
call fcn.1000c0a5
mov dword [ebp - 4], 3
mov dword [ebp - 0x48], 0
jmp 0x1004e4c8
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 3
jge 0x1004e4de
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0x2ac], 0
jmp 0x1004e4c1
push 0
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.1004d60f
add esp, 0xc
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x1004e539
cmp dword [ebp - 0x28], 0x22a5
jge 0x1004e514
mov dword [ebp - 0xf0], 1
jmp 0x1004e51b
and dword [ebp - 0xf0], 0
cmp dword [ebp - 0xf0], 0xe3e4
je 0x1004e539
cmp dword [ebp - 0x28], 0
je 0x1004e539
mov dword [ebp - 0xf8], 1
jmp 0x1004e540
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0xf8], eax
je 0x1004e566
mov eax, 0x703c
test eax, eax
je 0x1004e566
cmp dword [ebp - 0x38], 0
je 0x1004e566
mov dword [ebp - 0x100], 1
jmp 0x1004e56d
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x100]
jg 0x1004e58d
cmp dword [ebp - 0xa0], 0
je 0x1004e58d
mov dword [ebp - 0x108], 1
jmp 0x1004e594
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0xa0]
cmp dword [ebp - 0x108], eax
jge 0x1004e5ae
mov dword [ebp - 0x110], 1
jmp 0x1004e5b5
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x38]
imul eax, dword [ebp - 0x110]
cmp eax, dword [ebp - 0x128]
je 0x1004e5d3
mov dword [ebp - 0x118], 1
jmp 0x1004e5da
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x118]
jle 0x1004e5f1
mov dword [ebp - 0x20c], 1
jmp 0x1004e5f8
and dword [ebp - 0x20c], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x2d0], eax
cmp dword [ebp - 0x38], 0xffffffff
ja 0x1004e613
mov dword [ebp - 0x120], 1
jmp 0x1004e61a
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x38]
imul eax, dword [ebp - 0x120]
test eax, eax
jne 0x1004e62f
cmp dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x128]
mov dword [ebp - 0x138], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x28]
cmp dword [ebp + eax - 0x2ac], ecx
jge 0x1004e65c
mov dword [ebp - 0x130], 1
jmp 0x1004e663
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x138], eax
mov esi, dword [ebp - 0x3c]
push 1
lea ecx, [ebp - 0x230]
call fcn.1000c112
imul esi, dword [eax]
push 4
pop eax
imul eax, eax, 3
cmp esi, dword [ebp + eax - 0x240]
jne 0x1004e69d
mov dword [ebp - 0x140], 1
jmp 0x1004e6a4
and dword [ebp - 0x140], 0
mov eax, dword [ebp - 0x140]
sub eax, 0xfffffffd
mov dword [ebp - 0x148], eax
push 1
lea ecx, [ebp - 0x230]
call fcn.1000c112
mov ecx, dword [ebp - 0x148]
mov dword [eax], ecx
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x148]
jne 0x1004e6ec
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x2ac], 0
jne 0x1004e6ec
and dword [ebp - 0x150], 0
jmp 0x1004e6f6
mov dword [ebp - 0x150], 1
imul eax, dword [ebp - 0x150], 0x5e39
add eax, dword [ebp - 0x38]
cmp eax, 1
je 0x1004e714
mov dword [ebp - 0x1e4], 1
jmp 0x1004e71b
and dword [ebp - 0x1e4], 0
mov eax, dword [ebp - 0x88]
dec eax
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x28]
push 4
pop edx
shl edx, 0
imul ecx, dword [ebp + edx - 0x240]
imul eax, ecx
test eax, eax
je 0x1004e767
mov eax, 0xc964
test eax, eax
je 0x1004e767
mov dword [ebp - 0x160], 1
jmp 0x1004e76e
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x28], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.1000c10d
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x24]
and eax, 0x2000000
je 0x1004e80e
push 0x4000
mov eax, dword [ebp - 0x18]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x18]
push dword [eax + 8]
push 0x7738
push 0x7dd7
call fcn.1004af9c
pop ecx
pop ecx
call eax
mov dword [ebp - 0x74], 0x68ec0ae9
mov dword [ebp - 0x74], 0
jmp 0x1004e7ce
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0xb
jne 0x1004e7f2
mov byte [ebp - 0x2c], 0
push 0x594e
lea eax, [ebp - 0x2c]
push eax
push 0x40e
push 1
call fcn.1004d4a8
add esp, 0x10
jmp 0x1004e7c7
mov byte [ebp - 0x2e], 0
movzx eax, byte [ebp - 0x2e]
test eax, eax
je 0x1004e809
push 0x9d7
call dword [sym.imp.KERNEL32.dll_ExitProcess]
jmp 0x1004db74
lea eax, [ebp - 0x220]
push eax
push 0x3325
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1ec]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0x15d5
lea eax, [ebp - 0x1d8]
push eax
call fcn.1004fcb3
add esp, 0x20
mov dword [ebp - 0x2d8], 0xffffffff
mov dword [ebp - 0x2d4], 0xfffffffa
mov dword [ebp - 0x2cc], 6
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x2c0], 0xdba33992
push 3
lea ecx, [ebp - 0x2bc]
call fcn.1000c0a5
mov dword [ebp - 4], 4
mov dword [ebp - 0x288], 0x35ca
mov dword [ebp - 0x1f4], 0x39ec
push 1
push 0x7b67
push 0x4ff3
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2bc]
push eax
push 0x55d3
call fcn.1004d525
add esp, 0x18
mov byte [ebp - 0x30], 0
movzx eax, byte [ebp - 0x30]
test eax, eax
je 0x1004e8e3
push 1
push 0x5492
push 0x2cee
call fcn.1004d60f
add esp, 0xc
push 1
lea eax, [ebp - 0x1f4]
push eax
call fcn.1004d67b
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2bc]
call fcn.1000c10d
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x198]
push eax
push 0xfd4
push 1
call fcn.1004d6c6
add esp, 0x14
mov dword [ebp - 0x58], 0xcef054a2
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x60], 5
mov dword [ebp - 0x254], 0x311c3fc0
mov dword [ebp - 0x250], 0x311c3fc0
mov dword [ebp - 0x24c], 0x311c3fc0
mov dword [ebp - 0x248], 0x311c3fc0
lea ecx, [ebp - 0xa1]
call fcn.1000c121
push eax
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x2f8]
call fcn.1000c124
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x260]
call fcn.1000c0e7
mov dword [ebp - 4], 5
push 2
lea ecx, [ebp - 0x1bc]
call fcn.1000c0a5
mov byte [ebp - 4], 6
mov dword [ebp - 0x9c], 1
mov dword [ebp - 0x190], 0xffff
mov dword [ebp - 0x68], 0
jmp 0x1004e9ce
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 2
jge 0x1004e9ea
push dword [ebp - 0x68]
lea ecx, [ebp - 0x1bc]
call fcn.1000c112
mov dword [eax], 0xa41a80d1
jmp 0x1004e9c7
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x290], eax
mov eax, dword [ebp - 0x24]
add eax, 0x3dd7a9f7
cmp eax, 1
jge 0x1004ea0c
mov dword [ebp - 0x168], 1
jmp 0x1004ea13
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x168], eax
jl 0x1004ea2a
mov dword [ebp - 0x170], 1
jmp 0x1004ea31
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0x36dc9922
je 0x1004ea4c
mov dword [ebp - 0x70], 1
jmp 0x1004ea50
and dword [ebp - 0x70], 0
push 2
lea ecx, [ebp - 0x260]
call fcn.1000c112
mov ecx, dword [ebp - 0x70]
mov dword [eax], ecx
push 0
lea ecx, [ebp - 0x1bc]
call fcn.1000c112
mov ecx, dword [ebp - 0x70]
mov dword [eax], ecx
mov eax, dword [ebp - 0x9c]
cmp dword [ebp - 0x70], eax
jl 0x1004ea8b
mov dword [ebp - 0x178], 1
jmp 0x1004ea92
and dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x178], eax
jl 0x1004eaaf
cmp dword [ebp - 0x24], 0
je 0x1004eaaf
mov dword [ebp - 0x180], 1
jmp 0x1004eab6
and dword [ebp - 0x180], 0
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x180]
imul eax, dword [ebp - 0x58]
sub eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x9c]
jne 0x1004eaec
push 0
lea ecx, [ebp - 0x1bc]
call fcn.1000c112
cmp dword [eax], 0
je 0x1004eaec
mov dword [ebp - 0x188], 1
jmp 0x1004eaf3
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x188]
sub eax, dword [ebp - 0x58]
je 0x1004ebb7
mov dword [ebp - 0x1fc], 0
mov dword [ebp - 0x1c4], 0x448afe0a
mov dword [ebp - 0x1c8], 0xfffffff6
mov dword [ebp - 0x1d0], 0xffffffff
mov dword [ebp - 0x24], 0
jmp 0x1004eb3a
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x2f
jge 0x1004eb76
mov dword [ebp - 0x21c], 0
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
call fcn.100537d5
add esp, 0x18
jmp 0x1004eb33
push 1
lea eax, [ebp - 0x1fc]
push eax
lea eax, [ebp - 0x1c4]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x1c8]
push eax
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x1d0]
push eax
call fcn.1004d736
add esp, 0x24
jmp 0x1004ebcb
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x1004ebcb
push 0
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1bc]
call fcn.1000c10d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
call fcn.1000c10d
cmp dword [ebp - 0x198], 0
jbe 0x1004ec1e
lea eax, [ebp - 0x2c8]
push eax
push dword [ebp - 0x1d8]
push dword [ebp - 0x198]
mov eax, dword [ebp - 0x18]
push dword [eax + 8]
push 0x7738
push 0x635b
call fcn.1004af9c
pop ecx
pop ecx
call eax
jmp 0x1004db74
jmp 0x1004ec82
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1e8], eax
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp - 0x50]
mov dword [eax], 0
jmp 0x1004ec62
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x50]
mov dword [ecx], eax
mov eax, dword [ebp - 0x50]
cmp dword [eax], 4
jge 0x1004ec82
mov eax, dword [ebp - 0x50]
push dword [eax]
mov ecx, dword [ebp - 0x1f0]
call fcn.1000c112
mov dword [eax], 1
jmp 0x1004ec57
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret