Function at 0x408c58
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push esi
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x4098a2
lea eax, [ebp + 0x18]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xe8], eax
lea eax, [ebp + 8]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x118]
movzx eax, byte [eax]
test eax, eax
je 0x408cc1
push 1
push 0x6344
push 0x73b2
call fcn.004098af
add esp, 0xc
jmp 0x4098a0
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xd4]
movzx eax, byte [eax]
test eax, eax
je 0x409898
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x40], eax
push 2
lea ecx, [ebp - 0x1a4]
call fcn.0042f62c
mov dword [ebp - 0xe4], 6
push 0
push 0x49e3
lea eax, [ebp - 0x1b8]
push eax
push 1
lea eax, [ebp - 0x1a4]
push eax
push 0x364c
push 0
call fcn.00408992
add esp, 0x1c
lea eax, [ebp - 0xe4]
push eax
push 1
push 0
push 1
push 0x5cf0
call fcn.004087cb
add esp, 0x14
lea ecx, [ebp - 0x1a4]
call fcn.0042f6fe
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 4]
mov dword [ebp - 0xa4], eax
push 0x2369
push 0
call fcn.0040be4c
pop ecx
pop ecx
mov dword [ebp - 0x13c], 0xf99ff606
mov dword [ebp - 0x138], 0xf99ff606
mov dword [ebp - 0x134], 0xf99ff606
mov dword [ebp - 0x130], 0xf99ff606
lea ecx, [ebp - 0x56]
call fcn.0042f729
push eax
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x20c]
call fcn.0042f72c
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0xc4]
call fcn.0042f6d8
push 3
lea ecx, [ebp - 0x64]
call fcn.0042f62c
push 3
lea ecx, [ebp - 0x180]
call fcn.0042f62c
push 0x3c09
lea eax, [ebp - 0x64]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0x7500
call fcn.0040b685
add esp, 0x18
mov dword [ebp - 0x14], 0
jmp 0x408e3e
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x408e54
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x198], 0x6ce028f4
jmp 0x408e37
push 0x2895
push 0
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00409907
add esp, 0x10
push 1
lea ecx, [ebp - 0x64]
call fcn.0042f71a
and dword [eax], 0
jmp 0x408e9e
push 1
lea ecx, [ebp - 0x64]
call fcn.0042f71a
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xa8]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x64]
call fcn.0042f71a
cmp dword [eax], 3
jg 0x408fc4
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x38], 3
jmp 0x408ec8
mov eax, dword [ebp - 0x38]
dec eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jl 0x408ede
push 0x102b
push 0
call fcn.0041d736
pop ecx
pop ecx
jmp 0x408ec1
push 1
lea ecx, [ebp - 0x64]
call fcn.0042f71a
push dword [eax]
lea ecx, [ebp - 0xc4]
call fcn.0042f71a
mov esi, eax
push 1
lea ecx, [ebp - 0x64]
call fcn.0042f71a
push dword [eax]
lea ecx, [ebp - 0xc4]
call fcn.0042f71a
mov ecx, dword [esi]
cmp ecx, dword [eax]
jl 0x408f20
mov dword [ebp - 0xb0], 1
jmp 0x408f27
and dword [ebp - 0xb0], 0
push 1
lea ecx, [ebp - 0x64]
call fcn.0042f71a
push dword [eax]
lea ecx, [ebp - 0xc4]
call fcn.0042f71a
mov eax, dword [eax]
add eax, dword [ebp - 0xb0]
je 0x408f54
mov dword [ebp - 0x100], 1
jmp 0x408f5b
and dword [ebp - 0x100], 0
push 1
lea ecx, [ebp - 0x64]
call fcn.0042f71a
push dword [eax]
lea ecx, [ebp - 0xc4]
call fcn.0042f71a
push 2
lea ecx, [ebp - 0xc4]
call fcn.0042f71a
mov eax, dword [eax]
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x198]
lea eax, [eax + ecx - 5]
cmp eax, 1
jb 0x408fa3
mov dword [ebp - 0x94], 1
jmp 0x408faa
and dword [ebp - 0x94], 0
push 1
lea ecx, [ebp - 0x180]
call fcn.0042f71a
mov ecx, dword [ebp - 0x94]
mov dword [eax], ecx
jmp 0x408e7d
lea ecx, [ebp - 0x180]
call fcn.0042f6fe
lea ecx, [ebp - 0x64]
call fcn.0042f6fe
lea ecx, [ebp - 0xc4]
call fcn.0042f6fe
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], 0xb26bdde0
mov dword [ebp - 0x20], 0xfffffffa
jmp 0x40900e
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xfffffffb
jge 0x409037
push 0x6134
push 0x411d
push 0xc7b
push 0
call fcn.0040ef61
add esp, 0x10
cmp dword [ebp - 0x20], 0
je 0x409035
jmp 0x409007
jmp 0x409007
and dword [ebp - 0x54], 0
jmp 0x40904d
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 8]
add eax, 0x28
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x54], eax
jge 0x409896
push 2
lea ecx, [ebp - 0x1b4]
call fcn.0042f62c
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x1c8]
push eax
push 1
push 0x6279
push 0x791c
push 0
push 1
push 0x6b78
push 0
lea eax, [ebp - 0x1b4]
push eax
push 0x41ac
push 0x5464
push 0x373
push 1
call fcn.00428e52
add esp, 0x34
mov dword [ebp - 0x2c], 1
jmp 0x4090c1
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jl 0x4091e0
mov dword [ebp - 0x24], 0x9c5a654f
mov dword [ebp - 0x24], 0
jmp 0x4090e2
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jg 0x4091c8
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x30], 0
jmp 0x409103
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 2
jge 0x409119
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x128], 0
jmp 0x4090fc
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x128]
inc eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x128], eax
mov dword [ebp - 0x34], 1
jmp 0x409144
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jl 0x4091c3
mov dword [ebp - 0x3c], 0
jmp 0x40915a
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jge 0x409170
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0xb8], 0xd83d7839
jmp 0x409153
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0xb8], 1
jmp 0x40919e
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xb8]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0xb8], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xb8], 0
jl 0x4091be
push 0
push 0x4746
call fcn.00429704
pop ecx
pop ecx
jmp 0x409183
jmp 0x40913d
jmp 0x4090db
push 0
lea eax, [ebp - 0x24]
push eax
push 0x6dd4
call fcn.004218db
add esp, 0xc
jmp 0x4090ba
push 0
push 0x2fc6
call fcn.0040a06a
pop ecx
pop ecx
lea ecx, [ebp - 0x1b4]
call fcn.0042f6fe
mov eax, dword [ebp - 8]
cmp dword [eax + 0x10], 0
jne 0x40962e
push 1
lea ecx, [ebp - 0x15c]
call fcn.0042f62c
mov dword [ebp - 0xac], 0xcd453606
mov dword [ebp - 0x18], 0xaa9dade6
mov dword [ebp - 0x1f4], 0xba167c28
mov dword [ebp - 0x74], 0xe81720d7
mov dword [ebp - 0x1d8], 7
mov dword [ebp - 0x108], 0xfffffffa
mov dword [ebp - 0x1a8], 0xd5680a25
mov dword [ebp - 0x1f0], 0
mov dword [ebp - 0x190], 0x2f9e84eb
push 4
lea ecx, [ebp - 0x18c]
call fcn.0042f62c
mov dword [ebp - 0x1ec], 0x3565e139
mov dword [ebp - 0x110], 0xfff6
push 0x6b79
push 0x493a
lea eax, [ebp - 0x15c]
push eax
push 0x3940
push 0x16cd
push 0
lea eax, [ebp - 0xec]
push eax
push 0xaea
call fcn.0042a899
add esp, 0x20
push 0x5f9a
lea eax, [ebp - 0xec]
push eax
push 0x7120
lea eax, [ebp - 0x18c]
push eax
push 0
push 0x3462
push 0x1d23
push 0x397b
push 0
push 0x2887
push 0x21e9
call fcn.0040b822
add esp, 0x2c
push 0
push 0
lea eax, [ebp - 0x108]
push eax
push 0x189a
push 0xcf4
push 1
push 0x79b9
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.00408113
add esp, 0x2c
mov dword [ebp - 0x18], 0
jmp 0x409340
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffe8
jle 0x4093b2
mov dword [ebp - 0x11c], 0xc331
mov dword [ebp - 0x1e8], 0x5452e2cc
mov dword [ebp - 0x1e4], 0x5452e2cc
mov dword [ebp - 0x1e0], 0x5452e2cc
mov dword [ebp - 0x1dc], 0x5452e2cc
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x11c]
push eax
push 0x3538
lea eax, [ebp - 0x18c]
push eax
push 0
lea eax, [ebp - 0xac]
push eax
push 0x3ae4
lea eax, [ebp - 0x18]
push eax
call fcn.004186aa
add esp, 0x24
jmp 0x409339
lea ecx, [ebp - 0x18c]
call fcn.0042f6fe
lea ecx, [ebp - 0x15c]
call fcn.0042f6fe
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
lea eax, [ebp - 8]
push eax
push 0x2a68
call fcn.0041680d
add esp, 0x18
mov dword [ebp - 4], 0x20f89b5
push 3
lea ecx, [ebp - 0x168]
call fcn.0042f62c
mov dword [ebp - 0x28], 0
jmp 0x409411
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 4
jge 0x409427
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x204], 0xc85f70ad
jmp 0x40940a
push 0
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004098af
add esp, 0xc
mov dword [ebp - 4], 3
jmp 0x40944c
mov eax, dword [ebp - 4]
dec eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x40961e
mov dword [ebp - 0x48], 6
mov dword [ebp - 0x68], 0xffffffff
mov dword [ebp - 0x150], 0xfff8
mov dword [ebp - 0x14c], 0xfff8
mov dword [ebp - 0x148], 0xfff8
mov dword [ebp - 0x144], 0xfff8
lea ecx, [ebp - 0x55]
call fcn.0042f729
push eax
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x214]
call fcn.0042f72c
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x1d4]
call fcn.0042f6d8
mov dword [ebp - 0x44], 0
jmp 0x4094ce
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 3
jge 0x4094e4
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x1c4], 0x7d6364d6
jmp 0x4094c7
cmp dword [ebp - 4], 0
je 0x409505
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c4]
cmp dword [ebp - 4], eax
jne 0x409505
mov dword [ebp - 0x7c], 1
jmp 0x409509
and dword [ebp - 0x7c], 0
cmp dword [ebp - 0x7c], 0xffff
jne 0x40951b
mov dword [ebp - 0x4c], 1
jmp 0x40951f
and dword [ebp - 0x4c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x4c]
mov dword [ebp + eax - 0x1c4], ecx
cmp dword [ebp - 0x4c], 0x2da3
jle 0x40954a
cmp dword [ebp - 4], 0
je 0x40954a
mov dword [ebp - 0x9c], 1
jmp 0x409551
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x9c], eax
jge 0x40956c
push 0xfffffffffffffffd
pop eax
test eax, eax
jne 0x40956c
and dword [ebp - 0x114], 0
jmp 0x409576
mov dword [ebp - 0x114], 1
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x204]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x84]
mov dword [ebp + eax*4 - 0x204], ecx
push 1
lea ecx, [ebp - 0x168]
call fcn.0042f71a
mov dword [eax], 0xfff7
mov eax, dword [ebp - 0x84]
add eax, 0xfff7
imul eax, dword [ebp - 4]
imul eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x68]
jne 0x4095cd
mov dword [ebp - 0x8c], 1
jmp 0x4095d4
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
mov esi, dword [ebp - 0x48]
sub esi, dword [ebp - 0x8c]
push 1
lea ecx, [ebp - 0x1d4]
call fcn.0042f71a
mov dword [eax], esi
mov byte [ebp - 0xd], 0
push 0x4f0b
push 1
push 0
push 0
lea eax, [ebp - 0xd]
push eax
call fcn.004087cb
add esp, 0x14
lea ecx, [ebp - 0x1d4]
call fcn.0042f6fe
jmp 0x409445
lea ecx, [ebp - 0x168]
call fcn.0042f6fe
jmp 0x40903d
push 4
push 0x1000
mov eax, dword [ebp - 8]
push dword [eax + 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xa4]
add ecx, dword [eax + 0xc]
push ecx
push 0x34e
push 0x3aa
call fcn.004068d5
pop ecx
pop ecx
call eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 8]
push dword [eax + 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xcc]
add ecx, dword [eax + 0x14]
push ecx
push dword [ebp - 0x50]
call fcn.004075d6
add esp, 0xc
mov dword [ebp - 0xc], 0x44d513c6
push 1
lea ecx, [ebp - 0xfc]
call fcn.0042f62c
push 3
lea ecx, [ebp - 0x174]
call fcn.0042f62c
push 0
push 0xb30
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xfc]
push eax
call fcn.004122c8
add esp, 0x10
lea eax, [ebp - 0x174]
push eax
push 0
lea eax, [ebp - 0x1c]
push eax
push 0x4c52
push 0
push 0x76fd
call fcn.0041f5c5
add esp, 0x18
mov dword [ebp - 0x1c], 0
jmp 0x4096e8
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x4096fe
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0xd8], 2
jmp 0x4096e1
mov byte [ebp - 0xe], 0
push 0x4601
push 0x6817
push 0
lea eax, [ebp - 0xe]
push eax
push 1
push 0
push 0x1f22
push 0x37f7
push 1
push 1
push 0x5146
call fcn.004175c5
add esp, 0x2c
mov esi, dword [ebp - 0xc]
push 0
lea ecx, [ebp - 0xfc]
call fcn.0042f71a
cmp esi, dword [eax]
jl 0x40974e
mov dword [ebp - 0x6c], 1
jmp 0x409752
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x6c]
jle 0x409763
mov dword [ebp - 0x70], 1
jmp 0x409767
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0xc]
imul eax, dword [ebp - 0xc]
cmp dword [ebp - 0x70], eax
je 0x40977c
mov dword [ebp - 0x78], 1
jmp 0x409780
and dword [ebp - 0x78], 0
cmp dword [ebp - 0x78], 3
je 0x40978f
mov dword [ebp - 0x80], 1
jmp 0x409793
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x9dade661
jbe 0x4097ae
mov dword [ebp - 0x88], 1
jmp 0x4097b5
and dword [ebp - 0x88], 0
push 0
lea ecx, [ebp - 0xfc]
call fcn.0042f71a
mov ecx, dword [ebp - 0x88]
cmp ecx, dword [eax]
jl 0x4097d8
mov dword [ebp - 0xd0], 1
jmp 0x4097df
and dword [ebp - 0xd0], 0
push 0
lea ecx, [ebp - 0x174]
call fcn.0042f71a
mov dword [ebp - 0x90], eax
push 0
lea ecx, [ebp - 0xfc]
call fcn.0042f71a
mov ecx, dword [ebp - 0x90]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x90]
cmp dword [eax], 0
je 0x409826
cmp dword [ebp - 0xc], 0
je 0x409826
mov dword [ebp - 0x98], 1
jmp 0x40982d
and dword [ebp - 0x98], 0
cmp dword [ebp - 0x98], 0x6986d6d
jl 0x409845
mov dword [ebp - 0xa0], 1
jmp 0x40984c
and dword [ebp - 0xa0], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xa0]
mov dword [ebp + eax - 0xd8], ecx
lea ecx, [ebp - 0x174]
call fcn.0042f6fe
lea ecx, [ebp - 0xfc]
call fcn.0042f6fe
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 8]
push eax
push 0x1087
push 0
push 0x7894
call fcn.0040d967
add esp, 0x14
jmp 0x40903d
jmp 0x4098a0
push 0
call dword [0xaa1424]
jmp 0x4098aa
push 0
call fcn.004139d7
pop ecx
pop esi
mov esp, ebp
pop ebp
ret