joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x406773
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406797
xor eax, eax
test eax, eax
je 0x4067aa
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4067aa
xor ecx, ecx
jmp 0x4067ad
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x4068d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x7a65ec], 0
push esi
jne 0x406907
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4068e1
mov dword [ecx*4 + 0x7a65e8], eax
inc ecx
cmp ecx, 0x100
jl 0x4068dc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406938
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x7a65e8]
xor eax, esi
inc ecx
dec edx
jne 0x40691a
pop edi
not eax
pop esi
ret 0xc
Function at 0x1002515
Capabilities:
Query or enumerate registry value

Disassembly:
cmp esi, dword [0x104608c]
je 0x1002532
mov ebx, dword [ebp + 8]
xor edi, edi
push edi
lea eax, [ebp - 0x20]
push eax
push ebx
call fcn.010022ed
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
mov eax, 0xc40000
and ecx, eax
cmp ecx, eax
lea eax, [ebp - 0x10]
push eax
push esi
jne 0x10025e1
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
lea eax, [ebp - 0x10]
push eax
push edi
push esi
call dword [sym.imp.USER32.dll_MapWindowPoints]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_UnionRect]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
je 0x1002532
jmp 0x1023736
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x1002498
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x10024e7
push edi
push edi
push 0x1023774
push 0x100bde0
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
test eax, eax
je 0x102374f
mov dword [ebp + 0x14], edi
cmp dword [ebp + 0x10], ebx
jne 0x1002532
cmp dword [ebp + 0x14], edi
jne 0x102376b
push esi
call 0x102d5a9
test eax, eax
je 0x1002532
xor eax, eax
inc eax
jmp 0x1002534

Function at 0x1002540
Capabilities:
Enumerate gui resources

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 0x10], 0
and dword [ebp - 0xc], 0
push esi
mov esi, ecx
push 2
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push dword [esi + 0x50]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x10237a4
lea eax, [ebp - 0x10]
push eax
push fcn.01002597
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x50], eax
pop esi
leave
ret 4
lea eax, [ebp - 0x10]
push eax
push dword [esi + 0x50]
call fcn.01002597
test eax, eax
jne 0x1002578
mov eax, dword [ebp - 0xc]
jmp 0x100258d
Function at 0x1003dba
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
jne 0x1003ddc
mov eax, dword [ebx + 0x2c]
mov dword [ebp + 0xc], eax
mov esi, eax
mov eax, dword [ebx + 0xc]
and dword [ebp + 8], 0
dec eax
je 0x1003e1a
sub eax, 0x10000
jne 0x1003e23
test byte [ebx + 0x28], 8
jne 0x1003e43
test byte [esi + 4], 1
jne 0x1023ae0
test byte [esi + 4], 0x20
jne 0x1020847
cmp dword [esi], 0
je 0x1023b4a
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 8
mov dword [ebp + 8], 0x20
jmp 0x1003e10
dec eax
jne 0x1003e10
cmp dword [esi], 0
je 0x1023a91
test byte [ebx + 0x28], 8
je 0x1003e10
push dword [edi + 0x6c]
push dword [ebx + 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x1003e10
call fcn.01003e6e
test eax, eax
jne 0x1003df3
mov eax, dword [edi + 0x80]
mov ecx, dword [ebx + 0x10]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [edi + 0x6c], eax
mov dword [ebp + 8], 0x12
jmp 0x1003df3
mov dword [ebp + 8], 4
jmp 0x1003e07
push dword [ebx + 0x24]
lea ecx, [edi + 0x3c]
call fcn.0102dad8
mov ecx, dword [ebx + 0x1c]
lea esi, [ebx + 0x54]
cmp ecx, dword [esi]
jl 0x1003e2f
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xc], ecx
sub ecx, dword [ebx + 0x6c]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 4]
push 0
push eax
call fcn.01004bdc
mov ecx, dword [ebp - 4]
push eax
push dword [ebx + 0x10]
call 0x102ee02
mov edi, dword [ebp - 4]
jmp 0x1003e2f
mov eax, dword [edi + 0x84]
test eax, eax
je 0x1023b12
push 0
lea ecx, [ebx + 0x14]
push ecx
mov ecx, dword [ebx]
xor edx, edx
cmp ecx, dword [edi + 0x3c]
push 0
setne dl
inc edx
inc edx
push edx
push dword [ebx + 0x10]
push eax
call dword [sym.imp.UxTheme.dll_DrawThemeBackground]
or byte [ebp + 0xa], 0x40
jmp 0x1003dfd
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push 0xd
call esi
push 0xd
mov dword [ebx + 0x50], eax
call esi
push 0xe
mov dword [ebx + 0x48], eax
call esi
mov dword [ebx + 0x3c], eax
mov eax, dword [ebx + 0x28]
test al, 0x40
jne 0x1023b3e
or eax, 0x40
or byte [ebp + 0xa], 1
mov dword [ebx + 0x28], eax
or byte [ebp + 0xa], 2
mov esi, dword [ebp + 0xc]
jmp 0x1003dfd
push dword [ebx + 0x24]
or dword [ebp + 8], 0x10
lea ecx, [edi + 0x3c]
call fcn.0102dad8
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
mov ecx, edi
call fcn.01004bdc
push eax
push dword [ebx + 0x10]
mov ecx, edi
call 0x102ee02
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
mov dword [ebx + 0x6c], eax
jmp 0x1003e10

Function at 0x1003e6e
Capabilities:
Identify system language via api

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov ecx, eax
and cx, 0x3ff
cmp cx, 4
je 0x10236fb
xor eax, eax
ret
shr ax, 0xa
cmp ax, 1
je 0x102370f
cmp ax, 2
jne 0x1003e85
xor eax, eax
inc eax
ret
Function at 0x102b796
Capabilities:
Create process on windows
Create process suspended
Create thread
Get common file path
Resume thread
Terminate process
Terminate thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x688
mov eax, dword [0x1046080]
push esi
xor esi, esi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push esi
mov dword [ebp - 0x640], eax
mov dword [ebp - 0x624], esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
cmp eax, esi
mov dword [ebp - 0x628], eax
je 0x102b96b
push ebx
push eax
call fcn.0102b2c7
cmp eax, esi
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x62c], eax
je 0x102b962
lea ecx, [ebp - 0x644]
push ecx
push 4
push eax
push 0x102b318
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
mov dword [ebp - 0x620], eax
je 0x102b95a
push edi
xor eax, eax
mov dword [ebp - 0x63c], esi
lea edi, [ebp - 0x638]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x10
pop ecx
xor eax, eax
mov dword [ebp - 0x688], esi
lea edi, [ebp - 0x684]
rep stosd dword es:[edi], eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x102b943
push 0x102b9e8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x102b943
push dword [ebp - 0x640]
lea eax, [ebp - 0x61c]
push 0x400
push 0x102b980
push 0x208
push eax
call fcn.0101f955
add esp, 0x14
test eax, eax
jl 0x102b943
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x688]
push eax
push esi
push esi
push 4
push esi
push esi
push esi
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x688], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x102b943
push dword [ebp - 0x63c]
push dword [ebp - 0x628]
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x102b91d
push dword [ebp - 0x638]
mov edi, dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [ebp - 0x624], 1
call edi
push dword [ebp - 0x620]
call edi
cmp dword [ebp + 0xc], esi
je 0x102b92b
push 0x4ff
push 0xffffffffffffffff
push dword [ebp - 0x620]
push esi
call fcn.010214ab
jmp 0x102b92b
push 5
push dword [ebp - 0x63c]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [ebp - 0x63c]
call ebx
push dword [ebp - 0x638]
call ebx
cmp dword [ebp - 0x624], esi
jne 0x102b951
push 5
push dword [ebp - 0x620]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [ebp - 0x620]
call ebx
pop edi
push dword [ebp - 0x62c]
call ebx
push dword [ebp - 0x628]
call ebx
pop ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x624]
pop esi
call fcn.01001aff
leave
ret 8

Function at 0x102bc95
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x102bcd0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x102bcd0
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 1
push dword [esi + 4]
push 4
push 0
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
mov ecx, esi
pop esi
jmp fcn.0102baaa
pop esi
ret
Function at 0x102bc97
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x102bcd0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x102bcd0
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 1
push dword [esi + 4]
push 4
push 0
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
mov ecx, esi
pop esi
jmp fcn.0102baaa
pop esi
ret
Function at 0x1034179
Capabilities:
Log keystrokes via polling
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
xor esi, esi
cmp dword [edi + 0x440], esi
jne 0x103422a
push 2
push dword [ebp + 8]
call fcn.0102169b
test eax, eax
jne 0x103422a
push 0xffffffffffffffff
push esi
push 3
push 0x28
push 0x10083b4
call fcn.0102ba07
push esi
push esi
push esi
push 0x1034230
push 0x100bde0
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x10341dc
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jge 0x10341e3
mov ecx, edi
call 0x1033ec5
mov ecx, edi
call fcn.0103271c
push dword [ebp + 8]
lea esi, [edi + 0x400]
mov dword [esi], 2
call dword [sym.imp.SHELL32.dll_Ordinal_60]
and dword [esi], 0
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
test ax, ax
jge 0x103422a
push 0x11
call esi
test ax, ax
jge 0x103422a
push 0x12
call esi
test ax, ax
jge 0x103422a
mov ecx, edi
call 0x1031973
pop edi
pop esi
pop ebp
ret 4

Function at 0x1034af7
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
and dword [ebp - 8], 0
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0x1c], 0
mov ebx, 0x80000001
je 0x1034b9d
push 1
push 0x1019c24
push 0x101fe68
push ebx
call dword [sym.imp.SHLWAPI.dll_SHOpenRegStream2W]
test eax, eax
mov dword [ebp - 4], eax
je 0x1034b9d
push edi
xor eax, eax
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x14
pop edi
push dword [esi + 0x1c]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 5
mov dword [ebp - 0x14], 0x10001
call dword [0x102acd0]
test eax, eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
jbe 0x1034b8d
push edi
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_IStream_Write]
test eax, eax
jl 0x1034b8d
push dword [ebp - 4]
push dword [esi + 0x1c]
call dword [0x1034bd8]
test eax, eax
je 0x1034b8d
mov dword [ebp - 8], 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 8], 0
pop edi
jne 0x1034bcf
lea eax, [ebp - 4]
push eax
push 0x20006
push 0
push 0x101fe68
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1034bcf
push 0x1019c24
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
pop esi
pop ebx
leave
ret
Function at 0x103ac2e
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
xor esi, esi
xor edi, edi
cmp dword [ebp + 0xc], esi
mov dword [ebp + 8], eax
je 0x103ac61
push esi
lea ecx, [ebp + 8]
push ecx
push esi
push 2
push esi
push esi
push esi
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x103ac61
xor eax, eax
jmp 0x103ac8d
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push 3
push esi
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x103ac7d
xor edi, edi
inc edi
cmp dword [ebp + 0xc], esi
je 0x103ac8b
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebp
ret 0x14

Function at 0x103adad
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
push edi
push 0xe
pop ecx
push 0x10
push dword [ebp + 8]
xor eax, eax
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0xc
mov dword [ebp - 0x20], 1
call fcn.0102169b
test eax, eax
pop edi
jne 0x103ae18
test byte [ebp + 0x10], 8
je 0x103adf1
mov dword [ebp - 0x30], 0x1029dec
push 0
push dword [ebp + 0xc]
push 0
call dword [sym.imp.SHELL32.dll_SHCloneSpecialIDList]
test eax, eax
mov dword [ebp - 0x18], eax
je 0x103ae18
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push dword [ebp - 0x18]
call dword [sym.imp.SHELL32.dll_ILFree]
leave
ret 0xc

Function at 0x103ae65
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x1046080]
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x103af31
push 0x103af3c
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x103af31
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
xor eax, eax
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x260]
push ecx
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x234], eax
mov word [ebp - 0x22e], ax
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x20c]
push eax
push eax
mov dword [ebp - 0x260], 0x44
mov word [ebp - 0x230], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x103af31
push esi
push dword [ebp - 0x21c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x218]
call esi
pop esi
mov ecx, dword [ebp - 4]
call fcn.01001aff
leave
ret
Function at 0x103ded5
Capabilities:
Delete registry key
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push 0x103e0f0
push dword [0x1047380]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push 0x100ec1c
push 0x1029c80
push dword [0x1047380]
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x103df11
call 0x1036ec7
lea eax, [ebp - 0x10]
push eax
push 0x20019
push ebx
push 0x103e090
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x103e069
push esi
push edi
push 0x1014400
call fcn.0103da4e
push 0x1016950
mov dword [ebp - 0xc], eax
call fcn.0103da4e
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0x4c], ebx
lea edi, [ebp - 0x48]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea ecx, [ebp - 0x1c]
stosd dword es:[edi], eax
call fcn.0103dad3
push 3
pop esi
push ebx
push 4
push 0x103e080
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0103db0e
mov dword [ebp + esi*4 - 0x4c], eax
inc esi
cmp esi, 6
jb 0x103df67
lea ecx, [ebp - 0x1c]
call fcn.0103dad3
xor edi, edi
lea esi, [ebp + edi*4 - 0x4c]
cmp dword [esi], ebx
jne 0x103dfae
push 1
push 0x10
push 0x103e070
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0103db0e
mov dword [esi], eax
inc edi
cmp edi, 6
jb 0x103df8f
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x34], 0x18
mov dword [ebp - 0x30], 3
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push ebx
push 0x40000000
lea eax, [ebp - 0x24]
push eax
call fcn.010080d9
push 0x13
xor esi, esi
pop ebx
mov edi, dword [ebp + esi*4 - 0x4c]
test edi, edi
je 0x103e035
push 0x26
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
je 0x103dffc
lea eax, [ebx + 0x28]
mov dword [ebp - 0x2c], eax
jmp 0x103dfff
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
push 0x1009b9c
push edi
call fcn.0100bb43
test eax, eax
jl 0x103e035
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 4]
push dword [ebp + 8]
push 0x12
push 0x10083b4
call fcn.0102ba3e
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc esi
dec ebx
cmp esi, 6
jb 0x103dfe0
xor esi, esi
push dword [ebp + esi*4 - 0x4c]
call dword [sym.imp.SHELL32.dll_ILFree]
inc esi
cmp esi, 6
jb 0x103e03e
push dword [ebp - 0xc]
mov esi, dword [sym.imp.SHELL32.dll_SHFree]
call esi
push dword [ebp - 8]
call esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x43be90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2f000]
push edi
jmp 0x43beaa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x43beb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x43bea0
mov eax, 1
add ebx, ebx
jne 0x43bec3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x43beb8
jne 0x43bed4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43beb8
xor ecx, ecx
sub eax, 3
jb 0x43bee8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x43bf5a
mov ebp, eax
add ebx, ebx
jne 0x43bef3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x43bf00
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x43bf24
inc ecx
add ebx, ebx
jne 0x43bf10
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x43bf05
jne 0x43bf21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43bf05
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43bf44
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43bf35
jmp 0x43bea6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43bf44
add edi, ecx
jmp 0x43bea6
pop esi
mov edi, esi
mov ecx, 0x91a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43bf62
cmp byte [edi], 9
jne 0x43bf62
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 0x43bf67
lea edi, [esi + 0x39000]
mov eax, dword [edi]
or eax, eax
je 0x43bfdf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5932c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5940c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43bf94
mov ecx, edi
jns 0x43bfc3
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 + 0x59414]
or eax, eax
je 0x43bfd9
mov dword [ebx], eax
add ebx, 4
jmp 0x43bfb1
call dword [esi + 0x59410]
mov ebp, dword [esi + 0x59418]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x43c013
sub esp, 0xffffff80
jmp 0x41382f
Function at 0x42e006
Capabilities:
Encode data using xor

Disassembly:
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x401087
Capabilities:
Create process on windows

Disassembly:
jmp 0x4022d0
sub esp, 0x54
push esi
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x18]
mov esi, dword [esp + 0x60]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0
push 0
push 0x20
push 0
push 0
push 0
push 0
push esi
mov dword [esp + 0x40], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x40232c
mov edx, dword [esp + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.MSVCRT.dll__unlink]
add esp, 4
pop edi
pop esi
add esp, 0x54
ret

Function at 0x4029ad
Capabilities:
Encode data using xor

Disassembly:
push dword fs:[0]
mov dword [0x4029a3], ebp
cmc
mov dword fs:[0], esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push 0x80000000
push ecx
push ecx
push ecx
push ecx
push 8
push 0x80000000
push 0x1000
push 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x607370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x60738e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x630074
push ecx
mov edi, eax
call fcn.0061b198
mov esi, eax
add esp, 8
test esi, esi
jne 0x6073cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0061b02e
push esi
call fcn.0061afb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret