Function at 0x4217f3
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1dc
movzx eax, byte [ebp + 0x2c]
test eax, eax
je 0x421869
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14c], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x134], eax
push 1
push 0x272e
push 0x6581
push 0x308c
push 0x3be1
push 1
mov eax, dword [ebp - 0x134]
movzx eax, byte [eax]
push eax
push 0x3332
push 0x29fa
push dword [ebp - 0x14c]
push dword [ebp - 0x144]
push 0x6c18
call fcn.004224e6
add esp, 0x30
jmp 0x4224e2
lea eax, [ebp + 0x20]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xd8], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xb8], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0xb0]
movzx eax, byte [eax]
test eax, eax
je 0x42192b
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x13c]
movzx eax, byte [eax]
test eax, eax
je 0x42190b
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
movzx eax, byte [eax]
test eax, eax
je 0x421909
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
jmp 0x421926
push 0
push 0
push 0x48f
push 0xb29
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
jmp 0x4224e2
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x148]
movzx eax, byte [eax]
test eax, eax
je 0x42198d
push 0
push 0x2314
push 0xbaa
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetSystemPaletteEntries]
jmp 0x4224e2
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x34], eax
push 0x73f4
push 0x7031
push 0x38a9
push 0x3b23
push 0
push 0
call fcn.0040e0c7
add esp, 0x18
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x1a0], 5
mov dword [ebp - 0x1ac], 0xd19ac196
push 1
lea ecx, [ebp - 0x1c0]
call fcn.0042f3cf
mov dword [ebp - 0x1c4], 0xffffffff
mov dword [ebp - 0x1b4], 0x67bb1a88
mov dword [ebp - 0x110], 0x97312b94
mov dword [ebp - 0x2c], 0
jmp 0x421a29
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
jge 0x421a3f
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x1a4], 0xffffffff
jmp 0x421a22
push 0x131d
lea eax, [ebp - 0x1c0]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x5437
push 0
push 0x208c
push 0x79a6
push 0x439b
push 0x3a52
push 0xa99
push 1
push 0x5c9c
push 1
push 0xf63
push 0x2728
push 0x1c8f
push 0
push 0x79a2
push 0x3e59
call fcn.004230e7
add esp, 0x4c
push 0x3fc2
push 0
push 0x37c0
push 1
lea eax, [ebp - 0x110]
push eax
push 1
push 0x67d5
push 0x33fe
push 1
call fcn.004083ca
add esp, 0x24
lea ecx, [ebp - 0x1c0]
call fcn.0042f4a1
push 1
lea ecx, [ebp - 0x178]
call fcn.0042f3cf
mov dword [ebp - 0x20], 0xfffffff6
push 0x1669
push 0x4d3
push 0x3e15
push 0
push 0x5bee
push 0
push 1
lea eax, [ebp - 0x1a8]
push eax
push 0x2e81
push 0x3e97
push 0x3202
push 0x3ceb
lea eax, [ebp - 0x178]
push eax
call fcn.0040f05c
add esp, 0x34
mov dword [ebp - 0x20], 0
jmp 0x421b39
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x421b5e
push dword [ebp - 0x20]
lea ecx, [ebp - 0x178]
call fcn.0042f4bd
cmp dword [eax], 0
je 0x421b54
jmp 0x421b5e
push 0
call fcn.004233b0
pop ecx
jmp 0x421b32
lea ecx, [ebp - 0x178]
call fcn.0042f4a1
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 - 4], eax
and dword [ebp - 0x4c], 0
jmp 0x421b94
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 4]
add eax, 0x28
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x4c], eax
jge 0x4224e2
mov dword [ebp - 0xf0], 0x506d
mov dword [ebp - 0x18], 0xb1c2
mov dword [ebp - 0x3c], 0xfffffff6
mov dword [ebp - 0xc], 0xfffffffc
mov dword [ebp - 0x30], 0xd670012a
mov dword [ebp - 0x14], 5
mov dword [ebp - 0x60], 0xd33b947
mov dword [ebp - 0x40], 0
jmp 0x421bea
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 4
jge 0x421c00
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x160], 0xca4e8652
jmp 0x421be3
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0xf0], eax
jg 0x421c32
push 0x545c
push 0xc3d
push 0x6d72
push 0x2b1e
push 0
push 0
push 0
call fcn.0041684e
add esp, 0x1c
jmp 0x421f88
mov dword [ebp - 0x78], 0xc25fa5fe
mov dword [ebp - 0xf8], 0xfffffff8
push 2
lea ecx, [ebp - 0xa0]
call fcn.0042f3cf
mov dword [ebp - 0x48], 0x1f3403ca
push 0x11b6
push 0x32d8
lea eax, [ebp - 0x1b0]
push eax
push 0x4614
push 0x7e9f
push 1
push 1
push 0x1ce4
push 0x38b9
push 0x1139
push 0x7308
push 0
lea eax, [ebp - 0xa0]
push eax
push 0x6a22
push 1
push 0x6933
push 0x1c98
push 0x63ce
push 0x294d
push 0x6d34
push 0xb4d
push 0x79e5
push 0x7f3f
call fcn.0040b474
add esp, 0x5c
cmp dword [ebp - 0x18], 0
je 0x421d03
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 0x48]
inc edx
mov dword [ebp - 0x48], edx
cmp ecx, eax
jle 0x421d03
cmp dword [ebp - 0x30], 0x91e6
jl 0x421cf9
cmp dword [ebp - 0xc], 0
jne 0x421cf9
and dword [ebp - 0x118], 0
jmp 0x421d03
mov dword [ebp - 0x118], 1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x3c], eax
je 0x421d1a
mov dword [ebp - 0x5c], 1
jmp 0x421d1e
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x78]
add eax, dword [ebp - 0x5c]
mov dword [ebp - 0x88], eax
push 1
lea ecx, [ebp - 0xa0]
call fcn.0042f4bd
mov ecx, dword [ebp - 0x88]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x88]
je 0x421d90
push 0
push 0x66e5
push 0x2b7f
push 0x14a9
push 0xdb8
push 0x54cd
push 0
lea eax, [ebp - 0x3c]
push eax
push 0
push 0xce6
push 0x4046
lea eax, [ebp - 0xa0]
push eax
push 0x1819
call fcn.00416a40
add esp, 0x34
jmp 0x421f7d
mov dword [ebp - 0x74], 3
mov dword [ebp - 0x30], 0xffffffe6
jmp 0x421da7
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 2
jg 0x421f7d
mov dword [ebp - 0x24], 0x4c259dba
mov dword [ebp - 0x14], 0
jmp 0x421dc8
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jg 0x421f78
mov dword [ebp - 0x38], 0
jmp 0x421de2
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 4
jge 0x421df8
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x1dc], 0xfff7
jmp 0x421ddb
mov dword [ebp - 0xc], 0
jmp 0x421e08
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
jg 0x421e24
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x160]
mov dword [ebp + ecx*4 - 0x160], eax
jmp 0x421e01
push 1
lea ecx, [ebp - 0xa0]
call fcn.0042f4bd
mov eax, dword [ebp - 0x14]
cmp dword [ebp + eax*4 - 0x160], 0x14e0d
jg 0x421e47
cmp dword [ebp - 0x24], 0
je 0x421e56
cmp dword [ebp - 0x74], 0
je 0x421e56
mov dword [ebp - 0x64], 1
jmp 0x421e5a
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x3c], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x160], 0
jae 0x421e79
mov dword [ebp - 0x80], 1
jmp 0x421e7d
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0xf8]
cmp dword [ebp - 0x80], eax
jne 0x421e91
mov dword [ebp - 0x6c], 1
jmp 0x421e95
and dword [ebp - 0x6c], 0
cmp dword [ebp - 0x6c], 0x3d46409e
je 0x421eaa
mov dword [ebp - 0x90], 1
jmp 0x421eb1
and dword [ebp - 0x90], 0
cmp dword [ebp - 0x90], 1
je 0x421ec3
mov dword [ebp - 0x54], 1
jmp 0x421ec7
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x54]
add eax, 3
cmp dword [ebp - 0x24], eax
jl 0x421edb
mov dword [ebp - 0x58], 1
jmp 0x421edf
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x74]
cmp dword [ebp - 0x58], eax
je 0x421ef0
mov dword [ebp - 0x68], 1
jmp 0x421ef4
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x68]
jle 0x421f0b
mov dword [ebp - 0x70], 1
jmp 0x421f0f
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x160]
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp - 0x70]
neg eax
mov dword [ebp - 0x120], eax
push 0
lea ecx, [ebp - 0xa0]
call fcn.0042f4bd
mov ecx, dword [ebp - 0x120]
mov dword [eax], ecx
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x160]
cmp dword [ebp - 0x18], eax
jne 0x421f59
mov dword [ebp - 0x7c], 1
jmp 0x421f5d
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x24], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x24]
mov dword [ebp + eax - 0x1dc], ecx
jmp 0x421dc1
jmp 0x421da0
lea ecx, [ebp - 0xa0]
call fcn.0042f4a1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
jne 0x422275
mov dword [ebp - 0x150], 0xfffffffb
mov dword [ebp - 0x138], 6
mov dword [ebp - 0x114], 0xfffffff9
mov dword [ebp - 0x108], 0xa5166941
mov dword [ebp - 0x100], 0x7b5bf2d3
push 2
lea ecx, [ebp - 0x190]
call fcn.0042f3cf
mov dword [ebp - 0x130], 1
mov dword [ebp - 0x128], 0xfffffff9
push 0x4be3
push 0x6dbc
push 0x67e3
lea eax, [ebp - 0x190]
push eax
push 0
push 0x504c
lea eax, [ebp - 0x1cc]
push eax
call fcn.0042b516
add esp, 0x1c
mov byte [ebp - 5], 0
push 1
push 0x7ffc
push 0
push 0x1c24
push 1
push 0x4abc
push 0x2196
push 0x73ed
lea eax, [ebp - 5]
push eax
call fcn.0040ab76
add esp, 0x24
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0x128]
push eax
push 0x4227
lea eax, [ebp - 0x108]
push eax
push 0
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x114]
push eax
push 0x60c0
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x150]
push eax
call fcn.0042af29
add esp, 0x2c
lea ecx, [ebp - 0x190]
call fcn.0042f4a1
push 0xceb
push 0x4c94
push 0x161f
push 0x2504
push 0x45f9
push 0x503c
push 1
lea eax, [ebp - 0x11c]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x50]
push eax
push 0x7ebf
push 0x5bb2
push 1
lea eax, [ebp - 0x8c]
push eax
push 0x5d44
push 0x3453
push 0x109e
push 0x49c8
push 0x2fc9
push 0x6417
lea eax, [ebp - 4]
push eax
push 1
call fcn.00417ddc
add esp, 0x60
mov dword [ebp - 0xa8], 0xb659d568
mov dword [ebp - 0xac], 0xa8bc07c2
mov dword [ebp - 0xbc], 1
mov dword [ebp - 0xb4], 0xae2fe817
push 2
lea ecx, [ebp - 0x184]
call fcn.0042f3cf
push 1
lea ecx, [ebp - 0x16c]
call fcn.0042f3cf
push 1
push 0x6d77
push 0x2f20
push 1
push 0x4b0e
lea eax, [ebp - 0x184]
push eax
push 0
lea eax, [ebp - 0x28]
push eax
push 0x7424
push 0
push 0x57cb
push 0x4235
push 0x69aa
call fcn.00415daa
add esp, 0x34
mov dword [ebp - 0x28], 0
jmp 0x42219a
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
jge 0x4221b6
push dword [ebp - 0x28]
lea ecx, [ebp - 0x16c]
call fcn.0042f4bd
mov dword [eax], 0x77722aba
jmp 0x422193
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xac]
push eax
push 0x5adc
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x16c]
push eax
push 0x3013
push 1
push 0x730e
push 0
push 0
push 1
push 0x31bc
push 0xe49
lea eax, [ebp - 0x184]
push eax
push 1
push 0x36ea
push 0x10ab
push 0x2948
lea eax, [ebp - 0xbc]
push eax
push 0x487b
push 0x3e5c
push 0x372c
push 0x7298
push 1
call fcn.00417ddc
add esp, 0x60
mov byte [ebp - 0xd], 0
push 0x43a9
push 0x1536
lea eax, [ebp - 0xd]
push eax
push 0
push 0
push 1
push 0x7265
push 0x315
call fcn.00420c92
add esp, 0x20
lea ecx, [ebp - 0x16c]
call fcn.0042f4a1
lea ecx, [ebp - 0x184]
call fcn.0042f4a1
jmp 0x421b84
mov dword [ebp - 0x84], 0x1c7bf0b9
mov dword [ebp - 0xcc], 0xd5d7
mov dword [ebp - 0xc4], 0xcfdf
lea eax, [ebp - 0x84]
push eax
push 1
push 0
push 0x21bc
call fcn.0040aca5
add esp, 0x10
push 0xba1
lea eax, [ebp - 0xc4]
push eax
push 1
push 0x23b4
push 0
push 0
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x84]
push eax
push 1
push 0x31de
push 0x5aad
push 0x5aa1
call fcn.004296f7
add esp, 0x30
push 4
push 0x1000
mov eax, dword [ebp - 4]
push dword [eax + 0x10]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x8c]
add ecx, dword [eax + 0xc]
push ecx
push 0x679
push 0x559
call fcn.004072ea
pop ecx
pop ecx
call eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 4]
push dword [eax + 0x10]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xd4]
add ecx, dword [eax + 0x14]
push ecx
push dword [ebp - 0x50]
call fcn.004077c9
add esp, 0xc
mov dword [ebp - 0x1c], 0xfffffffe
push 3
lea ecx, [ebp - 0x19c]
call fcn.0042f3cf
mov dword [ebp - 0xf4], 0xb6ea
mov dword [ebp - 0x94], 0x273d5943
mov dword [ebp - 0x104], 1
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0x44], 0
jmp 0x422383
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 3
jge 0x42239c
push dword [ebp - 0x44]
lea ecx, [ebp - 0x19c]
call fcn.0042f4bd
or dword [eax], 0xffffffff
jmp 0x42237c
push 1
push 0x6282
push 0
push 0x7bfb
push 0xb1
push 0x6bd9
push 0x5c94
push 0x7d54
push 0x69ad
push 0x5484
push 0x6d76
push 0
call fcn.00412a86
add esp, 0x30
mov dword [ebp - 0x1c], 0
jmp 0x4223e7
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffee
jne 0x4224bb
mov dword [ebp - 0xfc], 4
mov dword [ebp - 0xec], 0x1ebf0ddd
mov dword [ebp - 0xe4], 0xfffffffb
push 0
lea eax, [ebp - 0xdc]
push eax
push 1
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0x104]
push eax
push 1
call fcn.00412a86
add esp, 0x30
push 0x244
push 0x6c2d
push 0x4e5b
lea eax, [ebp - 0x94]
push eax
push 0
push 0x3860
push 0x27c0
push 0x76e5
push 0x379e
push 0x4f99
push 1
push 0x60c0
push 1
push 0x30e
push 0x121e
push 0x56a6
push 1
push 0x5643
push 0x2089
call fcn.004230e7
add esp, 0x4c
jmp 0x4223e0
lea ecx, [ebp - 0x19c]
call fcn.0042f4a1
push 0x4203
lea eax, [ebp - 0x50]
push eax
push 0
lea eax, [ebp - 4]
push eax
call fcn.004170ca
add esp, 0x10
jmp 0x421b84
mov esp, ebp
pop ebp
ret