Function at 0x10046fa3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007c8a1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x164
push esi
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10047889
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0x50], 0xffffffff
mov dword [ebp - 0xdc], 1
mov dword [ebp - 0xd4], 0xe6a3735b
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x50]
sub eax, 0x2d68d631
cmp dword [ebp - 0xdc], eax
jg 0x1004701d
mov eax, 0xffff
test eax, eax
je 0x1004701d
mov dword [ebp - 0x78], 1
jmp 0x10047021
and dword [ebp - 0x78], 0
cmp dword [ebp - 0x78], 0xe60f
jne 0x10047036
mov dword [ebp - 0xc4], 1
jmp 0x1004703d
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0xc4]
je 0x1004705e
mov dword [ebp - 0x100], 0xffff
mov dword [ebp - 0x100], 0xffffffff
jmp 0x10047068
mov dword [ebp - 0xd4], 0xf65e790e
mov byte [ebp - 0x18], 0
movzx eax, byte [ebp - 0x18]
test eax, eax
je 0x10047094
push 0
push 0xd59
push 0x167d
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetCharWidth32A]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0x10], 0x60477862
push 2
lea ecx, [ebp - 0xc0]
call fcn.100158b8
and dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
jmp 0x100470c5
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 2
jge 0x100470e1
push dword [ebp - 0x30]
lea ecx, [ebp - 0xc0]
call fcn.10015925
mov dword [eax], 6
jmp 0x100470be
mov dword [ebp - 0x10], 0
jmp 0x100470f1
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x100471a2
mov dword [ebp - 0xf8], 0xfff8
mov dword [ebp - 0xb4], 0x5c62e089
mov dword [ebp - 0x114], 0x6a756a33
mov dword [ebp - 0x110], 0x6a756a33
mov dword [ebp - 0x10c], 0x6a756a33
mov dword [ebp - 0x108], 0x6a756a33
lea ecx, [ebp - 0x61]
call fcn.100091b3
push eax
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x170]
call fcn.10015934
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x140]
call fcn.100158fa
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xb4], eax
mov esi, dword [ebp - 0xb4]
push 0
lea ecx, [ebp - 0x140]
call fcn.10015925
mov dword [eax], esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x140]
call fcn.10015920
jmp 0x100470ea
mov dword [ebp - 0x10], 1
jmp 0x100471b2
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x10047340
mov dword [ebp - 0x14], 0x49f6d4a0
mov dword [ebp - 0xa0], 0xfffffffc
mov dword [ebp - 0xec], 0xffffffff
mov dword [ebp - 0x14], 0
jmp 0x100471e7
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jg 0x1004733b
mov dword [ebp - 0x5c], 0xffffffff
push 4
lea ecx, [ebp - 0x120]
call fcn.100158b8
mov byte [ebp - 4], 2
mov dword [ebp - 0x3c], 0
jmp 0x10047219
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 4
jge 0x10047235
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x120]
call fcn.10015925
mov dword [eax], 0xfffffffe
jmp 0x10047212
push dword [ebp - 0x10]
lea ecx, [ebp - 0xc0]
call fcn.10015925
mov dword [ebp - 0x80], eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0xc0]
call fcn.10015925
mov ecx, dword [ebp - 0x80]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x80]
mov eax, dword [eax]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 1
jbe 0x10047281
mov dword [ebp - 0x88], 1
jmp 0x10047288
and dword [ebp - 0x88], 0
cmp dword [ebp - 0x88], 1
jb 0x10047308
push dword [ebp - 0x14]
lea ecx, [ebp - 0xc0]
call fcn.10015925
mov esi, eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0xc0]
call fcn.10015925
mov ecx, dword [esi]
add ecx, dword [eax]
imul ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x5c]
jl 0x100472c8
mov dword [ebp - 0xd8], 1
jmp 0x100472cf
and dword [ebp - 0xd8], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0xc0]
call fcn.10015925
mov eax, dword [eax]
dec eax
je 0x100472ec
cmp dword [ebp - 0x10], 0
je 0x100472ec
cmp dword [ebp - 0x10], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0xc0]
call fcn.10015925
cmp dword [eax], 0
je 0x10047308
mov dword [ebp - 0x54], 1
jmp 0x1004730c
and dword [ebp - 0x54], 0
push 2
lea ecx, [ebp - 0x120]
call fcn.10015925
mov ecx, dword [ebp - 0x54]
mov dword [eax], ecx
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xec], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x120]
call fcn.10015920
jmp 0x100471e0
jmp 0x100471ab
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.10015920
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], 1
push 3
lea ecx, [ebp - 0x14c]
call fcn.100158b8
mov dword [ebp - 4], 3
mov dword [ebp - 0x90], 1
mov dword [ebp - 0x4c], 0
jmp 0x1004738d
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 3
jge 0x100473a9
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x14c]
call fcn.10015925
mov dword [eax], 0x13d
jmp 0x10047386
mov dword [ebp - 0x1c], 0x1a
jmp 0x100473b9
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x1b
jl 0x10047554
mov dword [ebp - 0x24], 0x772304b2
mov dword [ebp - 0x130], 0xf1e5c8a5
mov dword [ebp - 0x12c], 0xf1e5c8a5
mov dword [ebp - 0x128], 0xf1e5c8a5
mov dword [ebp - 0x124], 0xf1e5c8a5
mov dword [ebp - 0xe4], 0xc44d4e2b
mov dword [ebp - 0x24], 0
jmp 0x1004740c
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jg 0x1004751f
mov dword [ebp - 0x48], 8
mov dword [ebp - 0x48], 0
jmp 0x1004742d
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 2
jg 0x1004751a
mov dword [ebp - 0x28], 0xea66e58d
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0x28], 2
jmp 0x10047458
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x10047495
mov dword [ebp - 0x40], 0xe135e1f6
mov dword [ebp - 0x40], 0
jmp 0x10047475
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 2
jg 0x10047493
mov byte [ebp - 0x16], 0
movzx eax, byte [ebp - 0x16]
test eax, eax
je 0x10047491
push 0
push 0
call dword [sym.imp.GDI32.dll_RectInRegion]
jmp 0x1004746e
jmp 0x10047451
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x160], eax
mov eax, 0xffff
test eax, eax
je 0x1004750c
imul eax, dword [ebp - 0xb0], 0xf0f5
test eax, eax
je 0x100474ca
mov eax, 0xfff9
test eax, eax
je 0x100474ca
mov dword [ebp - 0xfc], 1
jmp 0x100474d1
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x150], eax
cmp dword [ebp - 0x28], 0xc3f4f880
jb 0x100474ec
mov dword [ebp - 0x58], 1
jmp 0x100474f0
and dword [ebp - 0x58], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x58]
mov dword [ebp + eax - 0x130], ecx
cmp dword [ebp - 0x58], 0
jne 0x1004750c
cmp dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xe4], eax
jmp 0x10047426
jmp 0x10047405
cmp dword [ebp - 0x90], 0
je 0x10047534
mov dword [ebp - 0x90], 0xd91f06e8
jmp 0x1004754f
mov byte [ebp - 0x17], 0
movzx eax, byte [ebp - 0x17]
test eax, eax
je 0x1004754f
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_TranslateMDISysAccel]
jmp 0x100473b2
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x10047574
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14c]
call fcn.10015920
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x84], 0xfff9
push 1
lea ecx, [ebp - 0x15c]
call fcn.100158b8
mov dword [ebp - 4], 4
mov dword [ebp - 0x44], 0
jmp 0x100475c4
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 1
jge 0x100475e0
push dword [ebp - 0x44]
lea ecx, [ebp - 0x15c]
call fcn.10015925
mov dword [eax], 0xdfd99643
jmp 0x100475bd
mov dword [ebp - 0x20], 0
jmp 0x100475f0
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffe6
jle 0x10047842
push 1
lea ecx, [ebp - 0x70]
call fcn.100158b8
mov byte [ebp - 4], 5
mov dword [ebp - 0xcc], 0x3b0639e6
mov dword [ebp - 0xe8], 1
mov dword [ebp - 0x34], 0
jmp 0x1004762c
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
jge 0x10047645
push dword [ebp - 0x34]
lea ecx, [ebp - 0x70]
call fcn.10015925
mov dword [eax], 0xeede0b40
jmp 0x10047625
push 0
lea ecx, [ebp - 0x70]
call fcn.10015925
mov dword [eax], 9
jmp 0x10047678
push 0
lea ecx, [ebp - 0x70]
call fcn.10015925
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xa8]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x70]
call fcn.10015925
cmp dword [eax], 8
jge 0x10047831
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x98], 0x9aaed6b6
mov dword [ebp - 0x94], 0xfffffffd
mov dword [ebp - 0x38], 0
jmp 0x100476b6
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jge 0x100476c9
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x60], 0xed1d25bb
jmp 0x100476af
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x168], eax
push 0
lea ecx, [ebp - 0x70]
call fcn.10015925
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
push 0
lea ecx, [ebp - 0x70]
call fcn.10015925
mov eax, dword [eax]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
cmp dword [ebp - 0x74], eax
jg 0x1004770a
mov dword [ebp - 0xd0], 1
jmp 0x10047711
and dword [ebp - 0xd0], 0
mov esi, dword [ebp - 0x84]
push 0
lea ecx, [ebp - 0x70]
call fcn.10015925
cmp esi, dword [eax]
jg 0x10047734
mov eax, 0x4039
test eax, eax
jne 0x10047734
and dword [ebp - 0x7c], 0
jmp 0x1004773b
mov dword [ebp - 0x7c], 1
mov eax, dword [ebp - 0x7c]
neg eax
cmp eax, dword [ebp - 0x84]
jl 0x10047754
mov dword [ebp - 0x8c], 1
jmp 0x1004775b
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
sub eax, 0x41e68184
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
sub eax, 4
cmp eax, 0x2104
jg 0x10047788
mov dword [ebp - 0x9c], 1
jmp 0x1004778f
and dword [ebp - 0x9c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x60]
cmp dword [ebp - 0x9c], eax
je 0x100477ad
mov dword [ebp - 0xa4], 1
jmp 0x100477b4
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xcc]
cmp dword [ebp - 0xa4], eax
jg 0x100477d8
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x60], 0
jne 0x100477d8
and dword [ebp - 0xac], 0
jmp 0x100477e2
mov dword [ebp - 0xac], 1
push 0
lea ecx, [ebp - 0x70]
call fcn.10015925
mov ecx, dword [ebp - 0xac]
cmp ecx, dword [eax]
jl 0x10047802
mov dword [ebp - 0xe0], 1
jmp 0x10047809
and dword [ebp - 0xe0], 0
push 0
lea ecx, [ebp - 0x70]
call fcn.10015925
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x164], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x60]
mov dword [ebp - 0xe8], eax
jmp 0x10047657
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.10015920
jmp 0x100475e9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x15c]
call fcn.10015920
mov eax, dword [ebp - 0x2c]
mov dword [eax], 0
jmp 0x10047867
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 2
jge 0x10047887
mov eax, dword [ebp - 0x2c]
push dword [eax]
mov ecx, dword [ebp - 0xf0]
call fcn.10015925
mov dword [eax], 8
jmp 0x1004785c
jmp 0x1004789d
push 0
push 0xa1e
push 0x1209
push 0
call dword [sym.imp.GDI32.dll_SetPaletteEntries]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret