joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4028e3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
lea eax, [ebp - 4]
push ebx
push eax
xor ebx, ebx
push 1
push ebx
push 0x4012a4
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4029bb
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0x10c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push ebx
push ebx
push 0x401514
mov dword [ebp - 8], 0x104
push dword [ebp - 4]
call esi
test eax, eax
jne 0x4029b1
push dword [ebp + 8]
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4029b1
lea eax, [ebp - 0x210]
push 0x401500
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
call fcn.00403a06
test eax, eax
je 0x402978
lea eax, [ebp - 0x210]
push 0x4014f8
adc al, 0x40
add byte [eax - 1], dl
adc eax, sym.imp.KERNEL32.dll_lstrcatA
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
lea eax, [ebp - 0x10c]
push eax
push ebx
push ebx
push 0x4014f0
push dword [ebp - 4]
call esi
test eax, eax
jne 0x4029b1
push ebx
lea eax, [ebp - 0x210]
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.00403e01
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
leave
ret 8

Function at 0x4029c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x330
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
test eax, eax
mov dword [ebp - 0x1c], 0x40152c
mov dword [ebp - 0x18], 0x40149c
mov dword [ebp - 0x14], 0x4014a4
je 0x4029ec
and byte [eax], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
push edi
lea eax, [ebp - 0x124]
push 0x4012a4
push eax
call ebx
and dword [ebp - 8], 0
lea edi, [ebp - 0x1c]
mov esi, dword [edi]
lea eax, [ebp - 0x124]
push esi
push eax
call fcn.00403529
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x124]
push 0
push eax
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402ac0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x104
push eax
lea eax, [ebp - 0x228]
push eax
push 0
push 0
push 0x401520
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402ab1
lea eax, [ebp - 0x228]
push 0x4014ac
push eax
call fcn.00403529
lea eax, [ebp - 0x330]
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.004035ba
test eax, eax
je 0x402ab1
push dword [ebp + 8]
lea eax, [ebp - 0x330]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x402ab1
cmp dword [ebp + 0xc], eax
je 0x402aaa
push esi
push dword [ebp + 0xc]
call ebx
mov dword [ebp - 4], 1
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], 1
je 0x402adc
lea eax, [ebp - 0x124]
push eax
call fcn.00403560
jmp 0x41d068
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x402ae6
Capabilities:
Check if file exists
Check mutex and terminate process on windows
Check mutex on windows
Copy file
Delete file
Get common file path
Get file attributes
Set file attributes
Set registry value
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
lea eax, [ebp - 0x20c]
push 0x4012a4
push eax
call ebx
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
jne 0x402b12
jmp loc.0041c0c8
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00403529
xor edi, edi
lea eax, [ebp - 4]
push edi
push eax
push edi
push 2
push edi
push edi
lea eax, [ebp - 0x20c]
push edi
push eax
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x402ba8
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push dword [ebp + 8]
call esi
inc eax
push eax
push dword [ebp + 8]
push 1
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0x401520
push dword [ebp - 4]
call edi
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push eax
call ebx
lea eax, [ebp - 0x108]
push eax
call fcn.00403560
lea eax, [ebp - 0x108]
push eax
call esi
inc eax
push eax
lea eax, [ebp - 0x108]
push eax
push 1
push 0
push 0x401530
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop edi
pop ebx
leave
ret 8

Function at 0x402bae
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
lea eax, [ebp - 4]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push eax
xor ebx, ebx
push 0x2001f
push ebx
push 0x401550
push SysStringLen
call esi
test eax, eax
jne 0x402c51
lea eax, [ebp - 8]
push edi
push eax
push 1
mov edi, 0x40152c
push ebx
push edi
push dword [ebp - 4]
call esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x402c4b
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x104
push eax
lea eax, [ebp - 0x110]
push eax
push ebx
push ebx
push 0x401540
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402c38
push 1
lea eax, [ebp - 0x110]
push 0x4014ac
push eax
call fcn.004031b8
test eax, eax
je 0x402c38
push 1
pop ebx
push dword [ebp - 8]
call esi
test ebx, ebx
je 0x402c4b
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push dword [ebp - 4]
call esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4034ba
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
xor ebx, ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 3
je 0x40351d
mov edi, 0x104
lea eax, [ebp - 0x104]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
call esi
test eax, eax
je 0x40351d
lea eax, [ebp - 0x104]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
call esi
test eax, eax
jne 0x403520
push 1
pop ebx
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret 4

Function at 0x403677
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 1
mov al, byte [edi]
cmp al, 0x61
jl 0x403697
cmp al, 0x7a
jle 0x4036a7
cmp al, 0x41
jl 0x4037db
cmp al, 0x5a
jg 0x4037db
cmp byte [edi + 1], 0x3a
jne 0x4037db
cmp byte [edi + 2], 0x5c
jne 0x4037db
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push edi
call esi
cmp eax, 0xffffffff
je 0x4037c0
push edi
call esi
test al, 0x10
je 0x4037c0
push edi
call fcn.004034ba
test eax, eax
jne 0x4037db
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x108]
push edi
push eax
call esi
lea eax, [ebp - 0x108]
push 0x40142c
push eax
call fcn.00403529
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ebx, [ebp + eax - 0x108]
push 0x401634
push ebx
call esi
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x4037ab
lea eax, [ebp - 0x21c]
push 0x401498
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x403788
lea eax, [ebp - 0x21c]
push 0x401630
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x403788
lea eax, [ebp - 0x21c]
push eax
push ebx
call esi
lea eax, [ebp - 0x108]
push eax
call fcn.00403677
test eax, eax
jne 0x403788
and dword [ebp - 4], eax
lea eax, [ebp - 0x248]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40373f
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 4], 0
je 0x4037d6
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x4037d3
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x4037dd
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x403c50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push esi
mov esi, dword [ebp + 0x14]
push edi
push 0x11
pop ecx
xor eax, eax
lea edi, [ebp - 0x58]
mov dword [ebp - 4], 0x80004005
rep stosd dword es:[edi], eax
xor edi, edi
mov dword [ebp - 0x58], 0x44
cmp esi, edi
je 0x403c7b
mov dword [esi], edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x403cf7
cmp esi, edi
mov dword [ebp - 4], edi
je 0x403ca3
mov eax, dword [ebp - 0xc]
mov dword [esi], eax
cmp dword [ebp + 0xc], edi
je 0x403ce2
push dword [ebp + 0x10]
push dword [ebp - 0x14]
call fcn.00403d19
test eax, eax
jne 0x403cbe
mov dword [ebp - 4], 0x80070102
cmp dword [ebp - 4], edi
jl 0x403ce2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 4]
and eax, 0xff000000
cmp eax, 0xaa000000
jne 0x403ce2
mov dword [ebp - 4], edi
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x14]
call esi
mov eax, dword [ebp - 4]
jmp 0x403d13
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x403d07
call esi
jmp 0x403d13
call esi
and eax, 0xffff
or eax, 0x80070000
pop edi
pop esi
leave
ret 0x10

Function at 0x403e57
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
push edi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push dword [ebp + 0x18]
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
cmp byte [edi], 0x25
jne 0x403ed4
lea eax, [edi + 1]
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x104]
push eax
call fcn.00403093
lea eax, [ebp + eax - 0x105]
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_CharPrevA]
cmp byte [eax], 0x25
jne 0x403ebc
and byte [eax], 0
push dword [ebp + 0x1c]
lea eax, [ebp - 0x104]
push dword [ebp + 0x18]
push edi
push dword [ebp + 0x10]
push eax
push 0x4016ec
call esi
pop edi
pop esi
leave
ret 0x18

Function at 0x404004
Capabilities:
Parse credit card information

Disassembly:
movzx eax, word [esp + 4]
cmp eax, 0x3b
jg 0x404024
cmp eax, 0x3a
jge 0x404038
cmp eax, 0x20
je 0x404038
cmp eax, 0x25
je 0x404038
cmp eax, 0x2c
je 0x404038
jmp 0x404033
cmp eax, 0x3d
je 0x404038
cmp eax, 0x5a
jle 0x404033
cmp eax, 0x5d
jle 0x404038
jmp 0x41ce10
xor eax, eax
ret 4
Function at 0x42b7c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1d000]
push edi
or ebp, 0xffffffff
jmp 0x42b7e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42b7e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42b7d8
mov eax, 1
add ebx, ebx
jne 0x42b7fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42b7f0
jne 0x42b80c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42b7f0
xor ecx, ecx
sub eax, 3
jb 0x42b820
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42b892
mov ebp, eax
add ebx, ebx
jne 0x42b82b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42b838
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42b85c
inc ecx
add ebx, ebx
jne 0x42b848
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42b83d
jne 0x42b859
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42b83d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42b87c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42b86d
jmp 0x42b7de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42b87c
add edi, ecx
jmp 0x42b7de
pop esi
mov edi, esi
mov ecx, 0xdc0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42b89a
cmp byte [edi], 9
jne 0x42b89a
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 0x42b89f
lea edi, [esi + 0x29000]
mov eax, dword [edi]
or eax, eax
je 0x42b917
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x31928]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3198c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42b8cc
mov ecx, edi
jns 0x42b8fb
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 + 0x31990]
or eax, eax
je 0x42b911
mov dword [ebx], eax
add ebx, 4
jmp 0x42b8e9
call dword [esi + 0x31998]
mov ebp, dword [esi + 0x31994]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x42b94b
sub esp, 0xffffff80
jmp 0x41326f
Function at 0x4022a5
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4022e4
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4022e4
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4022e4
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4022e4
cmp dword [ecx + 0x74], 0xe
jbe 0x4022e4
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x407e33
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 0x407ed0
push ebx
push esi
call fcn.00407dfc
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.00407d90
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x407e7d
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x407ecf
push edi
push eax
call fcn.00408a50
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x407e9d
call fcn.004068f1
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x407ece
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00407d90
add esp, 0x20
test eax, eax
jne 0x407ebc
push edi
call fcn.004068f1
jmp 0x407ec4
push ebx
call fcn.004068f1
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 0x4091cd
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x414290
push 0x414288
push str.FlsAlloc
push 0x1f
call fcn.0040908c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x409201
push dword [ebp + 8]
mov ecx, esi
call dword [0x41212c]
call esi
jmp 0x409207
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40924b
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4142a0
push 0x414298
push str.FlsGetValue
push 0x21
call fcn.0040908c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x409282
push dword [ebp + 8]
mov ecx, esi
call dword [0x41212c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40928a
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4142a8
push 0x4142a0
push str.FlsSetValue
push 0x22
call fcn.0040908c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4092c4
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x41212c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x40e730
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40e75d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40e75d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x414ac0
Capabilities:
Encode data using xor

Disassembly:
jp 0x414af3
jbe 0x414afa
and eax, dword [ecx + esi*8 + 0x60bdf230]
mov cl, 0xd5
fcmovb st(0), st(6)
sbb ebp, dword [edi - 0x7af3318b]
pop eax
xchg esp, eax
xor eax, 0xf3894f2b
xor eax, 0xd14930f2
push eax
jb 0x414ad9
insd dword es:[edi], dx
adc byte [eax - 0x4e], 0xd5
pop eax
pushal
or al, 0x2a
dec edi
fsubr dword [eax + 0x4bcf4f2a]
invalid
dec edi
iretd
cmp eax, 0x2a0cb661
jns 0x414af4
aad 0xb0
xor bl, dh
aad 0xb0
xor bl, dh
aad 0xb0
xor bl, dh
aad 0xb0
iretd
Function at 0x40215c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43814c]
jne 0x402166
repz ret
jmp fcn.00402df7

Function at 0x40fcd5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43814c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00405bab
and dword [ebp - 0x14], 0
cmp dword [0x43afe4], 0
mov dword [ebp - 0x18], eax
jne 0x40fd88
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40fe30
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40fe30
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x43afe4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x43afe8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x43afec], eax
call edi
push eax
call esi
mov dword [0x43aff4], eax
test eax, eax
je 0x40fd88
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x43aff0], eax
mov eax, dword [0x43aff0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40fde1
cmp dword [0x43aff4], ecx
je 0x40fde1
push eax
call esi
push dword [0x43aff4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40fde1
test ebx, ebx
je 0x40fde1
call edi
test eax, eax
je 0x40fdd8
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40fdd8
test byte [ebp - 8], 1
jne 0x40fde1
or dword [ebp + 0x10], 0x200000
jmp 0x40fe14
mov eax, dword [0x43afe8]
cmp eax, dword [ebp - 0x18]
je 0x40fe14
push eax
call esi
test eax, eax
je 0x40fe14
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40fe14
mov eax, dword [0x43afec]
cmp eax, dword [ebp - 0x18]
je 0x40fe14
push eax
call esi
test eax, eax
je 0x40fe14
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43afe4]
call esi
test eax, eax
je 0x40fe30
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40fe32
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040215c
leave
ret
Function at 0x429090
Capabilities:
Create pipe

Disassembly:
sub esp, 0x41c
mov eax, dword [0x43814c]
xor eax, esp
mov dword [esp + 0x418], eax
mov eax, dword [esp + 0x420]
mov eax, dword [eax]
push ebx
mov ebx, dword [0x43cd7c]
push edi
mov edi, dword [0x43f1fc]
call fcn.00429000
cmp dword [0x43f1fc], 0x2f
jne 0x429124
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
call fcn.00429030
mov ecx, dword [esp + 0x420]
pop edi
pop ebx
xor ecx, esp
call fcn.0040215c
add esp, 0x41c
ret
Function at 0x429600
Capabilities:
Get disk information
Read file on windows

Disassembly:
sub esp, 0x41c
mov eax, dword [0x43814c]
xor eax, esp
mov dword [esp + 0x418], eax
mov eax, dword [0x43f1fc]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetSystemTimes]
push edi
mov ebx, 0x1519a5
mov edi, 0x8e46a7b8
lea esp, [esp]
mov dword [0x43ee64], edi
cmp eax, 0x3dc
jne 0x42964a
push 0
push 0
push 0
call esi
mov eax, dword [0x43f1fc]
dec ebx
jne 0x429630
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
xor esi, esi
jmp 0x429660
cmp eax, 0x997
jne 0x4296a7
xor eax, eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x24]
push edx
push eax
lea ecx, [esp + 0x30]
push ecx
push eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call edi
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call ebx
mov eax, dword [0x43f1fc]
cmp esi, 0x845fb3
jne 0x4296be
mov eax, dword [0x439d70]
add eax, 0xa231
mov dword [0x43f1fc], eax
cmp eax, 0x141
jne 0x4296d9
mov dword [0x43b508], 0xec58acac
mov dword [0x43b50c], 0xffffffff
inc esi
cmp esi, 0x12d131e
jl 0x429660
call fcn.00429140
mov ecx, dword [esp + 0x424]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0040215c
add esp, 0x41c
ret 0x10

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

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