Function at 0x10031e4b
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009061d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18c
push esi
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10031ed4
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x48]
mov dword [eax], 0
jmp 0x10031eaf
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x48]
mov dword [ecx], eax
mov eax, dword [ebp - 0x48]
cmp dword [eax], 2
jge 0x10031ecf
mov eax, dword [ebp - 0x48]
push dword [eax]
mov ecx, dword [ebp - 0x138]
call fcn.1001b2e9
mov dword [eax], 9
jmp 0x10031ea4
jmp 0x100328dd
mov eax, dword [ebp + 8]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 4]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 0x1c], eax
and dword [ebp - 0x60], 0
jmp 0x10031f23
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x1c]
add eax, 0x28
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x60], eax
jge 0x100328dd
mov dword [ebp - 0x20], 0xd7f825e7
mov dword [ebp - 0x34], 0x5b3b9da4
mov dword [ebp - 0x30], 0xa4d91f06
mov dword [ebp - 0x20], 0
jmp 0x10031f5a
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x10
jg 0x10031f84
push 0x5a8d
push 0x650f
push 0x3d06
push 0
lea eax, [ebp - 0x34]
push eax
push 0x3beb
call fcn.1002af63
add esp, 0x18
jmp 0x10031f53
mov dword [ebp - 0x20], 0x11
jmp 0x10031f94
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 5
je 0x100322b6
push 4
lea ecx, [ebp - 0xf4]
call fcn.1001b24b
and dword [ebp - 4], 0
mov dword [ebp - 0x38], 0xcb81eca6
push 2
lea ecx, [ebp - 0x14c]
call fcn.1001b24b
mov byte [ebp - 4], 1
mov dword [ebp - 0x54], 0x20578cca
mov dword [ebp - 0x128], 0xfffffffd
lea eax, [ebp - 0x18]
push eax
push 0x1793
push 0
push 0x47d7
lea eax, [ebp - 0xf4]
push eax
call fcn.1002da28
add esp, 0x14
mov dword [ebp - 0x18], 0
jmp 0x10032007
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x10032023
push dword [ebp - 0x18]
lea ecx, [ebp - 0x14c]
call fcn.1001b2e9
mov dword [eax], 1
jmp 0x10032000
mov dword [ebp - 0x18], 0
jmp 0x10032033
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x10032049
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xfc], 0x44d4e2b7
jmp 0x1003202c
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0xc218
mov esi, dword [ebp - 0x38]
push 3
lea ecx, [ebp - 0xf4]
call fcn.1001b2e9
mov eax, dword [eax]
add eax, 0xb9c2
cmp eax, esi
jl 0x10032081
cmp dword [ebp - 0x34], 0
je 0x10032081
mov dword [ebp - 0x80], 1
jmp 0x10032085
and dword [ebp - 0x80], 0
cmp dword [ebp - 0x80], 0x12a83a0f
jle 0x1003209a
mov dword [ebp - 0x140], 1
jmp 0x100320a1
and dword [ebp - 0x140], 0
push 0
lea ecx, [ebp - 0xf4]
call fcn.1001b2e9
cmp dword [ebp - 0x34], 0x2f1e
jne 0x100320c3
mov dword [ebp - 0xe8], 1
jmp 0x100320ca
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0xe8]
sub eax, 0x2b4b5a9c
mov dword [ebp - 0x74], eax
push 1
lea ecx, [ebp - 0x14c]
call fcn.1001b2e9
mov ecx, dword [ebp - 0x74]
mov dword [eax], ecx
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xb0], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xb0]
mov dword [ebp + eax - 0xfc], ecx
push 3
lea ecx, [ebp - 0xf4]
call fcn.1001b2e9
mov ecx, dword [ebp - 0xb0]
cmp ecx, dword [eax]
je 0x1003212c
mov dword [ebp - 0x7c], 1
jmp 0x10032130
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], 0xfffffff1
jmp 0x10032146
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xe
je 0x10032293
mov dword [ebp - 0x28], 0x65721867
mov dword [ebp - 0x10c], 0x8bc13026
cmp dword [ebp - 0x28], 0
jne 0x10032176
cmp dword [ebp - 0x28], 0
jne 0x10032176
and dword [ebp - 0xcc], 0
jmp 0x10032180
mov dword [ebp - 0xcc], 1
cmp dword [ebp - 0x28], 0
je 0x1003223a
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xfc]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x170], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xfc]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x16c], eax
mov esi, dword [ebp - 0x28]
push 4
pop eax
imul eax, eax, 0
imul esi, dword [ebp + eax - 0xfc]
push 0
lea ecx, [ebp - 0xf4]
call fcn.1001b2e9
cmp esi, dword [eax]
jge 0x100321fc
mov dword [ebp - 0xb4], 1
jmp 0x10032203
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0xb4]
sub eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x54]
add eax, 0x5c8b
je 0x1003223a
mov eax, 0x8339
test eax, eax
je 0x1003223a
mov dword [ebp - 0x84], 1
jmp 0x10032241
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x184], eax
push 3
lea ecx, [ebp - 0xf4]
call fcn.1001b2e9
cmp dword [eax], 7
jle 0x10032271
mov dword [ebp - 0x8c], 1
jmp 0x10032278
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0xcc]
sub eax, dword [ebp - 0x8c]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x30], 0x1eb1ed30
jmp 0x1003213f
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14c]
call fcn.1001b2cd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf4]
call fcn.1001b2cd
jmp 0x10031f8d
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x10], 0
jne 0x100324f6
mov dword [ebp - 0x14], 0xfffffffe
mov dword [ebp - 0x5c], 0x2978
mov dword [ebp - 0x13c], 0x33920027
mov dword [ebp - 0x58], 0x9c5a
mov dword [ebp - 0x4c], 0
jmp 0x100322f2
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 4
jge 0x10032308
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0x198], 8
jmp 0x100322eb
cmp dword [ebp - 0x14], 0
je 0x10032315
push 0xfffffffffffffffe
pop eax
test eax, eax
jne 0x10032389
mov eax, dword [ebp - 0x14]
inc eax
cmp eax, dword [ebp - 0x14]
jg 0x1003232a
mov dword [ebp - 0xbc], 1
jmp 0x10032331
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xbc], eax
jle 0x10032348
mov dword [ebp - 0x94], 1
jmp 0x1003234f
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x94]
jle 0x1003236d
push 0xfffffffffffffffe
pop eax
test eax, eax
je 0x1003236d
mov dword [ebp - 0x12c], 1
jmp 0x10032374
and dword [ebp - 0x12c], 0
cmp dword [ebp - 0x14], 0
jne 0x10032389
cmp dword [ebp - 0x14], 0
jne 0x10032389
and dword [ebp - 0xe4], 0
jmp 0x10032393
mov dword [ebp - 0xe4], 1
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xe4], eax
je 0x100323aa
mov dword [ebp - 0x9c], 1
jmp 0x100323b1
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x9c], eax
jg 0x100323c8
mov dword [ebp - 0xc4], 1
jmp 0x100323cf
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc4]
cmp dword [ebp - 0x14], eax
jle 0x100323e9
mov dword [ebp - 0xa4], 1
jmp 0x100323f0
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xa4]
add eax, 0x3ec9
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x14], 0
jne 0x1003247f
cmp dword [ebp - 0x5c], 0
jne 0x1003247f
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x114], 0x8f9c3281
je 0x10032432
mov dword [ebp - 0xac], 1
jmp 0x10032439
and dword [ebp - 0xac], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x198]
inc eax
inc eax
cmp dword [ebp - 0xac], eax
jge 0x10032458
mov dword [ebp - 0x6c], 1
jmp 0x1003245c
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x6c], eax
jle 0x1003246d
mov dword [ebp - 0x70], 1
jmp 0x10032471
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x70]
je 0x1003247f
and dword [ebp - 0x78], 0
jmp 0x10032486
mov dword [ebp - 0x78], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x198]
cmp dword [ebp - 0x78], eax
je 0x100324a1
mov dword [ebp - 0x68], 1
jmp 0x100324a5
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x68], eax
je 0x100324b9
mov dword [ebp - 0x88], 1
jmp 0x100324c0
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x64]
push eax
push 1
push 0x75cb
lea eax, [ebp - 0x11c]
push eax
call fcn.1002af63
add esp, 0x18
jmp 0x10031f13
push 4
lea ecx, [ebp - 0xdc]
call fcn.1001b24b
mov dword [ebp - 4], 2
mov dword [ebp - 0x44], 0x65ab3e90
mov dword [ebp - 0x124], 0xc3f30b91
lea eax, [ebp - 0x168]
push eax
push 0
lea eax, [ebp - 0xdc]
push eax
call fcn.1002eef6
add esp, 0xc
push 2
lea ecx, [ebp - 0xdc]
call fcn.1001b2e9
and dword [eax], 0
jmp 0x10032569
push 2
lea ecx, [ebp - 0xdc]
call fcn.1001b2e9
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x90]
mov dword [ecx], eax
push 2
lea ecx, [ebp - 0xdc]
call fcn.1001b2e9
cmp dword [eax], 0xffffffe5
jg 0x10032592
mov dword [ebp - 0x134], 0xdc4b
cmp dword [ebp - 0x134], 0
je 0x10032590
jmp 0x10032592
jmp 0x10032545
mov dword [ebp - 0x44], 0xffffffe8
jmp 0x100325a2
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 4
jle 0x10032655
mov dword [ebp - 0xa8], 0x2a8d3a18
mov dword [ebp - 0x108], 0x271dbca
push 3
lea ecx, [ebp - 0xdc]
call fcn.1001b2e9
cmp dword [eax], 0
je 0x1003263a
mov dword [ebp - 0xa0], 0x7dfe4d9e
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x98], eax
push 3
lea ecx, [ebp - 0xdc]
call fcn.1001b2e9
mov ecx, dword [ebp - 0x98]
mov dword [eax], ecx
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xa8], eax
push 0x24d0
lea eax, [ebp - 0xdc]
push eax
push 0
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.10034c35
add esp, 0x1c
jmp 0x10032650
mov dword [ebp - 0x104], 0xd996
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x108], eax
jmp 0x1003259b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xdc]
call fcn.1001b2cd
push 4
push 0x1000
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xb8]
add ecx, dword [eax + 0xc]
push ecx
push 0x282f
push 0x2621
call fcn.1002a4cb
pop ecx
pop ecx
call eax
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x110]
add ecx, dword [eax + 0x14]
push ecx
push dword [ebp - 0x64]
call fcn.1002a568
add esp, 0xc
mov dword [ebp - 0x10], 0x7eede0b4
mov dword [ebp - 0x2c], 0xe7c1
mov dword [ebp - 0x3c], 0x2104
push 4
lea ecx, [ebp - 0x17c]
call fcn.1001b24b
mov dword [ebp - 4], 3
mov dword [ebp - 0x40], 0
jmp 0x100326eb
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 4
jge 0x10032701
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x15c], 0xffffffff
jmp 0x100326e4
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x40]
push eax
push 0
push 0x75d8
call fcn.10036ba1
add esp, 0x10
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x10], eax
jle 0x10032727
cmp dword [ebp - 0x10], 0
push 6
pop eax
test eax, eax
jne 0x1003273d
cmp dword [ebp - 0x10], 0
jne 0x1003273d
and dword [ebp - 0xc0], 0
jmp 0x10032747
mov dword [ebp - 0xc0], 1
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0xc0]
cmp eax, 7
jb 0x10032762
mov dword [ebp - 0xc8], 1
jmp 0x10032769
and dword [ebp - 0xc8], 0
cmp dword [ebp - 0xc8], 0x415d7249
jle 0x10032781
mov dword [ebp - 0x118], 1
jmp 0x10032788
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x10], eax
jle 0x1003279c
mov dword [ebp - 0xd0], 1
jmp 0x100327a3
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0xd0], eax
jg 0x100327ba
mov dword [ebp - 0xe0], 1
jmp 0x100327c1
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0xe0], eax
jne 0x100327d8
mov dword [ebp - 0x120], 1
jmp 0x100327df
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x2c]
lea eax, [eax + ecx + 0x1d25]
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x15c], eax
mov dword [ebp - 0x10], 0
jmp 0x10032815
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jg 0x100328c0
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax*4 - 0x15c], 0
je 0x1003284e
mov byte [ebp - 0x21], 0
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x1003284c
push 0
push 0x37ce
push 0x589e
call fcn.10034b2d
add esp, 0xc
jmp 0x1003285c
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x15c], 0xfffffff7
mov dword [ebp - 0x2c], 0
jmp 0x1003286c
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xfffffffd
jne 0x100328bb
mov dword [ebp - 0x3c], 3
jmp 0x10032882
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jl 0x100328b9
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax*4 - 0x15c], 0
je 0x10032897
jmp 0x100328b9
mov byte [ebp - 0x22], 0
movzx eax, byte [ebp - 0x22]
test eax, eax
je 0x100328b7
push 0x19fb
push 0
push 0x5e6d
call fcn.100332fa
add esp, 0xc
jmp 0x1003287b
jmp 0x10032865
jmp 0x1003280e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x17c]
call fcn.1001b2cd
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x64]
mov dword [eax + 8], ecx
jmp 0x10031f13
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret