joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403728
Capabilities:
Check for time delay via gettickcount
Write file on windows

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
xor ebp, ebp
push edi
mov dword [esp + 0x10], ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [0x4214bc]
mov edi, eax
sub esi, dword [0x4153ec]
add edi, 0x1f4
add esi, dword [esp + 0x1c]
cmp esi, ebp
jle 0x4038f8
push dword [0x4294c8]
call fcn.0040393a
push ebp
push ebp
push dword [0x4153ec]
push dword [0x40a5d4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [0x4294c4], esi
mov dword [0x4214b8], ebp
mov eax, dword [0x4214c0]
mov ebx, 0x4000
sub eax, dword [0x4294c8]
cmp eax, ebx
jg 0x40379b
mov ebx, eax
mov esi, 0x41d478
push ebx
push esi
call fcn.00403908
test eax, eax
je 0x4038b9
add dword [0x4294c8], ebx
mov dword [0x415408], esi
mov dword [0x41540c], ebx
cmp dword [0x44bb48], ebp
je 0x40382c
cmp dword [0x44bbe0], ebp
jne 0x40382c
cmp dword [esp + 0x10], ebp
je 0x4037f9
mov eax, dword [0x4294c4]
push ebp
sub eax, dword [0x4214bc]
sub eax, dword [esp + 0x20]
add eax, dword [0x4153ec]
mov dword [0x4214b8], eax
call fcn.004069a0
jmp 0x40382c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, edi
jbe 0x40382c
mov eax, dword [0x44bb44]
neg eax
sbb eax, eax
not eax
and eax, 0x40a794
push eax
push 0x403255
push ebp
push 0x6f
push dword [0x44bb40]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov dword [esp + 0x10], eax
mov ecx, 0x4153f0
mov dword [0x415410], 0x415478
mov dword [0x415414], 0x8000
call fcn.00406a75
test eax, eax
jl 0x403903
mov esi, dword [0x415410]
mov eax, 0x415478
sub esi, eax
je 0x403893
lea ecx, [esp + 0x14]
push ebp
push ecx
push esi
push eax
push dword [0x40a5d4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4038be
cmp esi, dword [esp + 0x14]
jne 0x4038be
add dword [0x4153ec], esi
cmp dword [0x41540c], ebp
jne 0x4037c1
jmp 0x40389f
cmp dword [0x41540c], ebp
jne 0x403903
cmp ebx, ebp
je 0x403903
mov eax, dword [0x4214bc]
mov ecx, eax
sub ecx, dword [0x4153ec]
add ecx, dword [esp + 0x1c]
test ecx, ecx
jle 0x4038c2
jmp 0x403785
or eax, 0xffffffff
jmp 0x4038fa
push 0xfffffffffffffffe
jmp 0x403905
push ebp
push ebp
push eax
push dword [0x40a5d4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, dword [esp + 0x10]
cmp esi, ebp
je 0x4038f8
mov eax, dword [0x4294c4]
push ebp
push ebp
push 0x113
push esi
mov dword [0x4214b8], eax
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret 4
push 0xfffffffffffffffd
pop eax
jmp 0x4038fa
Function at 0x405d96
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.0040607b
test byte [ebp + 0xc], 8
mov dword [ebp - 4], eax
je 0x405dca
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
inc eax
add dword [0x44bbc8], eax
jmp 0x405f93
push ebx
mov ebx, dword [ebp + 0xc]
and ebx, 1
mov dword [ebp + 8], ebx
je 0x405de8
test eax, eax
je 0x405f17
test byte [ebp + 0xc], 2
je 0x405f17
mov esi, 0x436508
push edi
push esi
call fcn.00406494
test ebx, ebx
je 0x405e05
push 0x40aa10
push esi
call fcn.004064b2
jmp 0x405e0b
push edi
call fcn.00405fe0
push 0x40a268
push edi
call fcn.004064b2
push edi
call fcn.004064a5
mov ebx, eax
lea eax, [ebp - 0x144]
push eax
push esi
add ebx, edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x405f0d
cmp byte [ebp - 0x118], 0x2e
jne 0x405e5c
cmp byte [ebp - 0x117], 0x2e
je 0x405ef0
cmp byte [ebp - 0x117], 0
je 0x405ef0
lea eax, [ebp - 0x118]
push eax
push ebx
call fcn.00406494
test byte [ebp - 0x144], 0x10
je 0x405e87
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x405ef0
push dword [ebp + 0xc]
push edi
call fcn.00405d96
jmp 0x405ef0
push edi
push 0x40a9f4
call fcn.0040691c
mov eax, dword [ebp - 0x144]
pop ecx
pop ecx
and al, 0xfe
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x405ee8
test byte [ebp + 0xc], 4
push edi
je 0x405ed4
push 0x40a9d0
call fcn.0040691c
pop ecx
pop ecx
push edi
push 0xfffffffffffffff1
call fcn.00405771
push 0
push edi
call fcn.004061dd
jmp 0x405ef0
push 0x40a9b0
call fcn.0040691c
inc dword [0x44bbc8]
pop ecx
pop ecx
jmp 0x405ef0
push edi
push 0xfffffffffffffff2
call fcn.00405771
lea eax, [ebp - 0x144]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x405e39
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x405f17
and byte [ebx - 1], 0
xor esi, esi
pop ebx
cmp dword [ebp + 8], esi
je 0x405f93
cmp dword [ebp - 4], esi
push edi
jne 0x405f39
push 0x40a984
call fcn.0040691c
inc dword [0x44bbc8]
pop ecx
pop ecx
jmp 0x405f93
call fcn.00406938
test eax, eax
je 0x405f93
push edi
call fcn.00405f99
push edi
push 0x40a964
call fcn.0040691c
pop ecx
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x405f8b
test byte [ebp + 0xc], 4
push edi
je 0x405f84
push 0x40a93c
call fcn.0040691c
pop ecx
pop ecx
push edi
push 0xfffffffffffffff1
call fcn.00405771
push esi
push edi
call fcn.004061dd
jmp 0x405f93
push 0x40a918
jmp 0x405f2a
push edi
push 0xffffffffffffffe5
call fcn.00405771
pop edi
pop esi
leave
ret 8
Function at 0x4061dd
Capabilities:
Get common file path
Get file size

Disassembly:
push ebx
push ebp
push esi
push edi
push 0x40aa40
push 0x40a8a0
call fcn.00406976
test eax, eax
mov esi, dword [esp + 0x18]
je 0x406209
push 5
push esi
push dword [esp + 0x1c]
call eax
test eax, eax
jne 0x40634d
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov dword [0x43ae90], 0x4c554e
test esi, esi
mov edi, 0x400
mov ebp, 0x43ae90
je 0x40624d
push 1
push 0
push esi
call fcn.00406165
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x406353
cmp eax, edi
jg 0x406353
mov esi, 0x43a908
push edi
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x406353
cmp eax, edi
jg 0x406353
push esi
push ebp
push 0x40aa38
push 0x43a508
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov ebp, eax
push 0x3f0
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x40aa28
push esi
call fcn.004064b2
xor edi, edi
push edi
push 0x8000080
push 4
push edi
push edi
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40634d
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push edi
lea eax, [esi + ebp + 0xa]
push eax
push edi
push 4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, edi
mov dword [esp + 0x14], eax
je 0x406335
push edi
push edi
push edi
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
je 0x406329
push 0x40aa1c
push edi
call fcn.004060f3
test eax, eax
jne 0x40635a
lea eax, [edi + esi]
push 0x40aa1c
push eax
call fcn.00406494
add esi, 0xa
mov eax, esi
push ebp
add eax, edi
push 0x43a508
push eax
call fcn.0040613f
push edi
add esi, ebp
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
push edi
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [0x44bbd0]
pop edi
pop esi
pop ebp
pop ebx
ret 8
add eax, 0xa
push 0x40aa18
push eax
call fcn.004060f3
test eax, eax
je 0x406310
inc eax
lea edx, [edi + esi]
cmp eax, edx
mov ecx, eax
jae 0x406383
mov dl, byte [ecx]
mov byte [ecx + ebp], dl
inc ecx
lea edx, [edi + esi]
cmp ecx, edx
jb 0x406376
sub eax, edi
jmp 0x406312
Function at 0x433000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x853727b
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x5055203e
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x402ce0
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x402d1d
xor eax, eax
mov al, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x402d3d
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00405048
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x402f04
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404dd0
test esi, esi
jne 0x402f3a
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404ec0
jmp 0x402f58
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402db8
mov edi, eax
test esi, esi
je 0x402f58
cmp dword [ebx], 0
je 0x402f58
dec esi
jmp 0x402f41
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x40378c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x703008], 0x8088405
inc edx
mov dword [ebx + 0x703008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x4037a8
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x703008], 0x8088405
inc edx
mov dword [ebx + 0x703008], edx
fld qword [ebx + 0x703058]
push 0
push edx
fild qword [esp]
add esp, 8
fmulp st(1)
pop ebx
ret

Function at 0x403e14
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x703010]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403eac
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403e8c
xor eax, eax
push ebp
push 0x403e85
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403ec8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403e8c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x703010]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x703010], ax
mov esp, ebp
pop ebp
ret
Function at 0x404bb0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x71604c], 0
je 0x404c11
cmp word [0x716220], 0xd7b2
jne 0x404bd9
cmp dword [0x716228], 0
jbe 0x404bd9
mov eax, 0x71621c
call dword [fcn.00716238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x703060
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404c38
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x703020], 0
jne 0x404c2d
push 0
push 0x703080
push 0x703060
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404d84
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402a9c
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x71604d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404d4c
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406c08
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406e38
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x406c8b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406e38
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x406c8b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406e54
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x406d14
xor eax, eax
push ebp
push 0x406d0d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00406a50
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x406cf2
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x406e74
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x406cf2
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406d14
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x406e2e
cmp byte [ebp - 0xd], 0
jne 0x406d5b
cmp byte [ebp - 0x12], 0
je 0x406e2e
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x406d74
dec ebx
cmp byte [ebx], 0x2e
je 0x406d83
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x406d73
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x406e2e
inc ebx
cmp byte [ebp - 0x12], 0
je 0x406dc0
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x406e2e
cmp byte [ebp - 0xd], 0
je 0x406e2e
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x406e2e
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40b664
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004052ac
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40b67d
test al, 0x10
jne 0x40b681
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40b76c
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.004052ac
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x40b78e
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x40f01c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40f055
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404ec0
jmp 0x40f05e
mov eax, ebx
mov edx, esi
call fcn.00404e24
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40f068
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40f089
mov al, byte [esp]
jmp 0x40f08b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x410640
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x4106a4
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00405048
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040b438
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4106ab
lea eax, [ebp - 0xc]
call fcn.00404dd0
ret

Function at 0x4270f0
Capabilities:
Suspend thread

Disassembly:
push ebx
mov ebx, eax
mov byte [ebx + 0xe], 1
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, ebx
call fcn.00426f48
pop ebx
ret

Function at 0x427110
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00426f48
dec esi
jne 0x427132
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x428270
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x718c48
cmp dword [edi], 0
jne 0x4282ec
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x718c44]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x703da4
mov ecx, 2
call fcn.00402d78
mov edx, 0x428248
lea eax, [esi + 5]
call fcn.00428268
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00428268
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x4282c1
mov dword [0x718c44], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x429870
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x429876
ret

Function at 0x42bfd8
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x42c029
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42c010
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42c000
jmp 0x42c029
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x42c011
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x445750
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.0040529c
xor eax, eax
push ebp
push 0x44587e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x445851
xor eax, eax
push ebp
push 0x44584a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004050b4
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x44581f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x44580e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004050b4
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004052ac
mov edx, ebx
pop ecx
call fcn.00402d78
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445815
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x7154e4]
mov dl, 1
mov eax, dword [0x409fd8]
call fcn.0040f8e4
call fcn.00404770
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445885
lea eax, [ebp - 4]
call fcn.00404dd0
ret
Function at 0x44588c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x445a3d
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.0040549c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x445a54
call fcn.00405100
mov eax, ebx
call fcn.004277fc
mov edi, eax
dec edi
test edi, edi
jl 0x445944
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.004277d0
mov edx, dword [0x438f88]
call fcn.00404130
test al, al
je 0x445940
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.004277d0
lea edx, [ebp - 0x14]
call fcn.0044e75c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.0040549c
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405174
inc esi
dec edi
jne 0x4458f2
mov al, byte [0x445a58]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x445a64
mov eax, dword [ebp - 0xc]
call fcn.00410c18
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404e68
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0044e75c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x445a54
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f0]
call fcn.0044e75c
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x445a54
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x445a54
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x445a70
call fcn.0040c2b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445a44
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404df4
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404df4
lea eax, [ebp - 0x14]
call fcn.00404dd0
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404df4
ret