joyce8/EMBER2024-capa huggingface dataset:
Function at 0x474c58
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], edx
mov ebx, eax
mov dword [ebx + 8], 0x12345678
mov dword [ebx + 0xc], 0x23456789
mov dword [ebx + 0x10], 0x34567890
mov eax, dword [esp]
call fcn.004048ec
mov esi, eax
test esi, esi
jle 0x474cc6
mov edi, 1
mov eax, dword [esp]
mov al, byte [eax + edi - 1]
mov edx, dword [ebx + 8]
call fcn.0046d794
mov ebp, eax
mov dword [ebx + 8], ebp
and ebp, 0xff
add dword [ebx + 0xc], ebp
imul ebp, dword [ebx + 0xc], 0x8088405
inc ebp
mov dword [ebx + 0xc], ebp
mov eax, ebp
shr eax, 0x18
mov edx, dword [ebx + 0x10]
call fcn.0046d794
mov dword [ebx + 0x10], eax
inc edi
dec esi
jne 0x474c8a
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x476b28
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov edi, ecx
dec edi
test edi, edi
jl 0x476b9e
inc edi
mov esi, edx
mov ax, word [ebx + 0xc]
or ax, 2
movzx edx, ax
xor ax, 1
movzx eax, ax
imul edx, eax
shr edx, 8
xor byte [esi], dl
mov edx, dword [ebx + 4]
mov al, byte [esi]
call fcn.0046d794
mov ebp, eax
mov dword [ebx + 4], ebp
and ebp, 0xff
add dword [ebx + 8], ebp
imul eax, dword [ebx + 8], 0x8088405
inc eax
mov dword [ebx + 8], eax
shr eax, 0x18
xor al, byte [ebx + 0xc]
and eax, 0xff
mov edx, dword [0x4b3db4]
mov eax, dword [edx + eax*4]
mov edx, dword [ebx + 0xc]
shr edx, 8
and edx, 0xffffff
xor eax, edx
mov dword [ebx + 0xc], eax
inc esi
dec edi
jne 0x476b38
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x476c30
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov edi, eax
mov eax, dword [edi + 0x38]
call fcn.00420554
mov dword [esp + 4], eax
xor ebx, ebx
mov byte [esp], 0
jmp 0x476cc7
mov eax, edi
call fcn.00476bec
xor ecx, ecx
mov edx, dword [esp + 4]
mov eax, dword [edi + 0x38]
mov ebx, dword [eax]
call dword [ebx + 0x10]
lea edx, [edi + 0x10]
mov ecx, 0xc
mov eax, dword [edi + 0x38]
mov ebx, dword [eax]
call dword [ebx + 8]
xor esi, esi
mov eax, edi
call fcn.00476ba4
xor byte [edi + esi + 0x10], al
lea edx, [edi + 4]
mov al, byte [edi + esi + 0x10]
call fcn.00476cf4
inc esi
cmp esi, 0xc
jne 0x476c73
cmp byte [edi + 0x20], 0
je 0x476ca1
mov al, byte [edi + 0x1b]
cmp al, byte [edi + 0x1f]
sete bl
jmp 0x476cb7
mov al, byte [edi + 0x1b]
cmp al, byte [edi + 0x1f]
jne 0x476cb1
mov al, byte [edi + 0x1a]
cmp al, byte [edi + 0x1e]
je 0x476cb5
xor ebx, ebx
jmp 0x476cb7
mov bl, 1
test bl, bl
jne 0x476cc4
lea edx, [edi + 0x30]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
inc byte [esp]
test bl, bl
jne 0x476cd7
mov al, byte [esp]
cmp al, byte [edi + 0x34]
jb 0x476c4c
test bl, bl
jne 0x476cec
mov dl, 1
mov eax, dword [0x46aaa0]
call fcn.0046b68c
call fcn.00403fec
mov eax, ebx
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x476cf4
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov ebx, eax
mov edx, dword [edi]
mov eax, ebx
call fcn.0046d794
mov esi, eax
mov dword [edi], esi
and esi, 0xff
add dword [edi + 4], esi
imul esi, dword [edi + 4], 0x8088405
inc esi
mov dword [edi + 4], esi
mov eax, esi
shr eax, 0x18
mov edx, dword [edi + 8]
call fcn.0046d794
mov dword [edi + 8], eax
pop edi
pop esi
pop ebx
ret

Function at 0x478d50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor edi, edi
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x10]
test al, al
je 0x478d8b
lea eax, [ebx + 4]
push eax
mov eax, dword [ebp + 8]
push eax
push 1
mov ecx, dword [ebx + 0xb8]
mov dl, 1
mov eax, dword [0x4769f8]
call fcn.00476a68
mov edi, eax
test edi, edi
je 0x478db8
mov eax, dword [ebx + 0xf0]
mov dword [edi + 0x28], eax
mov eax, dword [ebx + 0xf4]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x30]
mov edx, dword [ebx + 0xb8]
call fcn.00404688
mov al, byte [ebx + 0xbc]
mov byte [edi + 0x34], al
mov eax, dword [ebp - 4]
push eax
push edi
lea ecx, [ebx + 4]
mov dl, 1
mov eax, dword [0x4775ac]
call fcn.00477640
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x478ea2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00472500
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x20], al
mov eax, esi
mov edx, dword [eax]
call dword [edx]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x14], eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x1c]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xc], eax
mov eax, esi
call fcn.004724ec
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x18], al
mov eax, esi
call fcn.004725d8
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x21], al
mov eax, dword [ebp - 0xc]
mov edx, dword [ebx + 0x90]
mov dword [eax + 0x28], edx
mov edx, dword [ebx + 0x94]
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 0xc]
mov edx, dword [ebx + 0x100]
mov dword [eax + 0x30], edx
mov edx, dword [ebx + 0x104]
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x40], ebx
cmp byte [ebx + 0x44], 0
je 0x478e81
mov eax, dword [ebp - 0xc]
add eax, 0x3c
mov edx, dword [ebx + 0xc]
call fcn.00404688
mov ax, word [ebx + 0xaa]
mov edx, dword [ebp - 0xc]
mov word [edx + 0x44], ax
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x39], 1
mov ax, word [ebx + 0x3c]
mov edx, dword [ebp - 0xc]
mov word [edx + 0x46], ax
mov eax, dword [ebp - 0xc]
call fcn.00477718
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478ea9
mov eax, dword [ebp - 0xc]
call fcn.00403820
ret
Function at 0x47def8
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ad4
xor eax, eax
push ebp
push 0x47dfd2
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 8]
push eax
push esi
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.0041ae04
test al, al
je 0x47dfaf
mov eax, 0x104
call fcn.00409b88
mov esi, eax
push esi
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
push 0
call sub.kernel32.dll_SetLastError
push 0
lea eax, [ebp - 0x10]
mov edx, esi
call fcn.00404824
push dword [ebp - 0x10]
push 0x47dfec
push dword [ebp - 4]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004049ac
mov eax, dword [ebp - 0xc]
call fcn.00404ae4
push eax
call sub.kernel32.dll_CreateDirectoryA_1
call sub.kernel32.dll_GetLastError_1
test eax, eax
je 0x47df9e
call sub.kernel32.dll_GetLastError_1
cmp eax, 0xb7
jne 0x47dfa0
mov bl, 1
mov eax, dword [ebp - 8]
call fcn.0047dea4
mov eax, esi
call fcn.00409bd4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47dfd9
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404658
lea eax, [ebp - 4]
call fcn.00404634
ret
Function at 0x48194c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x48197a
mov eax, ebx
call fcn.00482404
cmp dword [ebx + 0x3c], 0
je 0x481973
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x4819eb
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x4819dd
cmp dword [ebx + 8], 0
je 0x48199c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x4819ae
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4819dd
cmp dword [ebx + 8], 0
je 0x48198f
cmp eax, 3
je 0x4819c1
dec eax
jne 0x48198f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x48198f
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x48198f
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x481a09
cmp dword [ebx + 0x10], 0xcc
je 0x481a09
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00481a14
pop ebx
ret
Function at 0x49b1d8
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x49b1e0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x49b37c
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 8]
mov edx, 0x49b394
mov eax, esi
call fcn.00498f78
mov edx, dword [ebp - 8]
lea eax, [ebx + 0xc]
call fcn.00404688
lea ecx, [ebp - 0xc]
mov edx, 0x49b3a8
mov eax, esi
call fcn.00498f78
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0x28]
call fcn.00404688
lea ecx, [ebp - 0x10]
mov edx, 0x49b3c0
mov eax, esi
call fcn.00498f78
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x10]
call fcn.00404688
lea ecx, [ebp - 0x14]
mov edx, 0x49b3dc
mov eax, esi
call fcn.00498f78
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x14]
call fcn.00404688
lea ecx, [ebp - 0x18]
mov edx, 0x49b3f8
mov eax, esi
call fcn.00498f78
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x24]
call fcn.00404688
lea ecx, [ebp - 0x20]
mov edx, 0x49b410
mov eax, esi
call fcn.00498f78
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.00408c00
mov eax, dword [ebp - 0x1c]
or edx, 0xffffffff
call fcn.00408ef8
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x24]
mov edx, 0x49b428
mov eax, esi
call fcn.00498f78
mov eax, dword [ebp - 0x24]
call fcn.0049807c
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x28]
mov edx, 0x49b438
mov eax, esi
call fcn.00498f78
mov eax, dword [ebp - 0x28]
call fcn.0049807c
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 4]
mov edx, 0x49b450
mov eax, esi
call fcn.00498f78
mov eax, dword [ebp - 4]
call fcn.00497c30
test al, al
je 0x49b333
mov eax, dword [ebp - 4]
call fcn.00408ebc
mov edi, eax
test edi, edi
jl 0x49b329
call fcn.0040ad64
mov dword [ebp - 0x2c], edi
fild dword [ebp - 0x2c]
fdiv dword [0x49b458]
faddp st(1)
fstp qword [ebx + 0x38]
wait
jmp 0x49b33f
xor eax, eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], eax
jmp 0x49b33f
mov eax, dword [ebp - 4]
call fcn.0049807c
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x49b464
mov eax, esi
call fcn.00498f78
mov edx, dword [ebp - 0x30]
lea eax, [ebx + 0x48]
call fcn.00404688
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b383
lea eax, [ebp - 0x30]
call fcn.00404634
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.00404658
ret

Function at 0x4a7d7c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4a7dd6
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004a7d6c
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00496b30
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00496730
mov edx, dword [esi + 0xc]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a7ddd
lea eax, [ebp - 4]
call fcn.00404634
ret
Function at 0x4aba4c
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.00403118
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret

Function at 0x4ad82c
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x134], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404ad4
mov eax, dword [ebp - 8]
call fcn.00404ad4
xor eax, eax
push ebp
push 0x4ad991
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor edx, edx
mov eax, 2
call fcn.004924dc
mov edi, eax
test edi, edi
je 0x4ad960
mov dword [ebp - 0x130], 0x128
lea edx, [ebp - 0x130]
mov eax, edi
call fcn.004924fc
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x4ad952
lea eax, [ebp - 0x134]
lea edx, [ebp - 0x10c]
mov ecx, 0x104
call fcn.0040489c
mov eax, dword [ebp - 0x134]
mov edx, dword [ebp - 4]
call fcn.00408a78
test eax, eax
jne 0x4ad93f
mov eax, dword [ebp - 0x128]
push eax
push 0
push 0x100001
call sub.kernel32.dll_OpenProcess
test eax, eax
je 0x4ad93f
cmp dword [ebp - 8], 0
je 0x4ad921
push 0x24
lea edx, [ebp - 0x138]
mov eax, esi
call fcn.0043f66c
mov eax, dword [ebp - 0x138]
call fcn.00404ae4
push eax
mov eax, dword [ebp - 8]
call fcn.00404ae4
push eax
mov eax, esi
call fcn.00445cf0
push eax
call sub.user32.dll_MessageBoxA_1
cmp eax, 7
je 0x4ad960
mov eax, dword [ebp - 0x128]
test eax, eax
jns 0x4ad930
call fcn.00403758
push eax
push 0x4ad7e8
call sub.user32.dll_EnumWindows
mov bl, 1
jmp 0x4ad960
lea edx, [ebp - 0x130]
mov eax, edi
call fcn.0049251c
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4ad8a6
push edi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ad998
lea eax, [ebp - 0x138]
call fcn.00404634
lea eax, [ebp - 0x134]
call fcn.00404634
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404658
ret
Function at 0x4ae40c
Capabilities:
Create process on windows
Persist via run registry key
Schedule task via at
Schedule task via schtasks

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404ad4
xor eax, eax
push ebp
push 0x4ae58f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x414]
mov edx, dword [eax]
call dword [edx + 0xc4]
test al, al
jne 0x4ae45c
mov eax, dword [ebx + 0x3f8]
mov edx, dword [eax]
call dword [edx + 0xc4]
test al, al
je 0x4ae56c
xor edx, edx
push ebp
push 0x4ae556
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x4b4028]
cmp dword [eax], 6
jge 0x4ae50e
xor eax, eax
push ebp
push 0x4ae507
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x2001f
mov dl, 1
mov eax, dword [0x460918]
call fcn.00460a5c
mov dword [ebp - 8], eax
mov edx, 0x80000001
mov eax, dword [ebp - 8]
call fcn.00460af4
mov cl, 1
mov edx, 0x4ae5a8
mov eax, dword [ebp - 8]
call fcn.00460b58
lea edx, [ebp - 0xc]
mov eax, 0x4ae404
call fcn.004069ac
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
mov ecx, 0x4ae5e0
mov edx, dword [ebp - 4]
call fcn.00404938
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
pop edx
call fcn.00460cf4
mov eax, dword [ebp - 8]
call fcn.00460ac4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ae54c
cmp dword [ebp - 8], 0
je 0x4ae506
mov eax, dword [ebp - 8]
call fcn.00403820
ret
push 0
push 0
push 0x4ae5ec
push dword [ebp - 4]
push 0x4ae618
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004049ac
mov eax, dword [ebp - 0x14]
call fcn.00404ae4
push eax
push 0x4ae63c
push 0x4ae64c
mov eax, ebx
call fcn.00445cf0
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ae56c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ae596
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404658
lea eax, [ebp - 4]
call fcn.00404634
ret
Function at 0x4af6d4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404ad4
mov eax, dword [ebp - 8]
call fcn.00404ad4
xor eax, eax
push ebp
push 0x4af79b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4af776
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x48], 0x3c
mov dword [ebp - 0x44], 0x40
mov eax, ebx
call fcn.00445cf0
mov dword [ebp - 0x40], eax
mov eax, 0x4af7ac
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 4]
call fcn.00404ae4
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 8]
call fcn.00404ae4
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 1
lea eax, [ebp - 0x48]
push eax
call sub.shell32.dll_ShellExecuteExA
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
push 0x3e8
call sub.kernel32.dll_Sleep_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4af780
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4af7a2
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404658
ret

Function at 0x4afeb8
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, eax
cmp byte [ebx + 0x468], 0
je 0x4afeeb
mov byte [ebx + 0x468], 0
push 1
push 0
push 0x4afef0
push 0x4aff08
push 0x4aff14
mov eax, ebx
call fcn.00445cf0
push eax
call sub.shell32.dll_ShellExecuteA
pop ebx
ret
Function at 0x4c61e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7e000]
push edi
or ebp, 0xffffffff
jmp 0x4c6202
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4c6209
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c61f8
mov eax, 1
add ebx, ebx
jne 0x4c621b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4c6210
jne 0x4c622c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4c6210
xor ecx, ecx
sub eax, 3
jb 0x4c6240
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4c62b2
mov ebp, eax
add ebx, ebx
jne 0x4c624b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4c6258
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4c627c
inc ecx
add ebx, ebx
jne 0x4c6268
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4c625d
jne 0x4c6279
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4c625d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4c629c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4c628d
jmp 0x4c61fe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4c629c
add edi, ecx
jmp 0x4c61fe
pop esi
mov edi, esi
mov ecx, 0x37
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4c62ba
cmp byte [edi], 0x16
jne 0x4c62ba
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 0x4c62bf
lea edi, [esi + 0xc0000]
mov eax, dword [edi]
or eax, eax
je 0x4c632e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc70f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc7180]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4c62ec
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xc7188]
or eax, eax
je 0x4c6328
mov dword [ebx], eax
add ebx, 4
jmp 0x4c6309
call dword [esi + 0xc7184]
mov ebp, dword [esi + 0xc718c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x4c6362
sub esp, 0xffffff80
jmp 0x418598
Function at 0x401320
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x874
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x79c], 4
mov dword [ebp - 0x784], 0x80000000
mov dword [ebp - 0x798], 0x20019
mov eax, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x72c], eax
pushal
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x790], 0x12d
mov dword [ebp - 0x28], 0x12
mov dword [ebp - 0x7f4], str.FFFTWAREFFasses
mov dword [ebp - 0x7a4], str.yysid0afaced1_e828_11d1_9187_b532f1e9575dinprocserver32
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x790], 0x12c
mov dword [ebp - 0x28], 0x11
mov dword [ebp - 0x854], 2
mov dword [ebp - 0x850], 3
mov dword [ebp - 0x84c], 0
mov dword [ebp - 0x848], 0
mov dword [ebp - 0x844], 0
mov dword [ebp - 0x840], 0
mov dword [ebp - 0x834], 0
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x82c], str.asdf
lea ecx, [ebp - 0x824]
push ecx
call dword [sym.imp.USER32.dll_RegisterClassExW]
lea edx, [ebp - 0x854]
push edx
call dword [sym.imp.USER32.dll_RegisterClassExA]
lea eax, [ebp - 0x854]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
lea ecx, [ebp - 0x854]
push ecx
call dword [sym.imp.USER32.dll_RegisterClassExA]
lea edx, [ebp - 0x854]
push edx
call dword [sym.imp.USER32.dll_RegisterClassExA]
lea eax, [ebp - 0x854]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
mov ecx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov dword [0x4380c8], ecx
mov edx, dword [ebp - 0x7f4]
mov byte [edx], 0x53
mov eax, dword [ebp - 0x7f4]
mov byte [eax + 1], 0x4f
mov ecx, dword [ebp - 0x7f4]
mov byte [ecx + 2], 0x46
mov edx, dword [ebp - 0x7f4]
mov byte [edx + 9], 0x43
mov eax, dword [ebp - 0x7f4]
mov byte [eax + 0xa], 0x6c
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x7f4]
push edx
push 0x80000002
call dword [0x4380c8]
test eax, eax
je 0x4014c3
xor eax, eax
jmp 0x401765
mov eax, dword [ebp - 0x7a4]
mov byte [eax], 0x63
mov ecx, dword [ebp - 0x7a4]
mov byte [ecx + 1], 0x6c
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x7a4]
push eax
push 0x80000000
call dword [0x4380c8]
test eax, eax
je 0x4014f7
xor eax, eax
jmp 0x401765
push 1
mov ecx, dword [0x4380c4]
push ecx
jmp 0x45b00a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10054f50
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov esi, dword [ebp + 0xc]
neg eax
sbb eax, eax
xor ecx, ecx
and eax, dword [ebp - 4]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.10054f2c
pop esi
leave
ret 8

Function at 0x100593ee
Capabilities:
Parse pe header

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

Function at 0x1005b840
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1005b86d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1005b86d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x1005c6e3
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10068c40
push 0x10068c38
push str.FlsAlloc
push 0x1f
call fcn.1005c9c6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1005c717
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
jmp 0x1005c71d
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1005c761
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10068c50
push 0x10068c48
push str.FlsGetValue
push 0x21
call fcn.1005c9c6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1005c798
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1005c7a0
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10068c58
push 0x10068c50
push str.FlsSetValue
push 0x22
call fcn.1005c9c6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1005c7da
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]