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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x534eb5
push esi
mov ebx, 0x811c9dc5
xor edi, edi
call fcn.00551b30
xor edx, edx
mov dword [ebp - 4], 0xa
pop ecx
mov ecx, eax
div dword [ebp - 4]
inc eax
test ecx, ecx
je 0x534eac
mov edx, ecx
movsx ecx, byte [esi + edi]
add edi, eax
imul ebx, ebx, 0x1000193
xor ebx, ecx
cmp edi, edx
jb 0x534e9a
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4
call fcn.00404333
int3

Function at 0x54d9ef
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x54da2e
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x54da2e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x54da2e
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x54da2e
cmp dword [ecx + 0x74], 0xe
jbe 0x54da2e
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x561f65
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5ab2d0
push 0x5ab2c8
push str.FlsAlloc
push 0x1f
call fcn.00561de4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x561f99
push dword [ebp + 8]
mov ecx, esi
call dword [0x57d9f0]
call esi
jmp 0x561f9f
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x561fe3
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5ab2e0
push 0x5ab2d8
push str.FlsGetValue
push 0x21
call fcn.00561de4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x56201a
push dword [ebp + 8]
mov ecx, esi
call dword [0x57d9f0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x562022
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5ab2e8
push 0x5ab2e0
push str.FlsSetValue
push 0x22
call fcn.00561de4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x56205c
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x57d9f0]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x5671ad
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x56724a
push ebx
push esi
call fcn.00567176
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00564ac2
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x5671f7
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x567249
push edi
push eax
call fcn.00560885
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x567217
call fcn.0056084b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x567248
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00564ac2
add esp, 0x20
test eax, eax
jne 0x567236
push edi
call fcn.0056084b
jmp 0x56723e
push ebx
call fcn.0056084b
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x56724d
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x56725e
pop esi
ret
push ebx
push edi
push esi
call fcn.00567176
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00560885
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x567286
push ebx
push esi
push edi
call fcn.0054dd80
add esp, 0xc
push 0
call fcn.0056084b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x567656
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0056729b

Function at 0x56ca30
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x56ca5d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x56ca5d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
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 0x106e8
Capabilities:
Find process by pid

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
xor esi, esi
push edi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call fcn.00010686
stosb byte es:[edi], al
test eax, 0x458dd081
clc
push eax
push dword [ebp + 8]
call sub.ntoskrnl.exe_PsLookupProcessByProcessId
mov edi, eax
cmp edi, esi
jl 0x10762
push 0x10882
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
cmp eax, esi
je 0x10759
lea ecx, [ebp - 4]
push ecx
push 1
push dword [eax]
push dword [ebp + 0x10]
push esi
push esi
push dword [ebp - 8]
call dword [sym.imp.ntoskrnl.exe_ObOpenObjectByPointer]
mov edi, eax
cmp edi, esi
jl 0x10759
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov ecx, dword [ebp - 8]
call dword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, edi
pop edi
pop esi
leave
ret 0xc

Function at 0x109ee
Capabilities:
Create device object

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
call fcn.000109b5
pop ebp
jmp fcn.00010906
Function at 0x4010a0
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
sub esp, 0x68
push ebp
push esi
push edi
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
push str.Control_PanelDesktop
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401117
mov edx, dword [esp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x10]
push ecx
push eax
push eax
push eax
push str.ScreenSaveUtility
push edx
mov dword [esp + 0x28], eax
call esi
test eax, eax
jne 0x401117
mov eax, dword [esp + 0x10]
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
push 0x40
call ebp
mov edi, eax
test edi, edi
je 0x401117
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
push edi
push 0
push 0
push str.ScreenSaveUtility
push edx
call esi
test eax, eax
je 0x401120
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x68
ret
mov ecx, 0x10
lea eax, [esp + 0x18]
lea esp, [esp]
mov byte [eax], 0
add eax, 1
sub ecx, 1
jne 0x401130
mov ecx, 0x44
lea eax, [esp + 0x28]
mov byte [eax], 0
add eax, 1
sub ecx, 1
jne 0x401144
push edi
mov dword [esp + 0x2c], 0x44
mov dword [esp + 0x58], 0x81
mov word [esp + 0x5c], cx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
add eax, eax
push eax
push 0x40
call ebp
push edi
mov esi, eax
push str.__s___c
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
call esi
push edi
call esi
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x68
ret

Function at 0x4011c0
Capabilities:
Get common file path

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push 0x402060
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401208
push ebx
push edi
push ebp
lea edi, [esp + 0x10]
mov ebx, str.ScreenSaveBackup
jmp loc.0040441a
push esi
push 0x2080
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x40123f
push esi
push 0
push 0
push 0x25
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x40123f
push str.scrnsave.scr
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
jne 0x401245
pop esi
xor eax, eax
pop ebp
pop ecx
ret
mov dword [ebp], esi
pop esi
mov eax, 1
pop ebp
pop ecx
ret
Function at 0x401850
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x10]
xor esi, esi
test edi, edi
je 0x401898
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
nop word [eax + eax]
imul edx, dword [eax], 0xe9
movzx ecx, byte [esi + ebx]
add ecx, edx
mov dword [eax], ecx
add byte [eax + 4], cl
xor byte [eax + 5], cl
movzx ecx, byte [esi + ebx]
add byte [eax + 6], cl
movzx ecx, byte [esi + ebx]
inc esi
xor byte [eax + 7], cl
cmp esi, edi
jb 0x401870
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x403890
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push dword [edi + 0x10]
call fcn.00403790
push dword [edi + 0x14]
call fcn.00404160
lea esi, [edi + 0x20]
xor ecx, ecx
mov edi, dword [edi + 0x14]
add esp, 8
mov edx, eax
mov dword [ebp - 4], ecx
xor ebx, ebx
mov dword [ebp - 0xc], edx
test edi, edi
je 0x4038f9
sub eax, esi
mov dword [ebp - 8], eax
nop word [eax + eax]
call fcn.00403740
mov cl, byte [esi]
lea esi, [esi + 1]
sub cl, al
mov eax, dword [ebp - 8]
mov byte [eax + esi - 1], cl
movzx eax, byte [esi - 1]
mov ecx, dword [ebp - 4]
xor ebx, eax
add ecx, eax
mov dword [ebp - 4], ecx
sub edi, 1
jne 0x4038d0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
cmp word [eax + 0x1c], cx
jne 0x403911
cmp word [eax + 0x1e], bx
jne 0x403911
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
push edx
call fcn.00404169
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40c497
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x425024]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x41dda0
push esi
call fcn.00410922
pop ecx
pop ecx
test eax, eax
jne 0x40c4c5
xor al, al
jmp 0x40c542
push ebx
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push esi
push eax
call fcn.0040c1da
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x40c4ff
push dword [ebp - 0x210]
call fcn.0040d6e3
xor al, al
jmp 0x40c540
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x40c505
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x40c525
push edx
call fcn.0040c3cd
pop ecx
test al, al
je 0x40c4f0
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x40c533
mov bl, 1
push dword [ebp - 0x210]
call fcn.0040d6e3
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004040c8
leave
ret

Function at 0x410ddb
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41eae0
push 0x41ead8
push str.FlsAlloc
push 0x1e
call fcn.00410c9c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x410e0f
push dword [ebp + 8]
mov ecx, esi
call dword [0x41c1a8]
call esi
jmp 0x410e15
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x410e59
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41eaf0
push 0x41eae8
push str.FlsGetValue
push 0x20
call fcn.00410c9c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x410e90
push dword [ebp + 8]
mov ecx, esi
call dword [0x41c1a8]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x41286f
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x41290c
push ebx
push esi
call fcn.00412838
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00412781
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4128b9
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41290b
push edi
push eax
call fcn.0040e8de
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4128d9
call fcn.0040e8a4
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41290a
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00412781
add esp, 0x20
test eax, eax
jne 0x4128f8
push edi
call fcn.0040e8a4
jmp 0x412900
push ebx
call fcn.0040e8a4
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x41290f
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x412920
pop esi
ret
push ebx
push edi
push esi
call fcn.00412838
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0040e8de
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x412948
push ebx
push esi
push edi
call fcn.004052e0
add esp, 0xc
push 0
call fcn.0040e8a4
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x412d0c
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041295d
Function at 0x4018f0
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp]
push eax
push ecx
mov dword [esp + 8], 0
call fcn.00401790
add esp, 8
xor ecx, ecx
test eax, eax
jle 0x401938
push ebx
mov edx, dword [esp + 4]
mov bl, byte [ecx + edx]
add bl, 0x38
mov byte [ecx + edx], bl
mov edx, dword [esp + 4]
mov bl, byte [ecx + edx]
xor bl, 0x7b
mov byte [ecx + edx], bl
inc ecx
cmp ecx, eax
jl 0x401912
mov eax, dword [esp + 4]
pop ebx
pop ecx
ret
mov eax, dword [esp]
pop ecx
ret

Function at 0x401940
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret 8

Function at 0x401c64
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov ebx, 0x408164
push 0x408180
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push 0x408188
push ebx
mov dword [ebp - 4], eax
call esi
push eax
call edi
cmp dword [0x408464], 0
mov dword [ebp - 8], eax
jne 0x401e1a
and byte [ebp - 0xd8], 0
push 0x1f
pop ecx
xor eax, eax
lea edi, [ebp - 0xd7]
push str.3d3d3R3m1h3c0eQJEhYQFxRD
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.004018f0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0xd8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0xd8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, 0x4087d8
push esi
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 0xc
mov ebx, 0x4084ec
test eax, eax
je 0x401e03
push 0x20
xor eax, eax
pop ecx
mov edi, ebx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xd8]
push esi
push eax
call dword [sym.imp.MSVCRT.dll_strcspn]
push eax
lea eax, [ebp - 0xd8]
push eax
push ebx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0x14
cmp dword [0x40877c], 1
jne 0x401ddf
and byte [ebp - 0x58], 0
push 0xf
pop ecx
xor eax, eax
lea edi, [ebp - 0x57]
push 0xa
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x58]
push eax
jmp loc.00410650
lea eax, [ebp - 0xd8]
push esi
push eax
call dword [sym.imp.MSVCRT.dll_strcspn]
lea eax, [ebp + eax - 0xd7]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 0xc
mov dword [0x40856c], eax
mov ax, word [0x40856c]
mov word [ebp - 0x18], 2
push eax
call dword [ebp - 4]
mov word [ebp - 0x16], ax
push ebx
jmp 0x401e2e
push 0x50
mov word [ebp - 0x18], 2
call dword [ebp - 4]
mov word [ebp - 0x16], ax
push str.www.baidu.com
call fcn.00403ca0
pop ecx
mov dword [ebp - 0x14], eax
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
lea eax, [ebp - 0x18]
push 0x10
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x401e60
push esi
call dword [ebp - 8]
or eax, 0xffffffff
jmp 0x401e62
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401e80
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x40a004]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x200
lea eax, [ebp - 0x404]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0x404]
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x401edc
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040281c
mov esp, ebp
pop ebp
ret
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov edx, dword [0x44b890]
mov dword [ebp - 0x408], eax
add eax, 0x100
push eax
push 8
push edx
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov ecx, dword [ebp - 0x408]
push 0
mov esi, eax
lea eax, [ebp - 0x408]
push eax
push ecx
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edx, dword [ebp - 0x408]
mov ecx, dword [0x44b8a4]
lea eax, [esi + edx]
mov dword [eax], ecx
mov edx, dword [0x44b8a8]
push 0x44b894
push 0x44b8a4
mov dword [eax + 4], edx
call fcn.00401170
mov eax, dword [ebp - 0x408]
mov ecx, dword [ebp - 4]
add eax, 8
mov dword [ebx], eax
mov eax, esi
pop esi
xor ecx, ebp
pop edi
call fcn.0040281c
mov esp, ebp
pop ebp
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 0x40de50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40b015
lea edi, [esi - 0xa015]
push edi
jmp 0x40de6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40de71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40de60
mov eax, 1
add ebx, ebx
jne 0x40de83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40de78
jne 0x40de94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40de78
xor ecx, ecx
sub eax, 3
jb 0x40dea8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40df1a
mov ebp, eax
add ebx, ebx
jne 0x40deb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40dec0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40dee4
inc ecx
add ebx, ebx
jne 0x40ded0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40dec5
jne 0x40dee1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40dec5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40df04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40def5
jmp 0x40de66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40df04
add edi, ecx
jmp 0x40de66
pop esi
mov edi, esi
mov ecx, 0x27c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40df22
cmp byte [edi], 1
jne 0x40df22
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 0x40df27
lea edi, [esi + 0xb000]
mov eax, dword [edi]
or eax, eax
je 0x40df96
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd254]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd290]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40df54
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd298]
or eax, eax
je 0x40df90
mov dword [ebx], eax
add ebx, 4
jmp 0x40df71
call dword [esi + 0xd294]
mov ebp, dword [esi + 0xd29c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x40dfca
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x433e70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x27000]
push edi
jmp 0x433e8a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x433e91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x433e80
mov eax, 1
add ebx, ebx
jne 0x433ea3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x433e98
jne 0x433eb4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x433e98
xor ecx, ecx
sub eax, 3
jb 0x433ec8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x433f3a
mov ebp, eax
add ebx, ebx
jne 0x433ed3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x433ee0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x433f04
inc ecx
add ebx, ebx
jne 0x433ef0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x433ee5
jne 0x433f01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x433ee5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x433f24
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x433f15
jmp 0x433e86
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x433f24
add edi, ecx
jmp 0x433e86
pop esi
mov edi, esi
mov ecx, 0x91a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x433f42
cmp byte [edi], 9
jne 0x433f42
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 0x433f47
lea edi, [esi + 0x31000]
mov eax, dword [edi]
or eax, eax
je 0x433fbf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x49bfc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x49cc4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x433f74
mov ecx, edi
jns 0x433fa3
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 + 0x49cc8]
or eax, eax
je 0x433fb9
mov dword [ebx], eax
add ebx, 4
jmp 0x433f91
call dword [esi + 0x49cd8]
mov ebp, dword [esi + 0x49ccc]
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 0x433ff3
sub esp, 0xffffff80
jmp 0x41382f