Function at 0x40d1c9
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1bc
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x40dc9b
lea eax, [ebp + 0xc]
mov dword [ebp - 0xe0], eax
lea eax, [ebp + 0x34]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xe0]
movzx eax, byte [eax]
test eax, eax
je 0x40dc69
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x160]
movzx eax, byte [eax]
test eax, eax
je 0x40d2da
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x158]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x40dc67
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0xb26bdde0
mov dword [ebp - 0x5c], 0xfffffffd
mov dword [ebp - 0x140], 0x8c7fffaa
mov dword [ebp - 0x30], 0
jmp 0x40d323
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x16
je 0x40d525
push 4
lea ecx, [ebp - 0xd4]
call fcn.00434056
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x9c], 0xf4a0426a
mov dword [ebp - 0x124], 0xabff5ecc
push 0x27b7
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0x20]
push eax
push 0
call fcn.0041cc8a
add esp, 0x10
mov dword [ebp - 0x20], 0
jmp 0x40d37f
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 4
jge 0x40d395
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x1bc], 0xffffffff
jmp 0x40d378
mov dword [ebp - 0x10], 3
jmp 0x40d3a5
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x40d50d
push dword [ebp - 0x10]
lea ecx, [ebp - 0xd4]
call fcn.00434144
cmp dword [eax], 0
jne 0x40d3ce
mov dword [ebp - 0xac], 1
jmp 0x40d3d5
and dword [ebp - 0xac], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0xd4]
call fcn.00434144
cmp dword [eax], 0x93d0b548
jne 0x40d440
mov dword [ebp - 0x9c], 1
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x190], eax
push 1
lea ecx, [ebp - 0xd4]
call fcn.00434144
push dword [ebp - 0x10]
lea ecx, [ebp - 0xd4]
call fcn.00434144
cmp dword [eax], 0x8e10
jg 0x40d42d
mov dword [ebp - 0x4c], 1
jmp 0x40d431
and dword [ebp - 0x4c], 0
cmp dword [ebp - 0x4c], 0
jbe 0x40d440
mov dword [ebp - 0x54], 1
jmp 0x40d444
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0xac]
cmp eax, dword [ebp - 0x54]
jg 0x40d45b
mov dword [ebp - 0x94], 1
jmp 0x40d462
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x94]
sub eax, 0xc248
sub eax, dword [ebp - 0x5c]
jne 0x40d47f
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x1bc], 0
mov eax, dword [ebp - 0x140]
cmp dword [ebp - 0x5c], eax
jg 0x40d496
mov dword [ebp - 0xbc], 1
jmp 0x40d49d
and dword [ebp - 0xbc], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0xd4]
call fcn.00434144
mov ecx, dword [ebp - 0xbc]
sub ecx, dword [eax]
push 4
pop eax
shl eax, 1
cmp ecx, dword [ebp + eax - 0x1bc]
je 0x40d4ca
mov dword [ebp - 0x64], 1
jmp 0x40d4ce
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x124], eax
mov byte [ebp - 0x11], 0
push 0x23ed
push 0
push 1
push 1
push 0x5504
push 0x19d9
push 0x3e83
push 0x6ec5
push 1
lea eax, [ebp - 0x11]
push eax
call fcn.00408be6
add esp, 0x28
jmp 0x40d39e
push 0
call fcn.0041956a
pop ecx
lea ecx, [ebp - 0xd4]
call fcn.00434128
jmp 0x40d31c
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0x144], 0x16488a97
mov dword [ebp - 0x2c], 0
jmp 0x40d54b
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 2
jge 0x40d561
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0xdc], 0x93b4
jmp 0x40d544
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xdc], 0
je 0x40d598
push 1
push 0x36b0
push 0
push 0
push 0x48fc
push 0x5792
push 0x13f1
call fcn.00414e7d
add esp, 0x1c
jmp 0x40d694
mov dword [ebp - 0x18], 0x9609c3fb
mov dword [ebp - 0xa4], 0xa81a82e7
push 4
pop eax
imul eax, eax, 0
xor ecx, ecx
sub ecx, dword [ebp + eax - 0xdc]
mov eax, dword [ebp - 0x18]
lea eax, [ecx + eax + 6]
add eax, dword [ebp - 0x18]
push 4
pop ecx
shl ecx, 0
cmp eax, dword [ebp + ecx - 0xdc]
jl 0x40d5da
mov dword [ebp - 0x6c], 1
jmp 0x40d5de
and dword [ebp - 0x6c], 0
cmp dword [ebp - 0x6c], 0x6501
je 0x40d5f0
mov dword [ebp - 0x44], 1
jmp 0x40d5f4
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x44]
add eax, 7
jne 0x40d609
push 6
pop eax
test eax, eax
jne 0x40d609
and dword [ebp - 0x70], 0
jmp 0x40d610
mov dword [ebp - 0x70], 1
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x70], eax
jg 0x40d621
mov dword [ebp - 0x74], 1
jmp 0x40d625
and dword [ebp - 0x74], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xdc]
cmp dword [ebp - 0x74], eax
jne 0x40d643
mov dword [ebp - 0xb4], 1
jmp 0x40d64a
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0xb4]
cmp eax, dword [ebp - 0x18]
je 0x40d661
mov dword [ebp - 0x7c], 1
jmp 0x40d665
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xa4], eax
push 0x3b5f
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x144]
push eax
push 0
push 0x2db0
call fcn.0042d0e7
add esp, 0x18
mov dword [ebp - 0x14c], 0x6318
mov dword [ebp - 0x12c], 0x439beb06
push 3
lea ecx, [ebp - 0x180]
call fcn.00434056
push 0x675b
push 0x7a84
push 0xc5d
push 0
lea eax, [ebp - 0x194]
push eax
push 0x78b8
push 0x7e1b
push 1
push 0x4343
push 0x4847
push 0x1ba
push 1
push 0
push 1
lea eax, [ebp - 0x180]
push eax
call fcn.0040a078
add esp, 0x3c
push 0
push 1
push 0x4dc6
lea eax, [ebp - 0x180]
push eax
push 0
push 0
call fcn.0040992e
add esp, 0x18
push 0
push 0x193d
push 0x60f0
push 0x5e48
push 0
push 0x2a7
push 0x2aca
lea eax, [ebp - 0x12c]
push eax
push 0xe3
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x14c]
push eax
push 0x350
push 0x3fe1
push 0x14d5
call fcn.00411b4b
add esp, 0x38
lea ecx, [ebp - 0x180]
call fcn.00434128
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x34]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 0xc], eax
and dword [ebp - 0x38], 0
jmp 0x40d79d
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0xc]
add eax, 0x28
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x38], eax
jge 0x40dc67
push 0x5e7e
push 0
push 0x3fa9
push 0
push 0x76c7
push 1
push 0x61b5
push 1
push 0x5dc0
push 0x33a8
call fcn.00414c1e
add esp, 0x28
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x10], 0
jne 0x40d8df
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x134], 0x93e0566a
mov dword [ebp - 0x198], 0x52f67d50
mov dword [ebp - 0x24], 0
jmp 0x40d815
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jge 0x40d82b
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x84], 0xa9ac
jmp 0x40d80e
mov eax, 0x7b4
sub eax, dword [ebp - 0x28]
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x84]
jge 0x40d84e
mov dword [ebp - 0xc4], 1
jmp 0x40d855
and dword [ebp - 0xc4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x84]
imul eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0xc4]
jle 0x40d87a
mov dword [ebp - 0x8c], 1
jmp 0x40d881
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x28], eax
push 0x1d6b
push 0
push 0x3b86
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00416345
add esp, 0x14
push 0x7c1
lea eax, [ebp - 0x40]
push eax
push 1
lea eax, [ebp - 0x154]
push eax
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xc8]
push eax
push 1
call fcn.0040b577
add esp, 0x20
push 0
call fcn.0042b77b
pop ecx
jmp 0x40d78d
mov dword [ebp - 4], 0xfffffffa
mov dword [ebp - 8], 7
mov dword [ebp - 0x3c], 0xdb8846b5
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0xf0], 0x9018101b
mov dword [ebp - 0xb8], 0xf302d78b
mov eax, dword [ebp - 4]
cmp dword [ebp - 4], eax
jge 0x40d923
mov dword [ebp - 0x13c], 1
jmp 0x40d92a
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 4], 1
jl 0x40d942
mov dword [ebp - 0x48], 1
jmp 0x40d946
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 4]
jne 0x40d95a
cmp dword [ebp - 4], 0
jne 0x40d95a
and dword [ebp - 0x50], 0
jmp 0x40d961
mov dword [ebp - 0x50], 1
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 4]
jne 0x40d976
mov dword [ebp - 0x58], 1
jmp 0x40d97a
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x58]
cmp eax, 0xb80e
jg 0x40d990
mov dword [ebp - 0x60], 1
jmp 0x40d994
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp dword [ebp - 8], eax
je 0x40d9ae
mov dword [ebp - 0x15c], 1
jmp 0x40d9b5
and dword [ebp - 0x15c], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 8], eax
jl 0x40d9c9
mov dword [ebp - 0xe4], 1
jmp 0x40d9d0
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1a8], eax
cmp dword [ebp - 8], 0
jne 0x40d9ee
mov eax, 0xf7bdd484
test eax, eax
jne 0x40d9ee
and dword [ebp - 0x68], 0
jmp 0x40d9f5
mov dword [ebp - 0x68], 1
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x68]
jne 0x40da06
mov dword [ebp - 0x78], 1
jmp 0x40da0a
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x19c], eax
cmp dword [ebp - 4], 0
jne 0x40da3d
cmp dword [ebp - 0x1c], 0
jne 0x40da3d
mov eax, 0xadd3
test eax, eax
jne 0x40da3d
and dword [ebp - 0x80], 0
jmp 0x40da44
mov dword [ebp - 0x80], 1
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x80]
je 0x40da58
mov dword [ebp - 0x88], 1
jmp 0x40da5f
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x88], eax
jg 0x40da76
mov dword [ebp - 0x90], 1
jmp 0x40da7d
and dword [ebp - 0x90], 0
cmp dword [ebp - 0x90], 0x40a9711f
jge 0x40da95
mov dword [ebp - 0x98], 1
jmp 0x40da9c
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x98]
test eax, eax
je 0x40dabc
cmp dword [ebp - 8], 0
je 0x40dabc
mov dword [ebp - 0xa0], 1
jmp 0x40dac3
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0xa0]
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x1c]
jge 0x40dadd
mov dword [ebp - 0xa8], 1
jmp 0x40dae4
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0xa8], eax
jne 0x40dafb
mov dword [ebp - 0xb0], 1
jmp 0x40db02
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xb0]
sub eax, 0x58945cb2
je 0x40dbbb
mov dword [ebp - 0xe8], 0xffffffff
mov dword [ebp - 0xf8], 8
push 1
lea ecx, [ebp - 0x18c]
call fcn.00434056
push 0
lea eax, [ebp - 0x18c]
push eax
push 0x5e5c
lea eax, [ebp - 0x1ac]
push eax
call fcn.00411a1a
add esp, 0x10
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xb8]
push eax
push 0xb10
lea eax, [ebp - 0x3c]
push eax
push 0x7b05
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0xf0]
push eax
push 0
push 0x61cc
push 1
lea eax, [ebp - 8]
push eax
push 0x5f6
lea eax, [ebp - 0xf8]
push eax
call fcn.004142dd
add esp, 0x34
lea eax, [ebp - 0x3c]
push eax
push 0
lea eax, [ebp - 0x18c]
push eax
call fcn.0041660e
add esp, 0xc
lea ecx, [ebp - 0x18c]
call fcn.00434128
jmp 0x40dbfb
mov dword [ebp - 0xc0], 0x3efbb05d
push 0
push 0x740d
lea eax, [ebp - 0xc0]
push eax
call fcn.00426d41
add esp, 0xc
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 4]
push eax
push 0
call fcn.0041fb10
add esp, 0x14
push 4
push 0x1000
mov eax, dword [ebp - 0xc]
push dword [eax + 0x10]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc8]
add ecx, dword [eax + 0xc]
push ecx
push 0x15a4
push 0x1d80
call fcn.00406edc
pop ecx
pop ecx
call eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xc]
push dword [eax + 0x10]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x100]
add ecx, dword [eax + 0x14]
push ecx
push dword [ebp - 0x40]
call fcn.00407607
add esp, 0xc
push 0x7df0
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x40]
push eax
push 0
call fcn.00429022
add esp, 0x14
jmp 0x40d78d
jmp 0x40dc99
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x118], eax
push dword [ebp - 0x118]
push 1
push dword [ebp - 0x120]
push 0
call fcn.0041bf60
add esp, 0x10
jmp 0x40dce3
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x130], eax
push 0x2de6
push 0x4cee
push dword [ebp - 0x128]
push 1
push 0
push dword [ebp - 0x130]
push 0x416
push dword [ebp - 0x138]
call fcn.00429df8
add esp, 0x20
mov esp, ebp
pop ebp
ret