Function at 0x1004c2ee
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007508b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x2b8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1004d4b4
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x188], eax
mov dword [ebp - 0xf8], 0x6369
mov dword [ebp - 0x1b8], 0x10009248
cmp dword [ebp - 0xf8], 0x6460
jle 0x1004c3c7
and dword [ebp - 0x64], 0
jmp 0x1004c355
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0xc02
jge 0x1004c3c7
and dword [ebp - 0x60], 0
jmp 0x1004c36b
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0x30c5
jge 0x1004c3c5
mov eax, dword [ebp - 0x64]
or eax, dword [ebp - 0x60]
cdq
mov dword [ebp - 0x1c4], eax
mov dword [ebp - 0x1c0], edx
push dword [ebp - 0x1c0]
push dword [ebp - 0x1c4]
lea ecx, [ebp - 0x2b8]
call fcn.1000ac3e
pop ecx
pop ecx
mov dword [ebp - 0x1d8], eax
mov ecx, dword [ebp - 0x1d8]
call fcn.1002218f
push eax
call fcn.1005af25
pop ecx
lea ecx, [ebp - 0x2b8]
call fcn.10022185
jmp 0x1004c364
jmp 0x1004c34e
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1e4], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0xf8], 0x62f3
jge 0x1004c3ec
push dword [ebp - 0x1b8]
call fcn.1005af25
pop ecx
jmp 0x1004c408
or dword [ebp - 4], 0xffffffff
jmp 0x1004c412
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1ec], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x1dc]
movzx eax, byte [eax]
test eax, eax
je 0x1004c4a8
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x2c]
mov dword [eax], 0
jmp 0x1004c486
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 2
jge 0x1004c4a3
mov eax, dword [ebp - 0x2c]
push dword [eax]
mov ecx, dword [ebp - 0x1d4]
call fcn.1002246c
or dword [eax], 0xffffffff
jmp 0x1004c47b
jmp 0x1004d4b2
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 0x1ec]
mov dword [ebp - 0x1f4], eax
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x18], 0x4d00693e
mov dword [ebp - 0x74], 0x68bb
mov dword [ebp - 0x24], 0xaced
mov dword [ebp - 0x184], 9
mov dword [ebp - 0x180], 9
mov dword [ebp - 0x17c], 9
mov dword [ebp - 0x178], 9
mov dword [ebp - 0x34], 0x8069d1fe
mov dword [ebp - 0xd4], 0xde0d6158
mov dword [ebp - 0x1bc], 1
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x244], 0xfffffff6
mov dword [ebp - 0x240], 0xfffffff6
mov dword [ebp - 0x23c], 0xfffffff6
mov dword [ebp - 0x238], 0xfffffff6
push 4
pop eax
test eax, eax
je 0x1004c582
cmp dword [ebp - 0x18], 0
je 0x1004c582
mov dword [ebp - 0x168], 1
jmp 0x1004c589
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x168]
sub eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x74]
test eax, eax
je 0x1004c5ac
cmp dword [ebp - 0x74], 0
je 0x1004c5ac
mov dword [ebp - 0xb4], 1
jmp 0x1004c5b3
and dword [ebp - 0xb4], 0
cmp dword [ebp - 0xb4], 0xfffe
jbe 0x1004c5cb
mov dword [ebp - 0x160], 1
jmp 0x1004c5d2
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x160]
sub eax, dword [ebp - 0x74]
je 0x1004c8a9
push 3
lea ecx, [ebp - 0x94]
call fcn.100223ce
mov dword [ebp - 4], 2
mov dword [ebp - 0x88], 1
mov dword [ebp - 0x254], 8
mov dword [ebp - 0x48], 0
jmp 0x1004c619
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 3
jge 0x1004c635
push dword [ebp - 0x48]
lea ecx, [ebp - 0x94]
call fcn.1002246c
mov dword [eax], 0x8c537847
jmp 0x1004c612
mov dword [ebp - 0x18], 0
jmp 0x1004c645
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jg 0x1004c850
mov dword [ebp - 0x68], 1
push 4
pop eax
shl eax, 0
lea eax, [ebp + eax - 0x184]
mov dword [ebp - 0xb0], eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x94]
call fcn.1002246c
mov ecx, dword [ebp - 0xb0]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax]
sub eax, dword [ebp - 0x24]
cmp eax, 0xa9413e45
jb 0x1004c69f
mov dword [ebp - 0x114], 1
jmp 0x1004c6a6
and dword [ebp - 0x114], 0
push 1
lea ecx, [ebp - 0x94]
call fcn.1002246c
push dword [ebp - 0x18]
lea ecx, [ebp - 0x94]
call fcn.1002246c
mov esi, dword [eax]
neg esi
imul esi, dword [ebp - 0x114]
push dword [ebp - 0x18]
lea ecx, [ebp - 0x94]
call fcn.1002246c
cmp esi, dword [eax]
jle 0x1004c6ea
mov dword [ebp - 0xbc], 1
jmp 0x1004c6f1
and dword [ebp - 0xbc], 0
push 1
lea ecx, [ebp - 0x94]
call fcn.1002246c
mov ecx, dword [ebp - 0xbc]
imul ecx, dword [eax]
test ecx, ecx
je 0x1004c71c
xor eax, eax
inc eax
je 0x1004c71c
mov dword [ebp - 0x144], 1
jmp 0x1004c723
and dword [ebp - 0x144], 0
push dword [ebp - 0x18]
lea ecx, [ebp - 0x94]
call fcn.1002246c
mov ecx, dword [ebp - 0x144]
cmp ecx, dword [eax]
jne 0x1004c747
mov dword [ebp - 0xc4], 1
jmp 0x1004c74e
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xd4]
cmp eax, dword [ebp - 0x68]
jge 0x1004c774
mov dword [ebp - 0x11c], 1
jmp 0x1004c77b
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x34]
imul eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x88]
sub ecx, eax
je 0x1004c7b6
mov dword [ebp - 0x1e0], 2
lea eax, [ebp - 0x1e0]
push eax
push 0x5c1e
push 0
push 0
call fcn.100433c8
add esp, 0x10
jmp 0x1004c84b
mov dword [ebp - 0x24], 0
jmp 0x1004c7c6
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jg 0x1004c84b
mov dword [ebp - 0x1ac], 0x9363
mov dword [ebp - 0x1f0], 0x341a4633
push dword [ebp - 0x18]
lea ecx, [ebp - 0x94]
call fcn.1002246c
cmp dword [eax], 0
jne 0x1004c80c
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x184], 1
jl 0x1004c80c
and dword [ebp - 0xcc], 0
jmp 0x1004c816
mov dword [ebp - 0xcc], 1
mov eax, dword [ebp - 0x1ac]
cmp eax, dword [ebp - 0xcc]
jge 0x1004c830
mov dword [ebp - 0x15c], 1
jmp 0x1004c837
and dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x68]
add eax, dword [ebp - 0x15c]
mov dword [ebp - 0x1f0], eax
jmp 0x1004c7bf
jmp 0x1004c63e
mov esi, dword [ebp - 0xd4]
push 1
lea ecx, [ebp - 0x94]
call fcn.1002246c
mov edi, eax
push 0
lea ecx, [ebp - 0x94]
call fcn.1002246c
mov eax, dword [eax]
add eax, dword [edi]
imul eax, esi
mov ecx, dword [ebp - 0x88]
add ecx, eax
imul eax, ecx, 0x53ab
mov ecx, dword [ebp - 0x88]
sub ecx, eax
mov dword [ebp - 0x1b4], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.10022450
jmp 0x1004ca74
mov dword [ebp - 0x70], 0x8045
mov dword [ebp - 0x34], 0
jmp 0x1004c8c0
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xfffffff0
jne 0x1004ca74
mov dword [ebp - 0xdc], 0x87a905be
mov dword [ebp - 0xec], 0xd0122bf4
mov dword [ebp - 0x50], 0
jmp 0x1004c8ee
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 3
jge 0x1004c904
mov eax, dword [ebp - 0x50]
mov dword [ebp + eax*4 - 0x21c], 0x480d
jmp 0x1004c8e7
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x21c], 0
jne 0x1004ca52
push 4
pop eax
shl eax, 0
push 4
pop ecx
shl ecx, 0
mov ecx, dword [ebp + ecx - 0x184]
cmp ecx, dword [ebp + eax - 0x184]
jl 0x1004c93f
mov dword [ebp - 0x124], 1
jmp 0x1004c946
and dword [ebp - 0x124], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x21c]
add eax, dword [ebp - 0x124]
imul eax, eax, 0xab57
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0x96ef6a07
ja 0x1004c97d
mov dword [ebp - 0x14c], 1
jmp 0x1004c984
and dword [ebp - 0x14c], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x21c]
cmp dword [ebp - 0x14c], eax
jne 0x1004c9a4
mov dword [ebp - 0x1e8], 1
jmp 0x1004c9ab
and dword [ebp - 0x1e8], 0
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x70]
jl 0x1004c9bf
mov dword [ebp - 0xe4], 1
jmp 0x1004c9c6
and dword [ebp - 0xe4], 0
cmp dword [ebp - 0xe4], 0xcd7
jle 0x1004c9de
mov dword [ebp - 0x12c], 1
jmp 0x1004c9e5
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x1bc]
imul eax, dword [ebp - 0x12c]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0xec]
jge 0x1004ca0f
mov dword [ebp - 0x16c], 1
jmp 0x1004ca16
and dword [ebp - 0x16c], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x244]
cmp dword [ebp - 0x16c], eax
jne 0x1004ca37
mov dword [ebp - 0xf4], 1
jmp 0x1004ca3e
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0x70]
cmp dword [ebp - 0xf4], eax
jle 0x1004ca52
and dword [ebp - 0x134], 0
jmp 0x1004ca5c
mov dword [ebp - 0x134], 1
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x134]
mov dword [ebp + eax - 0x184], ecx
jmp 0x1004c8b9
mov dword [ebp - 0x98], 1
mov dword [ebp - 0x1c], 0xde9bf9f
mov dword [ebp - 0x3c], 0
jmp 0x1004ca95
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 3
jge 0x1004caab
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0xa4], 0x974a
jmp 0x1004ca8e
push 1
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x98]
push eax
push 0x5b06
push 0x4bb8
push 0x7a1b
call fcn.100490d9
add esp, 0x1c
mov dword [ebp - 0x1c], 2
jmp 0x1004cae1
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x1004cce7
mov dword [ebp - 0x1f8], 0x2570
push 4
lea ecx, [ebp - 0x228]
call fcn.100223ce
mov dword [ebp - 4], 3
mov dword [ebp - 0x28], 0
jmp 0x1004cb19
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
jge 0x1004cb2c
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x80], 0
jmp 0x1004cb12
push 0
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x6269
push 0xdab
push 0
push 0x45f4
call fcn.100405ad
add esp, 0x1c
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp + eax*4 - 0xa4]
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0x1c]
cmp dword [ebp + eax*4 - 0xa4], 0
je 0x1004cb8b
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xa4], 0
je 0x1004cb8b
mov dword [ebp - 0xfc], 1
jmp 0x1004cb92
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp + eax*4 - 0xa4]
cmp dword [ebp - 0xfc], eax
je 0x1004cbb0
mov dword [ebp - 0x154], 1
jmp 0x1004cbb7
and dword [ebp - 0x154], 0
cmp dword [ebp - 0x154], 7
jge 0x1004cbcc
mov dword [ebp - 0x104], 1
jmp 0x1004cbd3
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x104]
sub eax, dword [ebp - 0x98]
push 4
pop ecx
shl ecx, 0
cmp dword [ebp + ecx - 0xa4], eax
jl 0x1004cbfa
mov dword [ebp - 0x13c], 1
jmp 0x1004cc01
and dword [ebp - 0x13c], 0
cmp dword [ebp - 0x13c], 0xf5cbf793
jae 0x1004cc19
mov dword [ebp - 0x10c], 1
jmp 0x1004cc20
and dword [ebp - 0x10c], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x10c]
sub ecx, 0xfffb
imul ecx, dword [ebp + eax - 0xa4]
mov eax, dword [ebp - 0x1c]
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0xa4]
cmp ecx, dword [ebp + eax*4 - 0xa4]
jge 0x1004cc76
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x80], 0
jne 0x1004cc76
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x80], 0
jne 0x1004cc76
and dword [ebp - 0x164], 0
jmp 0x1004cc80
mov dword [ebp - 0x164], 1
mov eax, dword [ebp - 0x1f8]
cmp dword [ebp - 0x164], eax
jl 0x1004cca4
mov eax, dword [ebp - 0x1c]
cmp dword [ebp + eax*4 - 0xa4], 0
jne 0x1004cca4
and dword [ebp - 0xac], 0
jmp 0x1004ccae
mov dword [ebp - 0xac], 1
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xac]
mov dword [ebp + eax - 0x80], ecx
mov esi, dword [ebp - 0x98]
push 1
lea ecx, [ebp - 0x228]
call fcn.1002246c
mov dword [eax], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.10022450
jmp 0x1004cada
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0x5c]
mov ecx, dword [ecx]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0x20], eax
push 2
lea ecx, [ebp - 0x268]
call fcn.100223ce
mov dword [ebp - 4], 4
push 3
lea ecx, [ebp - 0x234]
call fcn.100223ce
mov byte [ebp - 4], 5
mov dword [ebp - 0x30], 0
jmp 0x1004cd31
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 2
jge 0x1004cd4d
push dword [ebp - 0x30]
lea ecx, [ebp - 0x268]
call fcn.1002246c
mov dword [eax], 0xffff
jmp 0x1004cd2a
push 0
push 0x70fe
push 1
push 0x73
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x234]
push eax
push 0x5cb6
push 0x4b3a
call fcn.10041e3d
add esp, 0x20
lea eax, [ebp - 0x234]
push eax
push 0x7241
push 0
call fcn.1004e4c7
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x234]
call fcn.10022450
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x268]
call fcn.10022450
and dword [ebp - 0x78], 0
jmp 0x1004cdbf
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x20]
add eax, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x78], eax
jge 0x1004d4b2
mov dword [ebp - 0xf0], 0xae9714a0
push 3
lea ecx, [ebp - 0x278]
call fcn.100223ce
mov dword [ebp - 4], 6
mov dword [ebp - 0xd0], 0x57bf5cd5
mov dword [ebp - 0xb8], 0x7aea
mov dword [ebp - 0x1c8], 0x100092a8
cmp dword [ebp - 0xb8], 0x7b6e
jle 0x1004ce75
and dword [ebp - 0x6c], 0
jmp 0x1004ce26
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x5907
jge 0x1004ce75
and dword [ebp - 0x54], 0
jmp 0x1004ce3c
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x7161
jge 0x1004ce73
mov eax, dword [ebp - 0x6c]
cdq
idiv dword [ebp - 0x54]
mov eax, edx
cdq
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 0x1cc], edx
push dword [ebp - 0x1cc]
push dword [ebp - 0x1d0]
mov ecx, 0x1061c7f8
call fcn.100221af
jmp 0x1004ce35
jmp 0x1004ce1f
mov dword [ebp - 0x100], 0x4ddb84c6
mov byte [ebp - 4], 7
cmp dword [ebp - 0xb8], 0x7aba
jge 0x1004ce9f
mov edx, dword [ebp - 0x1c8]
mov ecx, 0x1061c7f8
call fcn.10024b94
jmp 0x1004cebb
mov dword [ebp - 4], 6
jmp 0x1004cecb
mov dword [ebp - 0x58], 0x9b7d6b59
push 1
lea ecx, [ebp - 0x204]
call fcn.100223ce
mov byte [ebp - 4], 9
push 1
push 0x1d05
push 0x5c28
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x278]
push eax
push 0
call fcn.10043ed7
add esp, 0x18
mov dword [ebp - 0x14], 0
jmp 0x1004cf14
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x1004cf2a
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x174], 0x7a6deec5
jmp 0x1004cf0d
mov dword [ebp - 0x14], 0
jmp 0x1004cf3a
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
jge 0x1004cf50
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x2c8], 0xa017779a
jmp 0x1004cf33
mov dword [ebp - 0x14], 0
jmp 0x1004cf60
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x1004cf7c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x204]
call fcn.1002246c
mov dword [eax], 0x9e68fc78
jmp 0x1004cf59
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x174]
neg eax
je 0x1004d01c
cmp dword [ebp - 0xd0], 0
je 0x1004cfbf
push 0
lea ecx, [ebp - 0x204]
call fcn.1002246c
cmp dword [eax], 0
je 0x1004cfbf
mov dword [ebp - 0xc0], 1
jmp 0x1004cfc6
and dword [ebp - 0xc0], 0
cmp dword [ebp - 0xc0], 5
jl 0x1004cfe1
mov eax, 0x34ce5fef
test eax, eax
jne 0x1004cfe1
and dword [ebp - 0xc8], 0
jmp 0x1004cfeb
mov dword [ebp - 0xc8], 1
mov eax, dword [ebp - 0x58]
add eax, dword [ebp - 0xc8]
jne 0x1004d002
mov dword [ebp - 0xd8], 1
jmp 0x1004d009
and dword [ebp - 0xd8], 0
mov esi, dword [ebp - 0xd0]
push 0
lea ecx, [ebp - 0x204]
call fcn.1002246c
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x174]
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x29c], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x174], 0xec76
jle 0x1004d05a
mov dword [ebp - 0xe0], 1
jmp 0x1004d061
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0xe0]
sub eax, 0x959a
cmp dword [ebp - 0x58], eax
jle 0x1004d07d
mov dword [ebp - 0xe8], 1
jmp 0x1004d084
and dword [ebp - 0xe8], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xe8]
sub ecx, dword [ebp + eax - 0x174]
cmp ecx, dword [ebp - 0xf0]
jl 0x1004d0ab
mov dword [ebp - 0xa8], 1
jmp 0x1004d0b2
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xf0]
add eax, dword [ebp - 0xa8]
mov dword [ebp - 0x100], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x204]
call fcn.10022450
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.10022450
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x10], 0
jne 0x1004d44d
push 0x5a22
lea eax, [ebp - 0x158]
push eax
push 1
lea eax, [ebp - 0x84]
push eax
push 0x66f4
push 0x5a65
push 0x1cbc
lea eax, [ebp - 0x1f4]
push eax
push 0x5c0a
push 0
push 0x2428
lea eax, [ebp - 0x20]
push eax
push 0x2ede
call fcn.10042e27
add esp, 0x34
mov dword [ebp - 0x40], 0xb3ae3556
mov dword [ebp - 0x248], 0xeb905d09
mov dword [ebp - 0x4c], 0xffffffff
mov dword [ebp - 0x294], 0x9ce456
mov dword [ebp - 0x190], 1
mov dword [ebp - 0x18c], 0x3ffaf072
mov dword [ebp - 0x27c], 0xade661fb
mov dword [ebp - 0x198], 0x76acb8f
mov dword [ebp - 0x128], 0xc28cae2f
mov dword [ebp - 0x1a0], 0xffffffff
push 2
lea ecx, [ebp - 0x210]
call fcn.100223ce
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x38], 0
jmp 0x1004d1b9
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jge 0x1004d1cf
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x150], 0xdbc1c234
jmp 0x1004d1b2
push 0xff6
lea eax, [ebp - 0x210]
push eax
push 0
push 0x17b5
push 0x5986
lea eax, [ebp - 0x38]
push eax
push 0
push 0xe51
call fcn.1003d701
add esp, 0x20
mov dword [ebp - 0x40], 0
jmp 0x1004d20a
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xfffffff9
jle 0x1004d2d4
mov dword [ebp - 0x24c], 1
mov dword [ebp - 0x250], 0xfffffff6
mov dword [ebp - 0x258], 0xbf48c443
mov dword [ebp - 0x290], 0xfffffffe
push 1
lea ecx, [ebp - 0x288]
call fcn.100223ce
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x298], 0x7631615e
mov dword [ebp - 0x44], 0
jmp 0x1004d267
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 1
jge 0x1004d283
push dword [ebp - 0x44]
lea ecx, [ebp - 0x288]
call fcn.1002246c
mov dword [eax], 0x4746a1c1
jmp 0x1004d260
push 0
push 0x54ae
push 0x2c9f
push 0x3724
push 0
lea eax, [ebp - 0x210]
push eax
call fcn.100408db
add esp, 0x18
lea eax, [ebp - 0x18c]
push eax
push 0xd9c
push 0
push 0x2091
call fcn.1005222c
add esp, 0x10
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x288]
call fcn.10022450
jmp 0x1004d203
mov dword [ebp - 0x4c], 0x15
jmp 0x1004d2e4
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x1d
jne 0x1004d439
mov dword [ebp - 0x7c], 0xe8e60a2f
mov dword [ebp - 0x110], 0xffffffff
mov dword [ebp - 0x138], 0x7cb0be94
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x2a0], eax
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x7c]
jl 0x1004d329
mov dword [ebp - 0x108], 1
jmp 0x1004d330
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jne 0x1004d38a
mov esi, dword [ebp - 0x198]
push 0
lea ecx, [ebp - 0x210]
call fcn.1002246c
imul eax, dword [eax], 0xffffffff
cmp eax, esi
jl 0x1004d36e
cmp dword [ebp - 0x7c], 0
jne 0x1004d36e
and dword [ebp - 0x118], 0
jmp 0x1004d378
mov dword [ebp - 0x118], 1
cmp dword [ebp - 0x118], 0xffffffff
jge 0x1004d38a
and dword [ebp - 0x120], 0
jmp 0x1004d394
mov dword [ebp - 0x120], 1
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
cmp eax, dword [ebp - 0x138]
je 0x1004d3ba
mov dword [ebp - 0x130], 1
jmp 0x1004d3c1
and dword [ebp - 0x130], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x130]
sub ecx, 0x4475678d
imul ecx, dword [ebp + eax - 0x150]
add ecx, 0xb3b3
cmp ecx, dword [ebp - 0x138]
je 0x1004d3f5
mov dword [ebp - 0x140], 1
jmp 0x1004d3fc
and dword [ebp - 0x140], 0
imul eax, dword [ebp - 0x140], 0xcfb6
cmp eax, dword [ebp - 0x1a0]
jge 0x1004d41a
mov dword [ebp - 0x148], 1
jmp 0x1004d421
and dword [ebp - 0x148], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x148]
mov dword [ebp + eax - 0x150], ecx
jmp 0x1004d2dd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x210]
call fcn.10022450
jmp 0x1004cdaf
push 4
push 0x1000
mov eax, dword [ebp - 0x20]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x158]
add ecx, dword [eax + 0xc]
push ecx
push 0x3fd1
push 0x3c76
call fcn.10021c65
pop ecx
pop ecx
call eax
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x20]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1a8]
add ecx, dword [eax + 0x14]
push ecx
push dword [ebp - 0x84]
call fcn.10021fc1
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x84]
mov dword [eax + 8], ecx
jmp 0x1004cdaf
jmp 0x1004d4c2
push 1
push 0x79fe
call fcn.10040786
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret