joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219

Function at 0x4a3760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x85000]
push edi
or ebp, 0xffffffff
jmp 0x4a3782
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4a3789
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a3778
mov eax, 1
add ebx, ebx
jne 0x4a379b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4a37ac
jne 0x4a37cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a37cb
dec eax
add ebx, ebx
jne 0x4a37b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4a3790
add ebx, ebx
jne 0x4a37c7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4a381d
xor ecx, ecx
sub eax, 3
jb 0x4a37e3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4a3852
sar eax, 1
mov ebp, eax
jmp 0x4a37ee
add ebx, ebx
jne 0x4a37ee
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a37bc
inc ecx
add ebx, ebx
jne 0x4a37fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a37bc
add ebx, ebx
jne 0x4a3809
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4a37fe
jne 0x4a381a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4a37fe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4a383c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4a382e
jmp 0x4a377e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4a383c
add edi, ecx
jmp 0x4a377e
pop esi
mov edi, esi
mov ecx, 0x26a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4a385a
cmp byte [edi], 8
jne 0x4a385a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4a385f
lea edi, [esi + 0xa1000]
mov eax, dword [edi]
or eax, eax
je 0x4a38d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa8bb8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa8bf4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4a388c
mov ecx, edi
jns 0x4a38bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa8bf8]
or eax, eax
je 0x4a38d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4a38a9
call dword [esi + 0xa8c08]
popal
jmp 0x402584
Function at 0x414dd9
Capabilities:
Encode data using xor

Disassembly:
xor dword [ecx], edx
add ecx, 4
sub ebx, 0x273a6ba7
add eax, eax
add ebx, ebx
cmp ecx, esi
jne fcn.00414dd9
add eax, edi
or ebx, ebx
push 0x4b0e1e1a
pop ebx
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x415c70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xe000]
push edi
or ebp, 0xffffffff
jmp 0x415c92
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x415c99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x415c88
mov eax, 1
add ebx, ebx
jne 0x415cab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x415ca0
jne 0x415cbc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x415ca0
xor ecx, ecx
sub eax, 3
jb 0x415cd0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x415d42
mov ebp, eax
add ebx, ebx
jne 0x415cdb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x415ce8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x415d0c
inc ecx
add ebx, ebx
jne 0x415cf8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x415ced
jne 0x415d09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x415ced
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x415d2c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x415d1d
jmp 0x415c8e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x415d2c
add edi, ecx
jmp 0x415c8e
pop esi
mov edi, esi
mov ecx, 0x544
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x415d4a
cmp byte [edi], 6
jne 0x415d4a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x415d4f
lea edi, [esi + 0x13000]
mov eax, dword [edi]
or eax, eax
je 0x415dbe
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x15964]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x159dc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x415d7c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x159e0]
or eax, eax
je 0x415db8
mov dword [ebx], eax
add ebx, 4
jmp 0x415d99
call dword [esi + 0x159e4]
popal
jmp 0x40bee8
Function at 0x406b81
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41c3dc]
jne 0x406b8b
repz ret
jmp fcn.0040b47c

Function at 0x4115dc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41c3dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00409b27
and dword [ebp - 0x14], 0
cmp dword [0x41eb08], 0
mov dword [ebp - 0x18], eax
jne 0x41168f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x411737
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x411737
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x41eb08], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x41eb0c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x41eb10], eax
call edi
push eax
call esi
mov dword [0x41eb18], eax
test eax, eax
je 0x41168f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x41eb14], eax
mov eax, dword [0x41eb14]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4116e8
cmp dword [0x41eb18], ecx
je 0x4116e8
push eax
call esi
push dword [0x41eb18]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4116e8
test ebx, ebx
je 0x4116e8
call edi
test eax, eax
je 0x4116df
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4116df
test byte [ebp - 8], 1
jne 0x4116e8
or dword [ebp + 0x10], 0x200000
jmp 0x41171b
mov eax, dword [0x41eb0c]
cmp eax, dword [ebp - 0x18]
je 0x41171b
push eax
call esi
test eax, eax
je 0x41171b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41171b
mov eax, dword [0x41eb10]
cmp eax, dword [ebp - 0x18]
je 0x41171b
push eax
call esi
test eax, eax
je 0x41171b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x41eb08]
call esi
test eax, eax
je 0x411737
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x411739
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406b81
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10349d7
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
xor esi, esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push 1
push esi
push esi
push esi
push 0x1001b38
push 0x80000001
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1034a48
push edi
push 4
pop edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0x10020d0
push dword [ebp - 4]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1034a3e
cmp dword [ebp - 8], edi
jne 0x1034a3e
cmp dword [ebp - 0xc], 1
sete al
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
leave

Function at 0x1034b63
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
lea eax, [ebp - 4]
push eax
push 1
xor edi, edi
push edi
push 0x1002120
push 0x80000002
xor ebx, ebx
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1034bdf
push esi
push 4
pop esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push edi
push 0x100173c
push dword [ebp - 4]
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1034bd5
cmp dword [ebp - 8], esi
jne 0x1034bd5
cmp dword [ebp - 0xc], edi
sete bl
cmp ebx, edi
je 0x1034bd5
push 0x1002104
push esi
call fcn.01055c50
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop edi
mov eax, ebx
pop ebx
leave
ret

Function at 0x1034cc2
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
call fcn.01056455
cmp eax, 6
jne 0x1034cee
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 6
pop eax
xor ecx, ecx
cmp ax, word [ebp - 0x24]
setne cl
mov eax, ecx
leave
ret
mov ecx, dword [0x10739c8]
push edi
xor edi, edi
test ecx, ecx
je 0x1034d19
push esi
call fcn.010465f5
mov esi, eax
call fcn.0105c74e
test eax, eax
jne 0x1034d10
test esi, esi
jmp 0x1034d13
cmp esi, 1
jne 0x1034d18
xor edi, edi
inc edi
pop esi
mov eax, edi
pop edi
leave
ret
Function at 0x103516c
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], edi
lea eax, [ebp - 4]
mov esi, 0x1001b38
cmp dword [0x107399c], edi
jne 0x10351dd
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push edi
push eax
push edi
push 2
push edi
push edi
push edi
push esi
push 0x80000002
call ebx
test eax, eax
je 0x10351b8
push edi
lea eax, [ebp - 4]
push eax
push edi
push 2
push edi
push edi
push edi
push esi
push 0x80000001
call ebx
cmp dword [ebp - 4], edi
je 0x1035234
push 4
lea eax, [ebp - 8]
push eax
push 4
push edi
push 0x1001b18
push dword [ebp - 4]
mov dword [ebp - 8], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x103522b
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 2
push edi
push esi
push 0x80000002
call ebx
test eax, eax
jne 0x103520a
push 0x1001b18
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push 2
push edi
push esi
push 0x80000001
call ebx
test eax, eax
jne 0x1035234
push 0x1001b18
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave

Function at 0x103523e
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
xor eax, eax
push ebx
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x24], ebx
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
cmp dword [ebp + 8], ebx
je 0x1035300
push esi
push dword [ebp + 0x10]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push dword [ebp + 8]
call esi
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
cmp eax, ebx
mov ebx, dword [sym.imp.USER32.dll_MapWindowPoints]
mov dword [ebp - 4], eax
je 0x10352bb
lea ecx, [ebp - 0x24]
push ecx
push eax
call edi
push 2
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 8]
push 0
call ebx
cmp dword [ebp + 0x14], 0
je 0x10352bb
push 0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
mov dword [ebp - 4], eax
test eax, eax
je 0x10352ff
lea ecx, [ebp - 0x14]
push ecx
push eax
call edi
push 2
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
xor edi, edi
push edi
call ebx
mov eax, dword [ebp - 0x20]
push 1
push edi
push edi
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
push dword [ebp + 0x10]
push dword [ebp + 8]
call esi
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop esi
pop edi
pop ebx
leave
ret 0x10
Function at 0x1035712
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
lea eax, [ebp - 4]
push eax
push 3
xor ebx, ebx
push ebx
push 0x1001c88
push 0x80000002
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1035826
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push 0x1001d08
push dword [ebp - 4]
mov dword [ebp - 8], 4
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], 1
call edi
mov esi, 0x10023dc
test eax, eax
jne 0x10357f7
cmp dword [ebp - 0x10], 0xd2af9
je 0x103578d
cmp dword [ebp - 0x10], 0xc00d2afb
jne 0x10357f7
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0xc], 1
call fcn.010339d2
test eax, eax
jne 0x10357e6
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
push esi
push dword [ebp - 4]
mov dword [ebp - 8], 8
call edi
test eax, eax
jne 0x10357e6
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x20]
jb 0x10357e3
ja 0x10357ce
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x24]
jbe 0x10357e3
push 8
lea eax, [ebp - 0x1c]
push eax
push 3
push ebx
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x10357e6
mov dword [ebp - 0xc], ebx
call fcn.010567c9
test eax, eax
jne 0x10357f2
mov dword [ebp - 0xc], ebx
cmp dword [ebp - 0xc], ebx
jne 0x103581b
push 4
lea eax, [ebp - 8]
push eax
push 4
push ebx
push 0x1001d08
push dword [ebp - 4]
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, dword [ebp - 0xc]
pop ebx
leave
Function at 0x10367d1
Capabilities:
Find taskbar

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1072c48]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
push edi
push 0x10027f0
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, edi
je 0x1036835
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
push edi
push 0x10027d4
push edi
push eax
call esi
mov ebx, eax
cmp ebx, edi
je 0x1036835
push edi
push 0x10027bc
push edi
push ebx
call esi
test eax, eax
je 0x1036827
xor eax, eax
inc eax
jmp 0x10368b0
push edi
push 0x10027a0
push edi
push ebx
call esi
test eax, eax
jne 0x103681f
mov esi, 0x104
push esi
push edi
lea eax, [ebp - 0x20c]
push eax
call fcn.01058c4e
test eax, eax
je 0x1036872
push 0x1002784
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.010358a6
test eax, eax
jl 0x1036872
lea eax, [ebp - 0x20c]
push eax
call fcn.010366f9
test eax, eax
jne 0x103681f
push esi
push edi
lea eax, [ebp - 0x20c]
push eax
call fcn.01058c4e
test eax, eax
je 0x10368ae
push 0x1002768
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.010358a6
test eax, eax
jl 0x10368ae
lea eax, [ebp - 0x20c]
push eax
call fcn.010366f9
test eax, eax
jne 0x103681f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01047480
ret
or eax, dword [ecx]
add cl, cl
ret

Function at 0x103696b
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x1072c48]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x210]
push eax
mov esi, 0x105
push esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x10369d1
push 0x1002878
lea eax, [ebp - 0x210]
push eax
push 0x100286c
lea eax, [ebp - 0x41c]
push esi
push eax
call fcn.0103592d
add esp, 0x14
test eax, eax
jl 0x10369d1
lea eax, [ebp - 0x41c]
push eax
call fcn.010561eb
test eax, eax
jne 0x10369d1
inc edi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.01047480
leave
ret
Function at 0x103d0d5
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1072c48]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
push edi
lea eax, [ebp - 0x214]
push eax
push edi
push 0x20006
push 1
push edi
push edi
push 0x1003e00
mov esi, 0x80000002
push esi
mov dword [ebp - 0x210], edi
mov dword [ebp - 0x214], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x103d1ba
push ebx
lea eax, [ebp - 0x210]
push eax
push 3
push edi
push 0x1003da0
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x103d1b1
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.01058169
test eax, eax
je 0x103d1a9
push 0x1003d70
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.010358a6
test eax, eax
jl 0x103d1a9
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x103d17b
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push edi
push 0x1003d48
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x210]
call ebx
push dword [ebp - 0x214]
call ebx
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.01047480
leave

Function at 0x103fea2
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1072c48]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x107255c]
cmp eax, 0x1072428
jne 0x103feea
cmp dword [0x10739b4], 0xd2af9
je 0x103ffa7
call fcn.01035339
test eax, eax
je 0x103ff96
call fcn.0103538f
jmp 0x103ffa7
cmp eax, 0x1072270
jne 0x103ff11
cmp dword [0x10739b4], 0xd2af9
je 0x103ff07
mov dword [0x10739a8], 1
call fcn.01034057
jmp 0x103ffa7
cmp dword [0x10739b4], 0xd2af8
jne 0x103ff47
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.01058169
test eax, eax
je 0x103ff47
push 0xffff
push 1
lea eax, [ebp - 0x20c]
push eax
push 0
call fcn.0105983a
cmp dword [0x10739b4], 0
jl 0x103ff76
cmp dword [0x107255c], section..data
jne 0x103ff76
cmp dword [0x1073a18], 0
jne 0x103ff71
call fcn.01036f25
call fcn.01036e4d
jmp 0x103ff76
call fcn.01036f25
mov eax, dword [0x10739b4]
cmp eax, 0xd2af9
je 0x103ffa2
cmp eax, 0xc00d2afb
je 0x103ffa2
test eax, eax
jl 0x103ffa7
cmp dword [0x107399c], 0
jne 0x103ffa7
mov dword [0x10739a8], 1
jmp 0x103ffa7
call fcn.0103d0d5
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01047480
leave
ret
Function at 0x1047471
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x106fb88
call fcn.01047530
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x1075584
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x1047228
cmp eax, esi
jne 0x104721b
xor esi, esi
inc esi
mov ebx, esi
jmp 0x104722b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1047202
xor esi, esi
inc esi
mov eax, dword [0x1075580]
cmp eax, esi
jne 0x104723e
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x104726d
mov eax, dword [0x1075580]
test eax, eax
jne 0x1047267
mov dword [0x1075580], esi
push 0x100171c
push 0x1001710
call fcn.01047167
pop ecx
pop ecx
test eax, eax
je 0x104726d
jmp 0x1047395
mov dword [0x1074328], esi
mov eax, dword [0x1075580]
cmp eax, esi
jne 0x1047291
push 0x100170c
push 0x1001680
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x1075580], 2
test ebx, ebx
jne 0x104729d
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x1075588], 0
je 0x10472c1
push 0x1075588
call fcn.010476a9
pop ecx
test eax, eax
je 0x10472c1
push 0
push 2
push 0
call dword [0x1075588]
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x104731d
test al, al
je 0x10472db
cmp dword [ebp - 0x1c], 0
jne 0x104731d
mov al, byte [esi]
test al, al
je 0x10472eb
cmp al, 0x20
ja 0x10472eb
inc esi
mov dword [ebp - 0x20], esi
jmp 0x10472db
test byte [ebp - 0x3c], 1
je 0x10472f7
movzx eax, word [ebp - 0x38]
jmp 0x10472fa
push 0xa
pop eax
push eax
push esi
push 0
push 0x1000000
call main
mov dword [0x1074324], eax
cmp dword [0x1074318], 0
jne 0x1047371
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp al, 0x22
jne 0x104732c
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x104733f
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x10472c8
cmp dword [0x1074328], 0
jne 0x1047380
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1074324]
jmp 0x10473a1
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.01047575
ret
call fcn.01047894
jmp 0x10471c8

Function at 0x1047d2c
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x1072c48]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x118]
push eax
xor bl, bl
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp eax, 1
jne 0x1047d78
cmp dword [ebp - 0x108], 2
jne 0x1047d76
cmp dword [ebp - 0x114], 6
jb 0x1047d76
mov bl, al
jmp 0x1047d78
xor bl, bl
mov ecx, dword [ebp - 4]
mov al, bl
ret
xor ecx, ebp
pop ebx
call fcn.01047480
leave
ret