joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5cf3a0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x618080
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
lea ecx, [esp + 0xc]
call fcn.005cec80
xor ebx, ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], ebx
call fcn.005cec80
mov esi, dword [esp + 0x3c]
lea ecx, [esp + 0xc]
push esi
mov byte [esp + 0x38], 1
call fcn.005cecf0
cmp dword [esp + 0x40], ebx
jne 0x5cf428
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [esp + 0x1c]
mov esi, eax
mov byte [esp + 0x34], bl
call fcn.005ceca0
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0xffffffff
call fcn.005ceca0
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
lea eax, [esp + 0xc]
push eax
call fcn.005cf2e0
add esp, 4
lea ecx, [esp + 0xc]
mov esi, 1
call fcn.0056a6f0
cmp eax, esi
jb 0x5cf4ab
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 1
push 1
push esi
push 0x743f30
lea ecx, [esp + 0x1c]
call fcn.005cf0a0
cmp eax, 1
jne 0x5cf49d
push esi
lea ecx, [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.005cee40
push ebx
lea ecx, [esp + 0x20]
call fcn.00577ce0
push eax
call fcn.005f4d60
add esp, 8
test eax, eax
jge 0x5cf49d
push ebx
lea ecx, [esp + 0x20]
call fcn.0056a6e0
push eax
call edi
test eax, eax
je 0x5cf4e0
lea ecx, [esp + 0xc]
inc esi
call fcn.0056a6f0
cmp esi, eax
jbe 0x5cf44d
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], bl
call fcn.005ceca0
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0xffffffff
call fcn.005ceca0
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], bl
call fcn.005ceca0
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0xffffffff
call fcn.005ceca0
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x5d19e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x5d19eb
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x5d1aee
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x71b234]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x71b234]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x71b234]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x71b234]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x71b234]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x71b234]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x71b234]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x71b234]
xor eax, edx
inc ecx
dec edi
jne 0x5d1a06
pop edi
test esi, esi
je 0x5d1b10
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x71b234]
xor eax, edx
inc ecx
dec esi
jne 0x5d1af2
pop esi
pop ebx
not eax
ret

Function at 0x5d22e0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x10]
mov cl, byte [ebx]
mov eax, ebp
imul eax, dword [esp + 0x14]
test cl, cl
je 0x5d2321
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push 0
push ecx
push eax
mov eax, dword [ebx + 4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x5d2316
mov byte [ebx + 8], 1
mov eax, dword [esp + 0xc]
xor edx, edx
div ebp
pop ebp
pop ebx
ret
mov edx, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x14]
push esi
push edi
lea esi, [edx + eax]
cmp esi, ecx
jbe 0x5d2334
sub ecx, edx
mov eax, ecx
mov esi, dword [ebx + 0x10]
mov edi, dword [esp + 0x14]
mov ecx, eax
add esi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
xor edx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x18]
pop edi
add ecx, eax
pop esi
div ebp
mov dword [ebx + 0x18], ecx
pop ebp
pop ebx
ret
Function at 0x5d3270
Capabilities:
Get common file path

Disassembly:
push ecx
push ebp
mov ebp, ecx
push esi
push edi
cmp dword [ebp], 0
jne 0x5d3325
cmp dword [ebp + 4], 0xffffffff
jne 0x5d3325
push ebx
lea ebx, [ebp + 0x138]
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edi, 0x7441b8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
pop ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
cmp esi, 1
jne 0x5d32ed
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x5d32ed
pop edi
pop esi
mov eax, 0x2000000
pop ebp
pop ecx
ret 0xc
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0xc]
push eax
push esi
push ecx
push edi
call fcn.005d2070
add esp, 0x10
test eax, eax
jne 0x5d3310
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebp
pop ecx
ret 0xc
push eax
call fcn.005d25b0
add esp, 4
mov dword [ebp], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ecx
ret 0xc
pop edi
pop esi
mov eax, 0x1000000
pop ebp
pop ecx
ret 0xc

Function at 0x5d3780
Capabilities:
Create directory

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 0x208
test ecx, ecx
je 0x5d3848
mov al, byte [ecx]
test al, al
je 0x5d3848
push ebx
push esi
push edi
mov ebx, ecx
mov esi, ecx
cmp al, 0x2f
je 0x5d37ab
cmp al, 0x5c
jne 0x5d37ad
mov ebx, esi
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x5d37a3
mov edi, dword [esp + 0x218]
cmp ebx, ecx
je 0x5d37e4
mov esi, ebx
lea eax, [esp + 0xc]
sub esi, ecx
push esi
push ecx
push eax
call fcn.005f4f98
lea ecx, [esp + 0x18]
mov byte [esp + esi + 0x18], 0
push ecx
push edi
call fcn.005d3780
add esp, 0x14
inc ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x110]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x110]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x114]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
pop edi
pop esi
pop ebx
add esp, 0x208
ret
Function at 0x5dcd50
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.005e3160
mov ebp, dword [esp + 0x220]
mov eax, dword [esp + 0x21c]
push ebp
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edi, eax
cmp edi, 0x20
ja 0x5dce49
lea ecx, [esp + 0x10]
push ecx
push str..htm
push accept
mov ecx, esi
call fcn.00544d30
test eax, eax
jne 0x5dce49
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push accept
mov ecx, esi
call fcn.00544d30
test eax, eax
jne 0x5dce49
lea edx, [esp + 0x10]
push 0x745704
push edx
call fcn.005f3e60
mov esi, eax
add esp, 8
test esi, esi
jne 0x5dce1a
lea eax, [esp + 0x10]
push 0x745700
push eax
call fcn.005f3e60
mov esi, eax
add esp, 8
test esi, esi
jne 0x5dce1a
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x5dce1d
mov byte [esi], 0
push 0x744ec8
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
Function at 0x5e30a0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x618cb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x118]
test eax, eax
jne 0x5e3150
mov eax, dword [0x748128]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.00605977
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.006059c6
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.00605923
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x5e3137
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x5e3137
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x118], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.00605593
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x5e6250
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x619140
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5e63f7
mov ecx, dword [0x748128]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x5e634c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.005e4f70
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.00605680
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.00605593
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x744ec8
call fcn.00605601
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.005e5330
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.00605680
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.00605593
lea ecx, [esp + 0xc]
call fcn.00605a5b
mov ecx, dword [esp + 0xc]
push 0x745904
push ecx
call fcn.005f2d14
add esp, 8
test eax, eax
je 0x5e6374
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x5e62ad
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.00605593
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.00605593
jmp 0x5e63fb
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.005e5ff0
test eax, eax
push 0
je 0x5e63df
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.005e4690
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x5e63c5
cmp eax, 0x64
jg 0x5e63b3
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x5e6350
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x5e6350
cmp eax, 0x64
jge 0x5e634c
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x5e6350
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.005e4690
mov esi, eax
jmp 0x5e6350
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x5e6405
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x5ee6c0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x746254]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x5ee6d3
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x5ee714
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x7462fc]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x5ee746
mov bl, byte [esp + ecx + 0x4c]
jmp 0x5ee74a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x5ee73b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x5ee768
mov bl, byte [esp + ecx + 0x4c]
jmp 0x5ee76c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x5ee75d
xor ecx, ecx
mov eax, 0x746264
xor ebx, ebx
mov bl, byte [ecx + 0x74630c]
cmp byte [esp + ebx + 0x14], 0
je 0x5ee797
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x746324]
cmp byte [esp + ebx + 0x14], 0
je 0x5ee7ae
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x5ee77e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x5ee707
lea edx, [esp + 0x84]
push edx
call fcn.005ee7f0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x5f4d60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x5f4d80
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.005f426a
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x5f4da3
test byte [esp + 8], 2
je 0x5f4da3
call fcn.005f42dd
mov dword [eax], 0xd
call fcn.005f42e6
mov dword [eax], 5
jmp 0x5f4d7c
xor eax, eax
ret

Function at 0x60799e
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x6079d6
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.006059ee
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.006059c6
jmp 0x6079e2
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x609198
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x6091da
call fcn.0060f908
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x6091da
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x6091d1
xor eax, eax
jmp 0x6091e2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.006091e8
pop edi
pop esi
pop ebx
ret 4

Function at 0x60fe38
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x60fe66
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x60fe84
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0060fd9e
jmp 0x60fe84
mov eax, dword [esi + 0x14]
test eax, eax
je 0x60fe84
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0060fd9e
test edi, edi
mov eax, edi
jne 0x60fe6e
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x7b0a7733
nop
nop
nop
nop
test eax, eax
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
nop
mov ecx, 0x4b757af
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x4d5090
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x88000]
push edi
jmp 0x4d50aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4d50b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d50a0
mov eax, 1
add ebx, ebx
jne 0x4d50c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4d50d4
jne 0x4d50f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d50f3
dec eax
add ebx, ebx
jne 0x4d50e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4d50b8
add ebx, ebx
jne 0x4d50ef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4d5145
xor ecx, ecx
sub eax, 3
jb 0x4d510b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4d517a
sar eax, 1
mov ebp, eax
jmp 0x4d5116
add ebx, ebx
jne 0x4d5116
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d50e4
inc ecx
add ebx, ebx
jne 0x4d5124
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d50e4
add ebx, ebx
jne 0x4d5131
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4d5126
jne 0x4d5142
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4d5126
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4d5164
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4d5156
jmp 0x4d50a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4d5164
add edi, ecx
jmp 0x4d50a6
pop esi
mov edi, esi
mov ecx, 0x3020
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4d5182
cmp byte [edi], 0x1e
jne 0x4d5182
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 0x4d5187
lea edi, [esi + 0xd2000]
mov eax, dword [edi]
or eax, eax
je 0x4d51ff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd70d0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd71f4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4d51b4
mov ecx, edi
jns 0x4d51e3
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 + 0xd71fc]
or eax, eax
je 0x4d51f9
mov dword [ebx], eax
add ebx, 4
jmp 0x4d51d1
call dword [esi + 0xd71f8]
mov ebp, dword [esi + 0xd7200]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x4d5233
sub esp, 0xffffff80
jmp 0x465815

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 0x402dc2
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0xc
push ebx
xor ebx, ebx
cmp byte [eax + 0xd], bl
jne 0x402eb0
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push edi
push ebx
lea eax, [ebp - 4]
push eax
push ebx
mov edi, 0xf003f
push edi
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x402eae
push ebx
lea eax, [ebp + 0xc]
push eax
push ebx
push edi
push ebx
push ebx
push ebx
push str.InstallerData
push dword [ebp - 4]
call esi
cmp eax, ebx
jne 0x402eae
push 0xfffe
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
cmp esi, ebx
je 0x402eae
mov edi, dword [ebp + 8]
cmp byte [edi + 0xc], bl
jne 0x402e61
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp + 8]
push eax
push esi
push ebx
push dword [ebp + 0xc]
mov dword [ebp + 8], 0x7fff
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, ebx
jne 0x402e61
push esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x402e37
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [edi + 4]
mov edi, dword [edi + 8]
imul edi, edi, 0xc
add edi, esi
jmp 0x402eaa
cmp byte [esi + 8], bl
je 0x402ea7
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 0xc]
push eax
mov dword [ebp + 8], eax
mov dword [ebp - 0xc], ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
push dword [ebp + 8]
push 1
push ebx
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add esi, 0xc
cmp esi, edi
jne 0x402e75
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x40318d
Capabilities:
Terminate process

Disassembly:
push 0xc
mov eax, 0x448eba
call fcn.00432c80
mov eax, dword [esi + 0xa0]
cmp eax, 1
jge 0x4031c3
push 0xbd2
lea eax, [ebp - 0x18]
push eax
call fcn.00407847
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
mov ecx, 0x465560
jmp fcn.004047b3
lea edi, [esi + 0x98]
dec eax
mov ecx, edi
call fcn.00404128
mov ebx, str.CFinishedPage
push ebx
mov ecx, eax
call fcn.00401ea3
test eax, eax
je 0x4031ed
push ebx
push dword [edi + 8]
mov ecx, edi
call fcn.00424ecb
mov eax, dword [esi + 0xa0]
dec eax
lea ecx, [esi + 0x90]
cmp dword [ecx], eax
je 0x403220
mov dword [ecx], eax
mov ecx, edi
call fcn.00404128
push dword [eax]
call fcn.0042ed00
pop ecx
push eax
push 0
push 0x8002
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
call fcn.00432d1f
ret

Function at 0x403249
Capabilities:
Terminate process

Disassembly:
push 0xc
mov eax, 0x448eba
call fcn.00432c80
mov ebx, ecx
lea esi, [ebx + 0xa0]
mov eax, dword [esi]
cmp eax, 1
jne 0x403272
cmp dword [ebx + 0x90], 0
jne 0x403272
call fcn.004033e0
mov esi, dword [esi]
cmp esi, 1
jge 0x403298
push 0xbd2
lea eax, [ebp - 0x18]
push eax
call fcn.00407847
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
mov ecx, 0x465560
jmp fcn.004047b3
dec esi
cmp dword [ebx + 0x90], esi
je 0x4032b3
push 0
push 0
push 0x8002
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
call fcn.00432d1f
ret