Function at 0x10040d32
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008b21f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1d8
push esi
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10040dbb
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x60]
mov dword [eax], 0
jmp 0x10040d96
mov eax, dword [ebp - 0x60]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x60]
mov dword [ecx], eax
mov eax, dword [ebp - 0x60]
cmp dword [eax], 1
jge 0x10040db6
mov eax, dword [ebp - 0x60]
push dword [eax]
mov ecx, dword [ebp - 0x194]
call fcn.1001a399
mov dword [eax], 0x3b03c3fa
jmp 0x10040d8b
jmp 0x10041b25
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0x10], 0xfffffffe
mov dword [ebp - 0x38], 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x58], 0xfffffffa
mov dword [ebp - 0x78], 0
jmp 0x10040e0b
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 1
jge 0x10040e1e
mov eax, dword [ebp - 0x78]
mov dword [ebp + eax*4 - 0x28], 0
jmp 0x10040e04
mov dword [ebp - 0x10], 0xa
jmp 0x10040e2e
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xc
jle 0x10040ef5
mov dword [ebp - 0x44], 0xf01b
mov dword [ebp - 0x180], 2
cmp dword [ebp - 0x10], 0
jne 0x10040eb0
mov eax, dword [ebp - 0x38]
inc eax
jne 0x10040eb0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x138], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x138]
mov dword [ebp + eax - 0x28], ecx
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x138], eax
jl 0x10040e7d
cmp dword [ebp - 0x44], 0
cmp dword [ebp - 0x38], 0
je 0x10040e95
cmp dword [ebp - 0x44], 0
je 0x10040e95
mov dword [ebp - 0x9c], 1
jmp 0x10040e9c
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x9c], eax
jge 0x10040eb0
and dword [ebp - 0x104], 0
jmp 0x10040eba
mov dword [ebp - 0x104], 1
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x104], eax
jl 0x10040ed7
cmp dword [ebp - 0x44], 0
je 0x10040ed7
mov dword [ebp - 0xa4], 1
jmp 0x10040ede
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x180], eax
jmp 0x10040e27
mov dword [ebp - 0x10], 0
jmp 0x10040f05
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x1004137e
mov dword [ebp - 0x18], 0x6cdee94c
mov dword [ebp - 0x7c], 0xfffffff7
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax*4 - 0x28], 0
jne 0x1004102b
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x28]
mov dword [ebp - 0x1b4], eax
cmp dword [ebp - 0x18], 0
je 0x10040f42
cmp dword [ebp - 0x38], 0
cmp dword [ebp - 0x58], 0xc33bab72
je 0x10040f57
mov dword [ebp - 0x10c], 1
jmp 0x10040f5e
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x10c], eax
je 0x10040f75
mov dword [ebp - 0xac], 1
jmp 0x10040f7c
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0xac], eax
jl 0x10040f93
mov dword [ebp - 0x11c], 1
jmp 0x10040f9a
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x11c], eax
je 0x10040fb1
mov dword [ebp - 0xb4], 1
jmp 0x10040fb8
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0xb4], eax
jl 0x10040fcf
mov dword [ebp - 0xbc], 1
jmp 0x10040fd6
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x28]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x124]
mov dword [ebp + eax*4 - 0x28], ecx
mov eax, dword [ebp - 0x124]
cmp eax, dword [ebp - 0xbc]
je 0x1004100a
mov dword [ebp - 0x12c], 1
jmp 0x10041011
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x12c], eax
jle 0x10041022
cmp dword [ebp - 0x10], 0
jne 0x1004102b
and dword [ebp - 0xc4], 0
jmp 0x10041035
mov dword [ebp - 0xc4], 1
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0xc4], eax
jge 0x1004104c
mov dword [ebp - 0x134], 1
jmp 0x10041053
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x134]
add eax, 0x4fc37f20
cmp eax, dword [ebp - 0x18]
jge 0x1004106f
mov dword [ebp - 0xcc], 1
jmp 0x10041076
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x58], eax
imul eax, dword [ebp - 0x58], 0xe360
test eax, eax
jg 0x10041096
mov dword [ebp - 0x13c], 1
jmp 0x1004109d
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x1c], eax
je 0x1004135d
mov dword [ebp - 0x50], 0xfffffffb
mov dword [ebp - 0x8c], 0xd53af4b5
mov dword [ebp - 0x1c], 0
jmp 0x100410d3
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jg 0x100411dc
mov dword [ebp - 0x184], 0xfd208dd2
mov dword [ebp - 0x94], 0xfa0b5bcd
mov dword [ebp - 0x18], 0
jmp 0x10041101
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jg 0x100411d7
mov eax, dword [ebp - 0x18]
cmp dword [ebp + eax*4 - 0x28], 0
jne 0x100411bf
cmp dword [ebp - 0x1c], 0
je 0x10041131
cmp dword [ebp - 0x184], 0
je 0x10041131
mov dword [ebp - 0x80], 1
jmp 0x10041135
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x80]
mov dword [ebp + eax*4 - 0x28], ecx
cmp dword [ebp - 0x80], 0
je 0x10041156
xor eax, eax
inc eax
je 0x10041156
mov dword [ebp - 0x144], 1
jmp 0x1004115d
and dword [ebp - 0x144], 0
cmp dword [ebp - 0x144], 1
jg 0x10041174
xor eax, eax
inc eax
jne 0x10041174
and dword [ebp - 0xd8], 0
jmp 0x1004117e
mov dword [ebp - 0xd8], 1
mov eax, dword [ebp - 0x94]
imul eax, dword [ebp - 0xd8]
add eax, 0xc458
cmp eax, 0x32651ef2
jg 0x100411a3
mov dword [ebp - 0x16c], 1
jmp 0x100411aa
and dword [ebp - 0x16c], 0
cmp dword [ebp - 0x94], 0xeb8f
jge 0x100411bf
and dword [ebp - 0xe0], 0
jmp 0x100411c9
mov dword [ebp - 0xe0], 1
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x7c], eax
jmp 0x100410fa
jmp 0x100410cc
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x28]
cmp dword [ebp - 0x58], eax
jle 0x100411f7
mov dword [ebp - 0x120], 1
jmp 0x100411fe
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x120]
sub eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x38]
jg 0x10041218
mov dword [ebp - 0xe8], 1
jmp 0x1004121f
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0xe8]
sub eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x7c]
imul ecx, eax
mov dword [ebp - 0x148], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x148]
mov dword [ebp + eax*4 - 0x28], ecx
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x148]
jl 0x10041258
mov dword [ebp - 0xf0], 1
jmp 0x1004125f
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xf0]
sub eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x50]
jl 0x10041279
mov dword [ebp - 0x128], 1
jmp 0x10041280
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x128]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x7c]
cmp dword [ebp - 0x38], eax
jne 0x100412a0
mov dword [ebp - 0xf8], 1
jmp 0x100412a7
and dword [ebp - 0xf8], 0
cmp dword [ebp - 0xf8], 0x4183
jge 0x100412bf
mov dword [ebp - 0x140], 1
jmp 0x100412c6
and dword [ebp - 0x140], 0
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x1d0], eax
cmp dword [ebp - 0x8c], 0x918a9074
jbe 0x1004130e
mov dword [ebp - 0x100], 1
jmp 0x10041315
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x8c]
cmp dword [ebp - 0x100], eax
jg 0x1004133a
mov dword [ebp - 0x170], 0x9e278474
cmp dword [ebp - 0x170], 0
je 0x10041338
jmp 0x1004137e
jmp 0x1004135b
mov byte [ebp - 0x3e], 0
push 0x71d0
push 0x7507
lea eax, [ebp - 0x3e]
push eax
push 0x2f0f
push 0
call fcn.10046a13
add esp, 0x14
jmp 0x10041379
mov byte [ebp - 0x39], 0
push 0x3777
push 0
push 0x576c
lea eax, [ebp - 0x39]
push eax
call fcn.1003df80
add esp, 0x10
jmp 0x10040efe
mov eax, dword [ebp - 0x68]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x68]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 0x2c], eax
and dword [ebp - 0x84], 0
jmp 0x100413b2
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x2c]
add eax, 0x28
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x68]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x84], eax
jge 0x10041b25
mov dword [ebp - 0x70], 0
jmp 0x100413d7
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 2
jge 0x100413ed
mov eax, dword [ebp - 0x70]
mov dword [ebp + eax*4 - 0x154], 0x26bdde0b
jmp 0x100413d0
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x154], 0
jmp 0x1004141b
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x154]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x154], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x154], 0xfffffffe
jg 0x10041441
mov byte [ebp - 0x3a], 0
movzx eax, byte [ebp - 0x3a]
test eax, eax
je 0x1004143f
push 0
call fcn.1003bc77
pop ecx
jmp 0x10041400
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x10], 0
jne 0x100417f0
mov dword [ebp - 0x4c], 0xf6af1124
mov dword [ebp - 0x4c], 0xfffffffa
jmp 0x10041465
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xfffffffb
jle 0x1004174d
push 1
lea ecx, [ebp - 0x118]
call fcn.1001a32c
and dword [ebp - 4], 0
push 0
push 0x6bef
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.1003ccfd
add esp, 0x10
mov dword [ebp - 0x54], 0
jmp 0x100414aa
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 2
jge 0x100414c0
mov eax, dword [ebp - 0x54]
mov dword [ebp + eax*4 - 0x15c], 8
jmp 0x100414a3
mov byte [ebp - 0x45], 0
movzx eax, byte [ebp - 0x45]
test eax, eax
je 0x100414e0
push 0x75dc
push 0x155f
push 0
call fcn.1003d54e
add esp, 0xc
push 0
lea ecx, [ebp - 0x118]
call fcn.1001a399
mov dword [eax], 0xb
jmp 0x10041519
push 0
lea ecx, [ebp - 0x118]
call fcn.1001a399
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x130]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x118]
call fcn.1001a399
cmp dword [eax], 0x16
jg 0x10041739
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x190], 0x9a31c0a9
mov eax, 0xa41449c9
sub eax, dword [ebp - 0x14]
je 0x10041563
mov byte [ebp - 0x3c], 0
movzx eax, byte [ebp - 0x3c]
test eax, eax
je 0x1004155e
push 1
call fcn.1003bc77
pop ecx
jmp 0x1004170d
mov dword [ebp - 0x24], 0x6fc2
push 0
lea ecx, [ebp - 0x118]
call fcn.1001a399
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax]
cmp ecx, 0x876a47cd
je 0x10041590
mov dword [ebp - 0x108], 1
jmp 0x10041597
and dword [ebp - 0x108], 0
mov esi, dword [ebp - 0x24]
add esi, dword [ebp - 0x108]
push 0
lea ecx, [ebp - 0x118]
call fcn.1001a399
cmp esi, dword [eax]
jg 0x100415bd
mov dword [ebp - 0x88], 1
jmp 0x100415c4
and dword [ebp - 0x88], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x88]
mov dword [ebp + eax - 0x15c], ecx
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x88], eax
jge 0x100415ee
mov dword [ebp - 0x14c], 1
jmp 0x100415f5
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x14c], eax
jg 0x1004160c
mov dword [ebp - 0xd0], 1
jmp 0x10041613
and dword [ebp - 0xd0], 0
imul eax, dword [ebp - 0xd0], 0x4593
cmp dword [ebp - 0x14], eax
jle 0x1004162e
mov dword [ebp - 0xd4], 1
jmp 0x10041635
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0xd4]
jne 0x1004164f
cmp dword [ebp - 0x24], 0
jne 0x1004164f
and dword [ebp - 0xdc], 0
jmp 0x10041659
mov dword [ebp - 0xdc], 1
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0xdc]
jg 0x10041670
mov dword [ebp - 0xe4], 1
jmp 0x10041677
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0x14]
add eax, 7
mov ecx, dword [ebp - 0xe4]
sub ecx, dword [ebp - 0x24]
cmp eax, ecx
jle 0x10041696
mov dword [ebp - 0xec], 1
jmp 0x1004169d
and dword [ebp - 0xec], 0
push 0
lea ecx, [ebp - 0x118]
call fcn.1001a399
mov ecx, dword [ebp - 0xec]
imul ecx, dword [eax]
test ecx, ecx
je 0x100416c9
push 1
lea eax, [ebp - 0x190]
push eax
call fcn.1003c1a6
pop ecx
pop ecx
jmp 0x1004170d
mov dword [ebp - 0x24], 0
jmp 0x100416d9
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jg 0x1004170d
mov dword [ebp - 0x14], 0
jmp 0x100416ef
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jg 0x1004170b
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp + eax*4 - 0x15c]
mov dword [ebp + ecx*4 - 0x15c], eax
jmp 0x100416e8
jmp 0x100416d2
mov dword [ebp - 0x14], 1
jmp 0x1004171d
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x10041734
mov eax, dword [ebp - 0x14]
cmp dword [ebp + eax*4 - 0x15c], 0
je 0x10041732
jmp 0x10041734
jmp 0x10041716
jmp 0x100414f5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.1001a394
jmp 0x1004145e
push dword [ebp - 0x178]
lea eax, [ebp - 0x90]
push eax
push dword [ebp - 0x2c]
push 0
push 0x6cc
push dword [ebp - 0xc8]
call fcn.100459d3
add esp, 0x18
mov dword [ebp - 0x5c], 0x9fdf99ff
mov dword [ebp - 0x5c], 0xfffffff2
jmp 0x10041789
mov eax, dword [ebp - 0x5c]
dec eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0xffffffe8
jg 0x100417eb
mov dword [ebp - 0x188], 1
mov dword [ebp - 0x74], 0
jmp 0x100417a9
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 2
jge 0x100417bf
mov eax, dword [ebp - 0x74]
mov dword [ebp + eax*4 - 0x1d8], 0xfff7
jmp 0x100417a2
cmp dword [ebp - 0x5c], 0
je 0x100417d6
xor eax, eax
inc eax
je 0x100417d6
mov dword [ebp - 0xf4], 1
jmp 0x100417dd
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x188], eax
jmp 0x10041782
jmp 0x1004139c
mov dword [ebp - 0x30], 0x901f
mov dword [ebp - 0x20], 0xfd2d1a4e
mov dword [ebp - 0x98], 1
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x6c], 0
jmp 0x1004181f
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 3
jge 0x10041835
mov eax, dword [ebp - 0x6c]
mov dword [ebp + eax*4 - 0x1ac], 0xfffffffa
jmp 0x10041818
cmp dword [ebp - 0x30], 0
je 0x100419b0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x20], eax
jle 0x1004185f
mov dword [ebp - 0xfc], 1
jmp 0x10041866
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
imul ecx, dword [ebp - 0xfc]
imul eax, ecx
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x1ac], eax
mov dword [ebp - 0x98], 1
cmp dword [ebp - 0x98], 0xfc2f92e6
jb 0x100418a5
mov dword [ebp - 0xa0], 1
jmp 0x100418ac
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0xa0]
neg eax
je 0x100418c8
cmp dword [ebp - 0x34], 0
je 0x100418c8
mov dword [ebp - 0xa8], 1
jmp 0x100418cf
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0xa8], eax
je 0x100418e6
mov dword [ebp - 0xb0], 1
jmp 0x100418ed
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0xb0], eax
jne 0x10041904
mov dword [ebp - 0x168], 1
jmp 0x1004190b
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1bc], eax
cmp dword [ebp - 0x30], 3
jne 0x10041926
mov dword [ebp - 0xb8], 1
jmp 0x1004192d
and dword [ebp - 0xb8], 0
cmp dword [ebp - 0xb8], 0xf689
je 0x10041945
mov dword [ebp - 0xc0], 1
jmp 0x1004194c
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0xc0]
add eax, 0x29e0465d
cmp eax, 3
je 0x10041968
mov dword [ebp - 0x164], 1
jmp 0x1004196f
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x20], eax
je 0x1004197b
cmp dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c0], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x1ac], 0
je 0x100419b0
mov byte [ebp - 0x3b], 0
lea eax, [ebp - 0x3b]
push eax
push 0
call fcn.1004464f
pop ecx
pop ecx
jmp 0x100419e2
mov dword [ebp - 0x34], 2
jmp 0x100419c0
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jl 0x100419e2
mov dword [ebp - 0x174], 0xfffffffb
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp + eax*4 - 0x1ac]
mov dword [ebp - 0x174], eax
jmp 0x100419b9
mov dword [ebp - 0x20], 2
jmp 0x100419f2
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x10041a0e
mov byte [ebp - 0x3f], 0
movzx eax, byte [ebp - 0x3f]
test eax, eax
je 0x10041a0c
push 0
call fcn.10041b34
pop ecx
jmp 0x100419eb
push 4
push 0x1000
mov eax, dword [ebp - 0x2c]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc8]
add ecx, dword [eax + 0xc]
push ecx
push 0x1ecc
push 0x1c02
call fcn.10053fb8
pop ecx
pop ecx
call eax
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x2c]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x17c]
add ecx, dword [eax + 0x14]
push ecx
push dword [ebp - 0x90]
call fcn.1005403b
add esp, 0xc
mov dword [ebp - 0x1cc], 1
push 4
lea ecx, [ebp - 0x1a0]
call fcn.1001a32c
mov dword [ebp - 4], 1
mov dword [ebp - 0x64], 0
jmp 0x10041a90
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 3
jge 0x10041aa6
mov eax, dword [ebp - 0x64]
mov dword [ebp + eax*4 - 0x1e4], 7
jmp 0x10041a89
lea eax, [ebp - 0x1a0]
push eax
push 0x1cfd
push 0x6326
push 0
lea eax, [ebp - 0x64]
push eax
call fcn.1003d5b3
add esp, 0x14
push 1
lea eax, [ebp - 0x1a0]
push eax
push 0x4bed
push 0x24fe
call fcn.1003ccfd
add esp, 0x10
mov byte [ebp - 0x3d], 0
lea eax, [ebp - 0x3d]
push eax
push 0x5434
push 0
push 0x4ea2
call fcn.1003d077
add esp, 0x10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1a0]
call fcn.1001a394
lea eax, [ebp - 0x2c]
push eax
push 0
lea eax, [ebp - 0x90]
push eax
call fcn.1003cfe8
add esp, 0xc
jmp 0x1004139c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret