Function at 0x40acbd
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push esi
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x40bb56
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x188], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x1b0]
movzx eax, byte [eax]
test eax, eax
je 0x40ad5e
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x1ac]
movzx eax, byte [eax]
test eax, eax
je 0x40ad59
push 1
push 0x7d99
push 1
push 0x63ef
push 0
push 0x4d89
push 0x7405
push 0x4d31
call fcn.0040acbd
add esp, 0x20
jmp 0x40bb54
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x18], 0
jmp 0x40ad96
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x40adac
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x118], 0xffffffff
jmp 0x40ad8f
mov dword [ebp - 0x18], 0
jmp 0x40adbc
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 4
jge 0x40add2
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x230], 0xf20920a6
jmp 0x40adb5
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x118]
mov dword [ebp - 0x28], eax
push 4
pop eax
shl eax, 0
push 4
pop ecx
shl ecx, 0
mov ecx, dword [ebp + ecx - 0x118]
add ecx, 0xc174
cmp dword [ebp + eax - 0x118], ecx
je 0x40ae10
mov dword [ebp - 0xb8], 1
jmp 0x40ae17
and dword [ebp - 0xb8], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x118]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0xb8]
lea ecx, [ecx + edx - 0x689a]
imul ecx, ecx, 0x8807
add eax, ecx
cmp eax, 1
je 0x40ae4d
mov dword [ebp - 0xf8], 1
jmp 0x40ae54
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xf8]
add eax, 0x5206
mov dword [ebp - 0x28], eax
je 0x40ae76
cmp dword [ebp - 0x28], 0
je 0x40ae76
mov dword [ebp - 0x10c], 1
jmp 0x40ae7d
and dword [ebp - 0x10c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x118]
cmp dword [ebp - 0x10c], eax
jl 0x40ae9b
mov dword [ebp - 0x74], 1
jmp 0x40ae9f
and dword [ebp - 0x74], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x74]
mov dword [ebp + eax - 0x230], ecx
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 4]
mov dword [ebp - 0x104], eax
push 0x44ca
push 0
push 0x355b
push 0x4cb1
push 0
push 0x7cc1
push 0x6df6
push 0x7b0f
push 0x20c9
call fcn.0041b9e2
add esp, 0x24
mov dword [ebp - 0x178], 3
mov dword [ebp - 0x180], 0xfffffff7
lea eax, [ebp - 0x178]
push eax
push 0x352
push 0x3e8d
lea eax, [ebp - 0x180]
push eax
push 0
call fcn.004192ac
add esp, 0x14
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x84], 0xb903cfcb
mov dword [ebp - 0x48], 1
push 2
lea ecx, [ebp - 0x13c]
call fcn.0040809e
mov dword [ebp - 0xa4], 1
mov dword [ebp - 0xac], 0xf50e16ff
push 3
lea ecx, [ebp - 0x1e4]
call fcn.0040809e
mov dword [ebp - 0xc], 0
jmp 0x40af84
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jge 0x40af97
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x2c], 0xd7d490c4
jmp 0x40af7d
mov dword [ebp - 0xc], 0
jmp 0x40afa7
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
jge 0x40afbd
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x130], 0
jmp 0x40afa0
push 0x517d
push 0
push 0x6296
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.0040f186
add esp, 0x14
push 0x2a60
push 0
lea eax, [ebp - 0x1e4]
push eax
push 0xf68
lea eax, [ebp - 0xc]
push eax
call fcn.00410d87
add esp, 0x14
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov eax, dword [ebp + eax - 0x2c]
mov dword [ebp + ecx - 0x2c], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2c]
mov dword [ebp - 0xcc], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xcc]
mov dword [ebp + eax - 0x2c], ecx
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x130]
cmp dword [ebp - 0xcc], eax
jle 0x40b053
mov eax, 0x5051acae
test eax, eax
jne 0x40b053
and dword [ebp - 0x7c], 0
jmp 0x40b05a
mov dword [ebp - 0x7c], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x130]
cmp dword [ebp - 0x7c], eax
jge 0x40b078
mov dword [ebp - 0xfc], 1
jmp 0x40b07f
and dword [ebp - 0xfc], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x130]
cmp dword [ebp - 0xfc], eax
jg 0x40b09f
mov dword [ebp - 0x154], 1
jmp 0x40b0a6
and dword [ebp - 0x154], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x130]
mov dword [ebp - 0x1f4], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x130]
mov dword [ebp - 0x200], eax
mov dword [ebp - 0x84], 3
cmp dword [ebp - 0x84], 0
je 0x40b0ea
mov dword [ebp - 0x19c], 1
jmp 0x40b0f1
and dword [ebp - 0x19c], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x130]
mov dword [ebp - 0x220], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x2c], 0
jne 0x40b11f
cmp dword [ebp - 0x48], 0
jne 0x40b11f
and dword [ebp - 0xd4], 0
jmp 0x40b129
mov dword [ebp - 0xd4], 1
cmp dword [ebp - 0xd4], 0x7bff
jg 0x40b147
cmp dword [ebp - 0x48], 0
je 0x40b147
mov dword [ebp - 0x8c], 1
jmp 0x40b14e
and dword [ebp - 0x8c], 0
push 1
lea ecx, [ebp - 0x13c]
call fcn.0040818c
mov ecx, dword [ebp - 0x8c]
cmp ecx, dword [eax]
jg 0x40b171
mov dword [ebp - 0x108], 1
jmp 0x40b178
and dword [ebp - 0x108], 0
push 0
lea ecx, [ebp - 0x13c]
call fcn.0040818c
mov ecx, dword [ebp - 0x108]
cmp ecx, dword [eax]
jge 0x40b19b
mov dword [ebp - 0x94], 1
jmp 0x40b1a2
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x94]
add eax, 0x5ec8d9db
je 0x40b1b4
xor eax, eax
inc eax
jne 0x40b1c4
push 0xfffffffffffffff6
pop eax
test eax, eax
jne 0x40b1c4
and dword [ebp - 0xdc], 0
jmp 0x40b1ce
mov dword [ebp - 0xdc], 1
cmp dword [ebp - 0xdc], 0x1cf6
jle 0x40b1e6
mov dword [ebp - 0x9c], 1
jmp 0x40b1ed
and dword [ebp - 0x9c], 0
push 0
lea ecx, [ebp - 0x13c]
call fcn.0040818c
mov ecx, dword [ebp - 0x9c]
cmp ecx, dword [eax]
jg 0x40b210
mov dword [ebp - 0x100], 1
jmp 0x40b217
and dword [ebp - 0x100], 0
push 1
lea ecx, [ebp - 0x13c]
call fcn.0040818c
mov ecx, dword [ebp - 0x100]
imul ecx, dword [eax]
mov dword [ebp - 0xa4], ecx
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0xa4], eax
jg 0x40b24a
mov dword [ebp - 0xe4], 1
jmp 0x40b251
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xac], eax
mov esi, dword [ebp - 0xac]
push 1
lea ecx, [ebp - 0x1e4]
call fcn.0040818c
mov dword [eax], esi
lea ecx, [ebp - 0x1e4]
call fcn.00408170
lea ecx, [ebp - 0x13c]
call fcn.00408170
and dword [ebp - 0x50], 0
jmp 0x40b29e
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x14]
add eax, 0x28
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x50], eax
jge 0x40bb54
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x208], 6
mov dword [ebp - 0x40], 0
jmp 0x40b2db
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 3
jge 0x40b2ee
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x64], 0xffffffff
jmp 0x40b2d4
mov dword [ebp - 0x24], 0
jmp 0x40b2fe
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x17
jl 0x40b699
mov dword [ebp - 4], 0xdbeccce1
mov dword [ebp - 0xec], 0xad46d232
push 1
lea ecx, [ebp - 0x1cc]
call fcn.0040809e
mov dword [ebp - 0x198], 0x6ab81d4b
lea eax, [ebp - 0x1cc]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
call fcn.0040abc2
add esp, 0x10
mov dword [ebp - 4], 0
jmp 0x40b35a
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jg 0x40b651
push 1
lea ecx, [ebp - 0x124]
call fcn.0040809e
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x90], 0
push 0x5e22
push 0x4b6a
push 0x7118
lea eax, [ebp - 0x1f8]
push eax
push 0
lea eax, [ebp - 0x124]
push eax
push 0
call fcn.0040f50b
add esp, 0x1c
push 0
lea ecx, [ebp - 0x124]
call fcn.0040818c
and dword [eax], 0
jmp 0x40b3e1
push 0
lea ecx, [ebp - 0x124]
call fcn.0040818c
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x110]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x124]
call fcn.0040818c
cmp dword [eax], 2
jg 0x40b411
mov byte [ebp - 0x19], 0
push 0x5dfa
push 0
lea eax, [ebp - 0x19]
push eax
push 0x378b
call fcn.0040f71b
add esp, 0x10
jmp 0x40b3bd
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0x64], 0
je 0x40b592
cmp dword [ebp - 0x24], 0
jne 0x40b429
cmp dword [ebp - 0x4c], 0
cmp dword [ebp - 4], 0x250042
jne 0x40b43b
mov dword [ebp - 0x58], 1
jmp 0x40b43f
and dword [ebp - 0x58], 0
push 0
lea ecx, [ebp - 0x124]
call fcn.0040818c
mov ecx, dword [ebp - 0x58]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x58]
jne 0x40b465
mov dword [ebp - 0x15c], 1
jmp 0x40b46c
and dword [ebp - 0x15c], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1fc], eax
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0x64], 0xb99bf0bb
jb 0x40b48e
mov dword [ebp - 0x194], 1
jmp 0x40b495
and dword [ebp - 0x194], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x64]
mov dword [ebp - 0x204], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x64], 0xfffd
ja 0x40b4c1
mov dword [ebp - 0xb4], 1
jmp 0x40b4c8
and dword [ebp - 0xb4], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x64]
cmp dword [ebp - 0xb4], eax
jne 0x40b4e5
mov dword [ebp - 0x164], 1
jmp 0x40b4ec
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xbc], eax
push 0
lea ecx, [ebp - 0x1cc]
call fcn.0040818c
mov ecx, dword [ebp - 0xbc]
mov dword [eax], ecx
cmp dword [ebp - 0xbc], 0xfffffff9
jne 0x40b53d
mov dword [ebp - 0xf4], 1
jmp 0x40b544
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x64]
cmp dword [ebp - 0xf4], eax
jg 0x40b55f
mov dword [ebp - 0xc4], 1
jmp 0x40b566
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xc4]
sub eax, 8
cmp eax, dword [ebp - 0x90]
jl 0x40b592
push 0
lea ecx, [ebp - 0x1cc]
call fcn.0040818c
cmp dword [eax], 0
je 0x40b592
mov dword [ebp - 0x6c], 1
jmp 0x40b596
and dword [ebp - 0x6c], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x64]
cmp dword [ebp - 0x6c], eax
je 0x40b5ad
mov dword [ebp - 0x70], 1
jmp 0x40b5b1
and dword [ebp - 0x70], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x64]
cmp dword [ebp - 0x70], eax
jne 0x40b5c9
mov dword [ebp - 0x78], 1
jmp 0x40b5cd
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x78]
sub ecx, dword [ebp + eax*4 - 0x64]
cmp ecx, 1
jge 0x40b5e5
mov dword [ebp - 0x80], 1
jmp 0x40b5e9
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x80], eax
jle 0x40b5fd
mov dword [ebp - 0x88], 1
jmp 0x40b604
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x24]
imul eax, dword [ebp - 0x88]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x90]
cmp dword [ebp - 0x98], eax
jge 0x40b62e
mov dword [ebp - 0xa0], 1
jmp 0x40b635
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x198], eax
lea ecx, [ebp - 0x124]
call fcn.00408170
jmp 0x40b353
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x40b689
push 0x17d7
push 0x33c6
push 0x6b21
push 0x3fd2
push 0
push 0x660d
push 1
mov edx, 0x62eb
xor cl, cl
call fcn.0046d6e4
add esp, 0x1c
lea ecx, [ebp - 0x1cc]
call fcn.00408170
jmp 0x40b2f7
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x10], 0
jne 0x40b91d
mov dword [ebp - 0x10], 0xc692beaa
push 1
lea ecx, [ebp - 0x1f0]
call fcn.0040809e
mov dword [ebp - 0x174], 0x430688cd
mov dword [ebp - 0x38], 0
jmp 0x40b6d4
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jge 0x40b6f0
push dword [ebp - 0x38]
lea ecx, [ebp - 0x1f0]
call fcn.0040818c
mov dword [eax], 0xfffe
jmp 0x40b6cd
cmp dword [ebp - 0x10], 0
je 0x40b7cb
push 2
lea ecx, [ebp - 0x1c0]
call fcn.0040809e
mov dword [ebp - 0x3c], 0
jmp 0x40b717
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jge 0x40b733
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x1c0]
call fcn.0040818c
mov dword [eax], 0x2d1
jmp 0x40b710
lea eax, [ebp - 0x1c0]
push eax
push 0x237e
push 0
push 1
push 1
call fcn.00409812
add esp, 0x14
mov dword [ebp - 0x10], 0
jmp 0x40b75d
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x18
je 0x40b7be
mov dword [ebp - 0x30], 0x46b6eb6b
mov dword [ebp - 0x30], 0
jmp 0x40b77a
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 2
jge 0x40b7a1
push 0
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x1c0]
push eax
mov edx, 0x1e9f
mov ecx, 0x1dfd
call fcn.0040937e
add esp, 0xc
jmp 0x40b773
mov byte [ebp - 0x1e], 0
push 0x78f5
lea eax, [ebp - 0x1e]
push eax
push 1
push 0
push 1
call fcn.00409812
add esp, 0x14
jmp 0x40b756
lea ecx, [ebp - 0x1c0]
call fcn.00408170
jmp 0x40b83f
mov dword [ebp - 0x1a8], 0x982b357f
mov dword [ebp - 0x10], 0
jmp 0x40b7e5
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jg 0x40b83f
mov dword [ebp - 0x16c], 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1f0]
push eax
push 0x39ab
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x1a8]
push eax
push 0x35b1
lea eax, [ebp - 0x174]
push eax
push 0
call fcn.0040fb95
add esp, 0x20
push 0
push 0x7987
push 0x104e
call fcn.00419032
add esp, 0xc
jmp 0x40b7de
lea ecx, [ebp - 0x1f0]
call fcn.00408170
push dword [ebp - 0x1a0]
lea eax, [ebp - 0x54]
push eax
push 0
push 0x22bd
push dword [ebp - 0x104]
push dword [ebp - 0x14]
call fcn.0041130d
add esp, 0x18
mov dword [ebp - 0x184], 6
mov dword [ebp - 0x34], 0x5d16
mov dword [ebp - 0x17c], 0x33563700
mov dword [ebp - 0x21c], 1
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
je 0x40b904
mov dword [ebp - 0x190], 0x717b
mov dword [ebp - 0x18c], 8
lea eax, [ebp - 0x17c]
push eax
push 0x7231
push 0
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x34]
push eax
push 0x39eb
lea eax, [ebp - 0x18c]
push eax
call fcn.00418e59
add esp, 0x20
mov byte [ebp - 0x1c], 0
movzx eax, byte [ebp - 0x1c]
test eax, eax
je 0x40b902
push 0x28c
push 0x5de
push 0
call fcn.00410058
add esp, 0xc
jmp 0x40b918
mov byte [ebp - 0x1a], 0
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x40b918
push 0
call fcn.0041cbc8
pop ecx
jmp 0x40b28e
mov dword [ebp - 8], 0xfffffff8
push 3
lea ecx, [ebp - 0x1d8]
call fcn.0040809e
mov dword [ebp - 0x150], 0x51fa4c82
lea eax, [ebp - 0x1d8]
push eax
push 0x4d5
lea eax, [ebp - 0x210]
push eax
push 0
push 1
call fcn.00411257
add esp, 0x14
mov byte [ebp - 0x1b], 0
push 0
lea eax, [ebp - 0x1b]
push eax
push 0
push 0x544b
push 0x1229
call fcn.0040ff22
add esp, 0x14
cmp dword [ebp - 8], 0
je 0x40ba69
cmp dword [ebp - 8], 0
jge 0x40b994
mov dword [ebp - 0xa8], 1
jmp 0x40b99b
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0xa8], eax
jle 0x40b9b5
cmp dword [ebp - 8], 0
jne 0x40b9b5
and dword [ebp - 0xb0], 0
jmp 0x40b9bf
mov dword [ebp - 0xb0], 1
mov eax, dword [ebp - 8]
cmp dword [ebp - 0xb0], eax
jg 0x40b9d3
mov dword [ebp - 0x68], 1
jmp 0x40b9d7
and dword [ebp - 0x68], 0
cmp dword [ebp - 0x68], 0xfa3dfad5
jbe 0x40b9ec
mov dword [ebp - 0xc0], 1
jmp 0x40b9f3
and dword [ebp - 0xc0], 0
cmp dword [ebp - 0xc0], 0xa3d7f191
ja 0x40ba11
cmp dword [ebp - 8], 0
je 0x40ba11
mov dword [ebp - 0xc8], 1
jmp 0x40ba18
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0xc8], eax
jl 0x40ba2f
mov dword [ebp - 0xd0], 1
jmp 0x40ba36
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0xd0], eax
jg 0x40ba4d
mov dword [ebp - 0x14c], 1
jmp 0x40ba54
and dword [ebp - 0x14c], 0
mov eax, 0xf4039ee4
test eax, eax
je 0x40ba69
mov dword [ebp - 0xd8], 1
jmp 0x40ba70
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0xd8], eax
jl 0x40ba87
mov dword [ebp - 0xe0], 1
jmp 0x40ba8e
and dword [ebp - 0xe0], 0
push 2
lea ecx, [ebp - 0x1d8]
call fcn.0040818c
mov ecx, dword [ebp - 0xe0]
imul ecx, dword [eax]
cmp ecx, 0xc4c8
je 0x40bab8
mov dword [ebp - 0xe8], 1
jmp 0x40babf
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xe8]
jge 0x40bad6
mov dword [ebp - 0xf0], 1
jmp 0x40badd
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 8]
imul eax, dword [ebp - 0xf0]
mov dword [ebp - 0x150], eax
lea ecx, [ebp - 0x1d8]
call fcn.00408170
push 4
push 0x1000
mov eax, dword [ebp - 0x14]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x104]
add ecx, dword [eax + 0xc]
push ecx
push 0x377c
push 0x3bf9
call fcn.0046acda
pop ecx
pop ecx
call eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x14]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x158]
add ecx, dword [eax + 0x14]
push ecx
push dword [ebp - 0x54]
call fcn.0046cd0c
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x54]
mov dword [eax + 8], ecx
jmp 0x40b28e
jmp 0x40bbc7
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x160]
movzx eax, byte [eax]
test eax, eax
je 0x40bb9c
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
push 0x3fe
push 0x1239
push 0xeec
push 0xe16
push 0
call dword [sym.imp.USER32.dll_TrackPopupMenu]
jmp 0x40bbc7
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x144], eax
push 0
mov ecx, dword [ebp - 0x144]
call fcn.0040818c
mov dword [eax], 0x108f8256
pop esi
mov esp, ebp
pop ebp
ret