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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
xor esi, esi
cmp dword [0x438ab8], esi
push edi
mov dword [ebp - 0x10], esi
jne 0x426a56
xor ax, ax
jmp 0x426bf5
or word [0x51f862], 0xffff
cmp dword [0x438d60], esi
mov dword [ebp - 8], esi
jne 0x426a84
movsx eax, word [ebp + 0xc]
push eax
call fcn.0042a970
cmp ax, si
jl 0x426bf5
push 1
pop edi
mov dword [ebp - 0x10], edi
jmp 0x426a87
push 1
pop edi
mov ax, word [0x51f862]
push eax
mov ax, word [0x51f860]
push eax
call fcn.00426da8
call fcn.00426e2b
cmp dword [0x51f424], esi
jne 0x426ab3
push 0x4d
call fcn.00426bfb
mov dword [0x51f424], eax
push ebx
call fcn.0042732f
test ax, ax
je 0x426bbb
mov dword [ebp - 8], esi
call fcn.00426eb0
push esi
push edi
push 0x35
call fcn.00427018
test eax, eax
jne 0x426adb
or dword [ebp - 8], 0xffffffff
push esi
push esi
call fcn.004270c5
push esi
push esi
mov byte [ebp - 1], al
call fcn.004270c5
mov bl, al
mov byte [ebp - 2], bl
call fcn.00426f91
cmp byte [0x51f42d], 0x15
mov dword [0x438c00], edi
jb 0x426bbb
call fcn.00426eb0
push esi
push edi
push 0x49
call fcn.00427018
test eax, eax
jne 0x426b1f
or dword [ebp - 8], 0xffffffff
cmp word [ebp - 8], 0xffff
je 0x426b60
lea esi, [ebp + 8]
mov dword [ebp - 0xc], 4
not bl
mov al, byte [esi]
push edi
xor al, byte [ebp - 1]
push edi
inc esi
add al, bl
push eax
call fcn.00427018
dec dword [ebp - 0xc]
jne 0x426b32
push dword [0x438c00]
push 0
call fcn.004270c5
mov bl, al
add bl, byte [ebp - 2]
inc bl
xor bl, byte [ebp - 1]
jmp 0x426b63
mov bl, byte [ebp + 0xf]
call fcn.00426f91
cmp word [ebp - 8], 0
jne 0x426bb9
cmp bl, 1
jne 0x426bb9
call fcn.00426eb0
push dword [0x438c00]
push edi
push 0x4c
call fcn.00427018
test eax, eax
je 0x426bae
push 8
mov esi, 0x51f858
pop edi
push dword [0x438c00]
push 0
call fcn.004270c5
add al, byte [ebp - 2]
inc al
xor al, byte [ebp - 1]
mov byte [esi], al
inc esi
dec edi
jne 0x426b93
call fcn.00426f91
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
xor esi, esi
call fcn.00428cf0
call fcn.00426d35
mov ax, word [0x51f862]
push eax
mov ax, word [0x51f860]
push eax
call fcn.00426de8
cmp dword [ebp - 0x10], esi
pop ebx
je 0x426be8
movsx eax, word [ebp + 0xc]
push eax
call fcn.0042abbf
cmp word [ebp - 8], si
jge 0x426bf1
mov dword [ebp - 8], esi
mov ax, word [ebp - 8]
pop edi
pop esi
leave
ret 8
Function at 0x426bfb
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
cmp dword [0x51f40c], 0
push esi
push edi
jne 0x426d1a
lea eax, [ebp - 0x94]
push 0x50
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x94]
push 0x438c10
push eax
call esi
lea eax, [ebp - 0x94]
push str.MATRIX.INI
push eax
call esi
lea eax, [ebp - 0x94]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
and dword [0x51f428], 0
push eax
lea eax, [ebp - 0x40]
push 0x1f
push eax
push 0x438c1c
push str.HiRes
push 0x438c28
call esi
cmp byte [ebp - 0x40], 0x4e
je 0x426cc4
cmp byte [ebp - 0x40], 0x6e
je 0x426cc4
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x20]
push 0x1f
push eax
push 0x438c30
push str.hrwert
push 0x438c3c
call esi
lea eax, [ebp - 0x20]
push eax
call sub.MSVCRT.dll_atol
pop ecx
mov edi, eax
call fcn.00426870
test ax, ax
jle 0x426cc4
test edi, edi
mov dword [0x51f428], 1
jne 0x426cc0
push 1
pop edi
mov eax, edi
jmp 0x426d1c
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x20]
push 0x1f
push eax
push 0x438c44
push str.wert
push str.DELAY
call esi
lea eax, [ebp - 0x20]
push eax
call sub.MSVCRT.dll_atol
test eax, eax
pop ecx
jg 0x426d1c
mov esi, 0x640
cmp word [ebp + 8], 0x4d
jne 0x426d03
call fcn.0042732f
jmp 0x426d0a
push 1
call fcn.00427147
test ax, ax
jne 0x426d22
add esi, 0x64
cmp esi, 0x1b58
jle 0x426cf5
xor eax, eax
pop edi
pop esi
leave
ret 4
call fcn.00428cf0
call fcn.00426d35
lea eax, [esi + esi*2 + 0x3e8]
jmp 0x426d1c

Function at 0x427018
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
push 8
pop esi
test byte [esp + 8], 1
je 0x42702a
call fcn.00426fb4
jmp 0x42702f
call fcn.00426ec4
call fcn.00426fe6
call fcn.00426fe6
shr byte [esp + 8], 1
call fcn.00426f5d
dec esi
jne 0x42701c
cmp dword [esp + 0xc], 0
je 0x42709f
push ebx
push edi
call fcn.00426d35
call fcn.00426fe6
call fcn.00426d35
cmp dword [esp + 0x18], 0
je 0x427089
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, ebx
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0x32
ja 0x427084
call fcn.004270a6
test eax, eax
jne 0x427090
jmp 0x427070
push 1
pop ebx
jmp 0x427090
call fcn.004270a6
mov ebx, eax
call fcn.00426f5d
pop edi
test ebx, ebx
pop ebx
je 0x42709f
xor eax, eax
jmp 0x4270a2
push 1
pop eax
pop esi
ret 0xc

Function at 0x4270c5
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
call fcn.00426fb4
push 8
xor ebx, ebx
pop esi
call fcn.00426fe6
sar ebx, 1
and ebx, 0x7f
call fcn.004270a6
test eax, eax
je 0x4270e7
or bl, 0x80
call fcn.00426f5d
dec esi
jne 0x4270d1
cmp dword [esp + 0xc], 0
je 0x4270fd
call fcn.00426fb4
jmp 0x427102
call fcn.00426ec4
call fcn.00426d35
call fcn.00426fe6
call fcn.00426d35
cmp dword [esp + 0x10], 0
je 0x427136
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
mov edi, eax
call fcn.004270a6
test eax, eax
jne 0x427135
call esi
sub eax, edi
cmp eax, 0x32
jb 0x427123
pop edi
call fcn.00426f5d
call fcn.00426fb4
mov al, bl
pop esi
pop ebx
ret 8
Function at 0x42763b
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov ax, word [0x51f862]
push esi
push edi
push 2
pop edi
xor esi, esi
push edi
push eax
mov ax, word [0x51f860]
push eax
call fcn.0042ad20
test al, 1
jne 0x427674
mov ax, word [0x51f862]
push esi
push eax
mov ax, word [0x51f860]
push eax
call fcn.0042ad20
and al, 7
cmp al, 7
jge 0x427677
push 1
pop esi
mov ax, word [0x51f862]
push 0
push eax
mov ax, word [0x51f860]
push eax
call fcn.0042ad20
or al, 7
push eax
mov ax, word [0x51f862]
push 0
push eax
mov ax, word [0x51f860]
push eax
call fcn.0042ace6
mov ax, word [0x51f862]
push edi
push eax
mov ax, word [0x51f860]
push eax
call fcn.0042ad20
and ax, 0xde
push eax
mov ax, word [0x51f862]
push edi
push eax
mov ax, word [0x51f860]
push eax
call fcn.0042ace6
test esi, esi
je 0x42771d
mov ax, word [0x51f862]
push 0
push eax
mov ax, word [0x51f860]
push eax
call fcn.0042ad20
mov word [0x51f41e], ax
mov ax, word [0x51f862]
push edi
push eax
mov ax, word [0x51f860]
push eax
call fcn.0042ad20
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov word [0x51f41c], ax
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0x78
jb 0x427714
pop edi
pop esi
ret

Function at 0x429259
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp word [ebp + 0xc], 0
jle 0x42927a
movsx ecx, word [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dl, byte [eax]
add dl, byte [ebp + 0x10]
inc dl
xor dl, byte [ebp + 0x14]
mov byte [eax], dl
inc eax
dec ecx
jne 0x42926a
pop ebp
ret 0x10

Function at 0x42930c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp word [ebp + 0xc], 0
jle 0x429331
mov cl, byte [ebp + 0x10]
mov eax, dword [ebp + 8]
push esi
movsx esi, word [ebp + 0xc]
not cl
mov dl, byte [eax]
xor dl, byte [ebp + 0x14]
add dl, cl
mov byte [eax], dl
inc eax
dec esi
jne 0x429323
pop esi
pop ebp
ret 0x10

Function at 0x42a29a
Capabilities:
Create service
Get common file path
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
push esi
push edi
lea eax, [ebp - 0xa4]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0xa4]
push 0x438dac
push eax
call esi
mov edi, str.IWPORT
lea eax, [ebp - 0xa4]
push edi
push eax
call esi
lea eax, [ebp - 0xa4]
push 0x438dc0
push eax
call esi
xor esi, esi
lea eax, [ebp - 0xa4]
push esi
push esi
push str.Parallel_arbitrator
push esi
push str.Extended_base
push eax
push 1
push 2
push 1
push 0xf01ff
push edi
push edi
push dword [0x438d5c]
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov edi, eax
cmp edi, esi
jne 0x42a32a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
jne 0x42a32d
push 1
pop esi
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
pop edi
pop esi
leave
ret
Function at 0x42a33a
Capabilities:
Get common file path
Modify service
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
push ebx
push edi
mov edi, str.IWPORT
push 0xf01ff
push edi
xor ebx, ebx
push dword [0x438d5c]
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x42a3f8
push esi
push ebx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0x420
push 0x80
neg eax
sbb eax, eax
inc eax
or dword [ebp - 4], eax
lea eax, [ebp - 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0xac]
push 0x438dac
push eax
call esi
lea eax, [ebp - 0xac]
push edi
push eax
call esi
lea eax, [ebp - 0xac]
push 0x438dc0
push eax
call esi
push edi
push ebx
push ebx
push str.Parallel_arbitrator
push ebx
lea eax, [ebp - 0xac]
push str.Extended_base
push eax
push 1
push 2
push 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
mov eax, dword [ebp - 4]
pop edi
pop ebx
leave
ret

Function at 0x42a3ff
Capabilities:
Stop service

Disassembly:
sub esp, 0x1c
push ebx
xor ebx, ebx
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
cmp eax, ebx
mov dword [0x438d5c], eax
je 0x42a457
push esi
push edi
push 0xf01ff
push str.IWPORT
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
cmp esi, ebx
je 0x42a44d
lea eax, [esp + 0xc]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
mov ebx, eax
call edi
push dword [0x438d5c]
call edi
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x1c
ret
Function at 0x42a4bd
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
push ebx
push esi
xor ebx, ebx
push edi
cmp dword [0x51f408], ebx
lea eax, [ebp - 0x16c]
push 0x438dd0
push eax
je 0x42a528
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x16c]
push str.IWPORT
push eax
call esi
lea eax, [ebp - 0x16c]
push str..VXD
push eax
call esi
push ebx
push 0x4000000
push ebx
push ebx
push ebx
lea eax, [ebp - 0x16c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x438d50], eax
jmp 0x42a640
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x16c]
push str.IWPORT
push eax
call esi
mov eax, dword [ebp + 8]
inc eax
push eax
lea eax, [ebp - 8]
push 0x438dd8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x16c]
push eax
call esi
push 1
mov edi, 0x80
pop eax
push ebx
push edi
push 3
mov dword [0x438d54], eax
mov dword [0x438d58], eax
push ebx
push ebx
lea eax, [ebp - 0x16c]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [0x438d50], eax
jne 0x42a640
lea eax, [ebp - 0x6c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x6c]
push 0x438dac
push eax
call esi
lea eax, [ebp - 0x6c]
push str.IWPORT
push eax
call esi
lea eax, [ebp - 0x6c]
push 0x438dc0
push eax
call esi
lea eax, [ebp - 0x6c]
push ebx
push eax
call sub.MSVCRT.dll__access
pop ecx
test eax, eax
pop ecx
jne 0x42a640
push 0xf003f
push ebx
push ebx
mov dword [0x438d58], ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
cmp eax, ebx
mov dword [0x438d5c], eax
je 0x42a640
call fcn.0042a33a
test eax, eax
jne 0x42a617
mov dword [0x438d54], ebx
call fcn.0042a29a
test eax, eax
je 0x42a634
call fcn.0042a33a
test eax, eax
je 0x42a634
push ebx
push edi
push 3
push ebx
push ebx
lea eax, [ebp - 0x16c]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x438d50], eax
push dword [0x438d5c]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x42bfcb
Capabilities:
Get hostname
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x101
push eax
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test ax, ax
jne 0x42bffb
and dword [ebp - 4], 0
and byte [ebp - 0x148], al
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x10
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test ax, ax
jne 0x42c01c
and dword [ebp - 8], 0
and byte [ebp - 0x18], al
lea eax, [ebp - 0x34]
push esi
push eax
call fcn.0042c11f
test ax, ax
jle 0x42c0b5
mov ecx, dword [ebp + 0xc]
movsx edx, cx
movsx eax, ax
dec edx
cmp eax, edx
jle 0x42c048
lea eax, [ecx - 1]
movsx eax, ax
and byte [ebp + eax - 0x34], 0
mov edx, dword [ebp - 4]
lea esi, [ecx - 1]
lea edx, [eax + edx + 1]
cmp edx, esi
jle 0x42c08c
sub ecx, eax
sub ecx, 2
mov dword [ebp - 4], ecx
jns 0x42c065
xor ecx, ecx
mov dword [ebp - 4], ecx
and byte [ebp + ecx - 0x148], 0
lea eax, [ebp + ecx - 0x148]
cmp ecx, 3
jle 0x42c08c
push 3
add eax, 0xfffffffd
push 0x438dec
push eax
call sub.MSVCRT.dll_strncpy
add esp, 0xc
cmp dword [ebp - 4], 0
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
jle 0x42c0a6
lea eax, [ebp - 0x148]
push 0x438df0
push eax
call esi
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x148]
push eax
call esi
jmp 0x42c10a
mov esi, dword [ebp + 0xc]
push ebx
lea ebx, [esi - 1]
cmp dword [ebp - 4], ebx
jge 0x42c0f0
cmp dword [ebp - 4], 0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
jle 0x42c0e2
cmp dword [ebp - 8], 0
jle 0x42c0e2
lea eax, [ebp - 0x148]
push 0x438df4
push eax
call edi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x148]
push eax
call edi
pop edi
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, ebx
pop ebx
jle 0x42c10a
and byte [ebp + esi - 0x149], 0
lea eax, [ebp - 0x148]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop esi
leave
ret 8
Function at 0x42ce04
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
push edi
lea eax, [ebp - 0xa8]
xor edi, edi
push 0x80
push eax
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0xa8]
push str.SYSTEM32DRIVERS_
push eax
call esi
cmp dword [0x51f864], 9
jne 0x42ce4b
push str.IWUSB_X64
jmp 0x42ce50
push str.IWUSB
lea eax, [ebp - 0xa8]
push eax
call esi
lea eax, [ebp - 0xa8]
push str..SYS
push eax
call esi
push str.VERSION.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
call fcn.00425c64
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetFileVersionInfoSizeA
push ebx
call esi
lea ecx, [ebp - 0x10]
mov dword [0x51f7a0], eax
push ecx
lea ecx, [ebp - 0xa8]
push ecx
call eax
cmp eax, edi
mov dword [ebp - 4], eax
je 0x42cfa0
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push str.GetFileVersionInfoA
push ebx
mov edi, eax
call esi
push edi
lea ecx, [ebp - 0xa8]
push dword [ebp - 4]
mov dword [0x51f7a4], eax
push dword [ebp - 0x10]
push ecx
call eax
push 0x438fdc
push ebx
call esi
lea ecx, [ebp - 0x28]
mov dword [0x51f7a8], eax
push ecx
lea ecx, [ebp - 0x24]
push ecx
push str.VarFileInfoTranslation
push edi
call eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
movzx eax, word [eax]
shr ecx, 0x10
push ecx
push eax
lea eax, [ebp - 0x10c]
push str.StringFileInfo_04hX_04hXFileVersion
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push str.VerQueryValueA
push ebx
call esi
lea ecx, [ebp - 0x28]
mov dword [0x51f7a8], eax
push ecx
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x10c]
push ecx
push edi
call eax
test eax, eax
jne 0x42cf3c
xor edi, edi
jmp 0x42cf87
and byte [ebp - 0x20], 0
and byte [ebp - 0x18], 0
push 1
lea eax, [ebp - 0x20]
push dword [ebp - 0xc]
push eax
call sub.MSVCRT.dll_strncat
mov eax, dword [ebp - 0xc]
push 2
add eax, 2
push eax
lea eax, [ebp - 0x18]
push eax
call sub.MSVCRT.dll_strncat
lea eax, [ebp - 0x20]
push eax
call sub.MSVCRT.dll_atoi
xor edx, edx
mov dh, al
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 4], edx
call sub.MSVCRT.dll_atoi
mov ecx, dword [ebp - 4]
add esp, 0x20
or ecx, eax
mov edi, ecx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.00425ce9
mov ax, di
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4099ec
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409abf
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409ad8
push ebx
push 0x409ae4
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409a6c
mov al, 0x6a
call fcn.00409648
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.004099c0
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409a75
call fcn.004099c0
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409ac6
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409b78
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409c2c
jmp 0x409c21
cmp dword [esi + 0x10], 0x1000
jne 0x409c0d
test byte [esi + 0x15], 1
jne 0x409c0d
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409bcc
cmp eax, 2
je 0x409bcc
cmp eax, 0x10
je 0x409bcc
cmp eax, 0x20
jne 0x409be1
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409be1
mov bl, 1
xor ebp, ebp
jmp 0x409bf2
mov eax, dword [esi]
add eax, ebp
call fcn.00409b70
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409be5
test bl, bl
je 0x409c0d
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409c2c
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409ba4
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x42e000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..reloc
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e072
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x651e651a
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
nop
cmp eax, 0
nop
je 0x42e0d2
nop
nop
nop
nop
nop
mov ebx, 0x42cd70
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x10864033
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x994cdc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x994d03
call fcn.00937288
mov dword [eax], esi
call fcn.00937275
push 0x16
pop esi
mov dword [eax], esi
call fcn.00937eca
mov eax, esi
jmp 0x994d58
test dword [ebp + 0xc], 0xfffffff9
jne 0x994ce9
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x994d30
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0093729b
pop ecx
call fcn.00937275
mov eax, dword [eax]
jmp 0x994d58
test al, 0x10
jne 0x994d56
test al, 1
je 0x994d56
test byte [ebp + 0xc], 2
je 0x994d56
call fcn.00937288
mov dword [eax], 5
call fcn.00937275
mov dword [eax], 0xd
jmp 0x994d27
xor eax, eax
pop esi
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x1705385a
nop
nop
nop
nop
test eax, eax
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
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
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x6d5f49fc
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x406128
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x40614d
mov dword [0x40a0f4], eax
add esp, 0xfffffff8
push 0x4060ec
push eax
call fcn.00407c20
jmp 0x406152
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x406168
mov dword [0x409054], 0x40624c
jmp 0x406172
mov dword [0x409054], 0x406200
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..reloc
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
nop
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x1c4c484c
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..text
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x40b1d22
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
popal
nop
nop
nop
nop
jmp 0x431219