Function at 0x4782a9
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
mov dword [ebp - 0x14], 0xb0b02971
mov dword [ebp - 0x2c], 0
jmp 0x4782c9
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
jge 0x4782df
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x14c], 0xe91a
jmp 0x4782c2
mov dword [ebp - 0x14], 0
jmp 0x4782ef
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x478321
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x47831f
push 0x1e52
push 0x221d
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_LineTo]
jmp 0x4782e8
mov dword [ebp - 0x14], 0
jmp 0x478331
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 7
jne 0x478354
mov byte [ebp - 0x20], 0
movzx eax, byte [ebp - 0x20]
test eax, eax
je 0x478352
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetMenu]
jmp 0x47832a
and dword [ebp - 0xc], 0
mov dword [ebp - 0x34], 0
jmp 0x478368
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 2
jge 0x47837e
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0xdc], 2
jmp 0x478361
mov byte [ebp - 0x1f], 0
movzx eax, byte [ebp - 0x1f]
test eax, eax
je 0x478398
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegGetKeySecurity]
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0xdc], 0xffffffef
jmp 0x4783c6
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xdc]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0xdc], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xdc], 0
je 0x4783f1
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x4783ef
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_ShowCaret]
jmp 0x4783ab
mov dword [ebp - 0x18], 0xf5537c57
mov dword [ebp - 0x40], 0x809b4af7
mov dword [ebp - 0x3c], 0x17b38e51
mov dword [ebp - 0xec], 3
mov dword [ebp - 4], 0
jmp 0x478420
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jge 0x478433
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x78], 0x999d
jmp 0x478419
mov dword [ebp - 4], 0
jmp 0x478443
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jge 0x478456
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x1c], 0xfffffff6
jmp 0x47843c
mov dword [ebp - 4], 0
jmp 0x478466
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jge 0x47847c
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xe0], 0x81dda8db
jmp 0x47845f
mov dword [ebp - 4], 0
jmp 0x47848c
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jge 0x4784a2
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x164], 0x4acd6ba
jmp 0x478485
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x78], 0xbef7d651
mov eax, 0xbef7d651
cmp eax, 0x3281d21f
je 0x4784c8
mov dword [ebp - 0xa0], 1
jmp 0x4784cf
and dword [ebp - 0xa0], 0
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x1c]
cmp dword [ebp + eax - 0x1c], ecx
jge 0x4784ee
mov dword [ebp - 0x5c], 1
jmp 0x4784f2
and dword [ebp - 0x5c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c]
cmp dword [ebp - 0x18], eax
jge 0x47850a
mov dword [ebp - 0x7c], 1
jmp 0x47850e
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x40], eax
jge 0x478528
cmp dword [ebp - 0x40], 0
jne 0x478528
and dword [ebp - 0x54], 0
jmp 0x47852f
mov dword [ebp - 0x54], 1
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x54], eax
je 0x478540
mov dword [ebp - 0x44], 1
jmp 0x478544
and dword [ebp - 0x44], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
mov dword [ebp + eax - 0xe0], ecx
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x18]
jne 0x478569
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x1c], 0
je 0x47857b
cmp dword [ebp - 0x18], 0
je 0x47857b
mov dword [ebp - 0xd4], 1
jmp 0x478582
and dword [ebp - 0xd4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c]
cmp dword [ebp - 0xd4], eax
jg 0x47859d
mov dword [ebp - 0x60], 1
jmp 0x4785a1
and dword [ebp - 0x60], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x60]
sub ecx, dword [ebp + eax - 0x1c]
sub ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x5c]
sub eax, ecx
mov dword [ebp - 0xb8], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xb8]
mov dword [ebp + eax - 0x1c], ecx
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0xb8], eax
je 0x4785e3
mov dword [ebp - 0x68], 1
jmp 0x4785e7
and dword [ebp - 0x68], 0
cmp dword [ebp - 0x68], 0x81b5
jle 0x4785f9
mov dword [ebp - 0x70], 1
jmp 0x4785fd
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0x70]
jg 0x478614
mov dword [ebp - 0x110], 1
jmp 0x47861b
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x158], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x164]
cmp dword [ebp - 0x18], eax
jg 0x47864b
mov dword [ebp - 0xc8], 1
jmp 0x478652
and dword [ebp - 0xc8], 0
cmp dword [ebp - 0xc8], 9
jge 0x478667
mov dword [ebp - 0x108], 1
jmp 0x47866e
and dword [ebp - 0x108], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x78]
mov dword [ebp - 0xec], eax
mov dword [ebp - 0x38], 0xf3617394
mov dword [ebp - 8], 1
mov dword [ebp - 0x6c], 8
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x128], 0x883e731e
mov dword [ebp - 0x24], 1
mov dword [ebp - 0xe8], 0xcdee94cc
mov dword [ebp - 0xf8], 0xec51ac06
mov dword [ebp - 0xf4], 0xdd2ac30b
mov dword [ebp - 0x74], 0xc33bab72
mov dword [ebp - 0x134], 0xabed
mov dword [ebp - 0x15c], 0xbb218ad3
mov dword [ebp - 0x13c], 0x5584e2bb
mov dword [ebp - 0xbc], 0xc1b23fe2
mov dword [ebp - 0x58], 0xb5b
mov dword [ebp - 0x10c], 0x1b70f82e
mov dword [ebp - 0xe4], 1
mov dword [ebp - 0x10], 0
jmp 0x478726
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x47873c
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x124], 0xfffffffe
jmp 0x47871f
mov dword [ebp - 0x10], 0
jmp 0x47874c
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x478762
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x118], 1
jmp 0x478745
mov eax, dword [ebp - 0x38]
dec eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 8], 0
je 0x478781
cmp dword [ebp - 8], 0
je 0x478781
mov dword [ebp - 0xa8], 1
jmp 0x478788
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xa8]
je 0x47879f
mov dword [ebp - 0x104], 1
jmp 0x4787a6
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x154], eax
cmp dword [ebp - 8], 1
jge 0x4787be
mov dword [ebp - 0x80], 1
jmp 0x4787c2
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x80], eax
jle 0x4787d6
mov dword [ebp - 0xc0], 1
jmp 0x4787dd
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0xc0], eax
jge 0x4787f4
mov dword [ebp - 0x88], 1
jmp 0x4787fb
and dword [ebp - 0x88], 0
imul eax, dword [ebp - 0x38], 0x1ba
cmp eax, dword [ebp - 0x88]
jl 0x478816
mov dword [ebp - 0xb0], 1
jmp 0x47881d
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xb0]
sub eax, dword [ebp - 8]
cmp eax, 0x63b0
jl 0x47883f
cmp dword [ebp - 8], 0
je 0x47883f
mov dword [ebp - 0x90], 1
jmp 0x478846
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x90], eax
je 0x478860
cmp dword [ebp - 8], 0
jne 0x478860
and dword [ebp - 0xd0], 0
jmp 0x47886a
mov dword [ebp - 0xd0], 1
mov eax, dword [ebp - 0xd0]
sub eax, dword [ebp - 8]
imul eax, eax, 0x8e46
mov dword [ebp - 8], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x118]
inc eax
mov dword [ebp - 0x98], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x98]
mov dword [ebp + eax - 0x118], ecx
cmp dword [ebp - 0x98], 0x26ab
jg 0x4788bb
mov dword [ebp - 0xac], 1
jmp 0x4788c2
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x168], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x124]
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x58], 0xa9a64b00
jb 0x478902
mov dword [ebp - 0xfc], 1
jmp 0x478909
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x138], eax
mov eax, 0xd53a
test eax, eax
jne 0x478933
cmp dword [ebp - 0xbc], 0
jne 0x478933
and dword [ebp - 0x64], 0
jmp 0x47893a
mov dword [ebp - 0x64], 1
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
je 0x47895b
cmp dword [ebp - 0x24], 0
je 0x47895b
mov dword [ebp - 0x4c], 1
jmp 0x47895f
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x4c], eax
je 0x478973
mov dword [ebp - 0x84], 1
jmp 0x47897a
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x84], eax
jl 0x478991
mov dword [ebp - 0x8c], 1
jmp 0x478998
and dword [ebp - 0x8c], 0
cmp dword [ebp - 0x8c], 0xc9e2
jle 0x4789b9
cmp dword [ebp - 0xe4], 0
je 0x4789b9
mov dword [ebp - 0x94], 1
jmp 0x4789c0
and dword [ebp - 0x94], 0
cmp dword [ebp - 0x94], 0x358b4d46
je 0x4789d8
mov dword [ebp - 0x9c], 1
jmp 0x4789df
and dword [ebp - 0x9c], 0
imul eax, dword [ebp - 0x9c], 0xffff
mov dword [ebp - 0x24], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x124]
cmp dword [ebp - 0x24], eax
jge 0x478a0a
mov dword [ebp - 0xa4], 1
jmp 0x478a11
and dword [ebp - 0xa4], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xa4]
mov dword [ebp + eax - 0x124], ecx
mov eax, dword [ebp - 0xe8]
add eax, dword [ebp - 0xac]
cmp dword [ebp - 8], eax
jg 0x478a41
mov dword [ebp - 0xb4], 1
jmp 0x478a48
and dword [ebp - 0xb4], 0
cmp dword [ebp - 0xb4], 0x33a7aa55
jge 0x478a60
mov dword [ebp - 0xf0], 1
jmp 0x478a67
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x140], eax
mov dword [ebp - 0xf8], 0xa73889cf
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x478a97
xor eax, eax
jmp 0x478c3b
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
cmp dword [eax], 0x4550
je 0x478ab5
xor eax, eax
jmp 0x478c3b
push 0x45df
push 0x2e34
push 1
push 1
push 1
push 0x1aec
push 1
push dword [ebp - 0x28]
push 1
push 0x359
lea eax, [ebp - 0x30]
push eax
push 0x7598
call fcn.00471906
add esp, 0x30
cmp dword [ebp - 0x30], 0
jne 0x478af4
xor eax, eax
jmp 0x478c3b
push 1
push 1
push 0x1a37
lea eax, [ebp - 0x148]
push eax
push 0x1a45
push 1
push 0x4f86
push dword [ebp - 0x28]
push 1
lea eax, [ebp - 0xc]
push eax
push 0x4444
push 0x5635
push 1
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x48]
push 1
push 1
call fcn.00477519
add esp, 0x44
push 0x298c
push 0
push dword [ebp - 0xc]
push 1
push 0x2fa1
push dword [ebp + 8]
push 1
push dword [ebp - 0x28]
call fcn.0043b1b4
add esp, 0x20
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0xc4], ecx
je 0x478b90
push 0
push 0x72e7
push dword [ebp - 0xc]
push 0x527b
push dword [ebp - 0xc4]
push 0x21db
push 1
push 1
call fcn.0044076f
add esp, 0x20
push dword [ebp - 0xc]
call fcn.0044aa73
pop ecx
test eax, eax
jne 0x478ba4
xor eax, eax
jmp 0x478c3b
push 0x4772
push 0x53da
push 0
push 1
push 1
push dword [ebp - 0xc]
push 0x1b36
push 0x74bf
push 1
push 0x797b
push 0x7873
call fcn.00436ddf
add esp, 0x2c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x478c23
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0xcc], ecx
jne 0x478bf7
xor eax, eax
jmp 0x478c3b
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0xcc]
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 0
jne 0x478c19
xor eax, eax
jmp 0x478c3b
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x10], 0
je 0x478c34
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x50], eax
jmp 0x478c38
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x50]
mov esp, ebp
pop ebp
ret