Function at 0x418b4e
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18c
mov dword [ebp - 0xc], 0xfffffffc
mov dword [ebp - 0x10], 0x10e5e534
mov dword [ebp - 0x38], 0xfffffff6
mov dword [ebp - 0xcc], 1
mov dword [ebp - 0x140], 1
mov dword [ebp - 0x138], 0x9b03be46
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x158], eax
imul eax, dword [ebp - 0xc], 0
cmp eax, 0x348
jne 0x418bb0
mov dword [ebp - 0x70], 1
jmp 0x418bb4
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x70], eax
jne 0x418bc8
mov dword [ebp - 0xc8], 1
jmp 0x418bcf
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0xc8]
sub eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x10]
jle 0x418be9
mov dword [ebp - 0x4c], 1
jmp 0x418bed
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x4c], eax
jg 0x418c01
mov dword [ebp - 0xac], 1
jmp 0x418c08
and dword [ebp - 0xac], 0
cmp dword [ebp - 0xac], 0x48a2b8ea
jge 0x418c1d
mov dword [ebp - 0x54], 1
jmp 0x418c21
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x54]
jne 0x418c35
mov dword [ebp - 0x94], 1
jmp 0x418c3c
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x94]
test eax, eax
je 0x418c59
cmp dword [ebp - 0x10], 0
je 0x418c59
mov dword [ebp - 0x5c], 1
jmp 0x418c5d
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x5c], eax
jne 0x418c71
mov dword [ebp - 0xbc], 1
jmp 0x418c78
and dword [ebp - 0xbc], 0
cmp dword [ebp - 0xbc], 1
jg 0x418c8d
cmp dword [ebp - 0xc], 0
jne 0x418c8d
and dword [ebp - 0x64], 0
jmp 0x418c94
mov dword [ebp - 0x64], 1
mov eax, dword [ebp - 0xc]
imul eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0xc]
jl 0x418cac
mov dword [ebp - 0x9c], 1
jmp 0x418cb3
and dword [ebp - 0x9c], 0
cmp dword [ebp - 0x9c], 0xffffffff
je 0x418cc5
mov dword [ebp - 0x6c], 1
jmp 0x418cc9
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0xcc]
cmp dword [ebp - 0x38], eax
jg 0x418ce0
cmp dword [ebp - 0x10], 0
je 0x418ce9
mov dword [ebp - 0x38], 0
jmp 0x418d51
mov dword [ebp - 0x160], 8
mov dword [ebp - 0x178], 0
mov dword [ebp - 0xb4], 3
mov dword [ebp - 0x30], 0
jmp 0x418d17
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
jge 0x418d2d
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x18c], 0x6a67606e
jmp 0x418d10
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
mov byte [ebp - 0x18], 0
movzx eax, byte [ebp - 0x18]
test eax, eax
je 0x418d51
push 0xd0f
call dword [sym.imp.USER32.dll_GetKeyboardType]
mov dword [ebp - 0x118], 0x5bb2c213
mov dword [ebp - 0x114], 0x5bb2c213
mov dword [ebp - 0x110], 0x5bb2c213
mov dword [ebp - 0x10c], 0x5bb2c213
mov dword [ebp - 0x144], 0x5010f7a7
mov dword [ebp - 0x164], 0x443ac46d
mov dword [ebp - 0x60], 0
mov dword [ebp - 0xe8], 0xffffffff
mov dword [ebp - 0x13c], 0x34bdac84
mov dword [ebp - 0x130], 0x96753f3a
mov dword [ebp - 0x148], 0x1ae9a07b
mov dword [ebp - 0x15c], 1
mov dword [ebp - 0x3c], 3
mov dword [ebp - 8], 0
jmp 0x418ddd
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jge 0x418df3
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x14c], 9
jmp 0x418dd6
mov dword [ebp - 8], 0
jmp 0x418e03
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
jge 0x418e19
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x108], 0xffffffff
jmp 0x418dfc
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x118], 0
je 0x418f96
mov dword [ebp - 0x174], 1
mov dword [ebp - 0x154], 0xfbd6c3f0
mov dword [ebp - 0xd4], 0x1c3a23fe
mov dword [ebp - 0x134], 0x52d0da0b
push 2
lea ecx, [ebp - 0x170]
call fcn.004113a6
mov dword [ebp - 0x7c], 0xf34ffdea
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0x28], 0
jmp 0x418e83
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 2
jge 0x418e9f
push dword [ebp - 0x28]
lea ecx, [ebp - 0x170]
call fcn.00401484
mov dword [eax], 0xd95da228
jmp 0x418e7c
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x118]
cmp dword [ebp - 0xe8], eax
jle 0x418ebd
mov dword [ebp - 0x74], 1
jmp 0x418ec1
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x7c]
cmp dword [ebp - 0x74], eax
jg 0x418ed5
mov dword [ebp - 0xc4], 1
jmp 0x418edc
and dword [ebp - 0xc4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x108]
sub eax, 0x6492a415
cmp dword [ebp - 0xd4], eax
jle 0x418f02
mov dword [ebp - 0xa4], 1
jmp 0x418f09
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xa4]
sub eax, dword [ebp - 0x7c]
jne 0x418f20
cmp dword [ebp - 0x60], 0
jne 0x418f20
and dword [ebp - 0x44], 0
jmp 0x418f27
mov dword [ebp - 0x44], 1
mov eax, dword [ebp - 0xc4]
cmp eax, dword [ebp - 0x44]
jle 0x418f3b
mov dword [ebp - 0x48], 1
jmp 0x418f3f
and dword [ebp - 0x48], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x108]
cmp dword [ebp - 0x48], eax
jg 0x418f5a
mov dword [ebp - 0x50], 1
jmp 0x418f5e
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x50]
jge 0x418f7f
cmp dword [ebp - 0xd8], 0
je 0x418f7f
mov dword [ebp - 0x58], 1
jmp 0x418f83
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x170]
call fcn.00411478
jmp 0x418fce
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x418fb8
push 0
push 0
push 0x1969
push 0x8e0
push 0
call dword [sym.imp.USER32.dll_ModifyMenuW]
mov byte [ebp - 0x1a], 0
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x418fce
push 0
push 0
call dword [sym.imp.GDI32.dll_CopyEnhMetaFileA]
push 0
push 0x1ddb
push 0x3303
push dword [ebp + 8]
push 0x5142
lea eax, [ebp - 0xd0]
push eax
push 0x870
push dword [ebp + 0xc]
call fcn.0041bffa
add esp, 0x20
mov dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0xf4]
call fcn.004113a6
mov dword [ebp - 0x24], 0
jmp 0x41901d
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jge 0x419036
push dword [ebp - 0x24]
lea ecx, [ebp - 0xf4]
call fcn.00401484
and dword [eax], 0
jmp 0x419016
mov dword [ebp - 4], 0xfffffffa
jmp 0x419046
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 6
jge 0x419261
mov dword [ebp - 0x12c], 0x69f4288a
mov dword [ebp - 0x128], 0x69f4288a
mov dword [ebp - 0x124], 0x69f4288a
mov dword [ebp - 0x120], 0x69f4288a
lea ecx, [ebp - 0x31]
call fcn.00411494
push eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x180]
call fcn.00411497
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x100]
call fcn.00411452
push 1
lea ecx, [ebp - 0x8c]
call fcn.004113a6
mov dword [ebp - 0x78], 0x39f5fa31
mov dword [ebp - 0x2c], 0
jmp 0x4190ce
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
jge 0x4190e7
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x8c]
call fcn.00401484
or dword [eax], 0xffffffff
jmp 0x4190c7
mov byte [ebp - 0x16], 0
movzx eax, byte [ebp - 0x16]
test eax, eax
je 0x4190fb
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0
lea ecx, [ebp - 0x8c]
call fcn.00401484
mov dword [eax], 3
jmp 0x41912b
push 0
lea ecx, [ebp - 0x8c]
call fcn.00401484
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x68]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x8c]
call fcn.00401484
cmp dword [eax], 0
jl 0x419246
mov dword [ebp - 0x20], 0xc93ee327
mov dword [ebp - 0x90], 0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0x20], 0
jmp 0x41916c
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jg 0x41918f
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x41918d
push 0
push 0x659
push 0
call dword [sym.imp.ADVAPI32.dll_ControlService]
jmp 0x419165
push 0
lea ecx, [ebp - 0x8c]
call fcn.00401484
push dword [eax]
lea ecx, [ebp - 0x100]
call fcn.00401484
cmp dword [eax], 0
jne 0x4191bb
push 1
lea ecx, [ebp - 0x100]
call fcn.00401484
push 0
lea ecx, [ebp - 0x8c]
call fcn.00401484
push 0
lea ecx, [ebp - 0x100]
call fcn.00401484
cmp dword [eax], 0
jne 0x4191ff
push 0
lea ecx, [ebp - 0x8c]
call fcn.00401484
push dword [eax]
lea ecx, [ebp - 0x100]
call fcn.00401484
cmp dword [eax], 0
jne 0x4191ff
and dword [ebp - 0x40], 0
jmp 0x419206
mov dword [ebp - 0x40], 1
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
sub eax, 0x110e6b6c
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x16
jg 0x419226
mov dword [ebp - 0x80], 1
jmp 0x41922a
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
neg eax
mov dword [ebp - 0xdc], eax
jmp 0x419110
lea ecx, [ebp - 0x8c]
call fcn.00411478
lea ecx, [ebp - 0x100]
call fcn.00411478
jmp 0x41903f
mov dword [ebp - 4], 0
jmp 0x419271
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x1b
jg 0x4193de
mov dword [ebp - 0x14], 0x82e58099
mov dword [ebp - 0xe4], 0xb1c5adf
mov dword [ebp - 0x14], 0
jmp 0x41929c
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jg 0x4193d9
mov byte [ebp - 0x17], 0
movzx eax, byte [ebp - 0x17]
test eax, eax
je 0x4192c6
push 0x168c
push 0
push 0x15e7
push 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push dword [ebp - 0x14]
lea ecx, [ebp - 0xf4]
call fcn.00401484
cmp dword [eax], 1
jne 0x4192e5
mov dword [ebp - 0x98], 1
jmp 0x4192ec
and dword [ebp - 0x98], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0xf4]
call fcn.00401484
mov ecx, dword [ebp - 0x98]
cmp ecx, dword [eax]
jg 0x419310
mov dword [ebp - 0xa0], 1
jmp 0x419317
and dword [ebp - 0xa0], 0
imul eax, dword [ebp - 0xa0], 0xb6ba
test eax, eax
jne 0x419335
push 4
pop eax
test eax, eax
jne 0x419335
and dword [ebp - 0xa8], 0
jmp 0x41933f
mov dword [ebp - 0xa8], 1
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xa8]
cmp eax, 0xfffffffc
je 0x419359
mov dword [ebp - 0xb0], 1
jmp 0x419360
and dword [ebp - 0xb0], 0
push 0
lea ecx, [ebp - 0xf4]
call fcn.00401484
mov ecx, dword [ebp - 0xb0]
cmp ecx, dword [eax]
je 0x419383
mov dword [ebp - 0xe0], 1
jmp 0x41938a
and dword [ebp - 0xe0], 0
cmp dword [ebp - 4], 0
jne 0x41939f
cmp dword [ebp - 0x14], 0
jne 0x41939f
and dword [ebp - 0xb8], 0
jmp 0x4193a9
mov dword [ebp - 0xb8], 1
cmp dword [ebp - 0xb8], 0xa9c1c73b
jb 0x4193c1
mov dword [ebp - 0xc0], 1
jmp 0x4193c8
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xe4], eax
jmp 0x419295
jmp 0x41926a
lea ecx, [ebp - 0xf4]
call fcn.00411478
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xd0]
mov esp, ebp
pop ebp
ret