joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44c58c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44c737
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44c718
mov dl, 1
mov eax, dword [0x414614]
call fcn.00403b18
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040489c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44c707
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0043a1b0
test al, al
je 0x44c6fa
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x44c748
lea eax, [ebp - 0x254]
call fcn.0040be74
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44c6fa
xor eax, eax
push ebp
push 0x44c6f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x44c780
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44c6dc
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404b14
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x44c6dc
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404b14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c6fa
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44c5fd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041875c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c73e
lea eax, [ebp - 0x260]
call fcn.0040489c
ret

Function at 0x44d06c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x461c10]
cmp byte [eax + 0xa5], 0
jne 0x44d0dd
cmp dword [0x461c28], 0
jne 0x44d09e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44d028
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x461c28], eax
cmp dword [0x461c24], 0
jne 0x44d0b9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x461c24], eax
cmp dword [0x461c2c], 0
jne 0x44d0dd
push esp
push 0
push 0
push 0x44cfcc
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x461c2c], eax
pop edx
ret
Function at 0x44d1d4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44d1eb
add esp, 0xfffffff0
call fcn.00403e94
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e0c4
mov eax, dword [0x460884]
cmp word [eax + 2], 0
jne 0x44d213
mov eax, dword [0x460884]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044e684
mov eax, dword [0x460914]
cmp word [eax + 2], 0
jne 0x44d22d
mov eax, dword [0x460914]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044e87c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x414124]
call fcn.00403b18
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x414124]
call fcn.00403b18
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0x80000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x420204]
call fcn.00425e10
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44d3b4
mov eax, dword [0x4607c4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004261e0
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44edec
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4607c4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d6f4
test eax, eax
je 0x44d322
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040b7d0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d71c
test eax, eax
je 0x44d336
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404b14
mov eax, dword [0x4606d0]
cmp byte [eax], 0
jne 0x44d36a
mov eax, ebx
call fcn.0044d4dc
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0044efc8
mov eax, ebx
call fcn.0044f908
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44d3aa
call fcn.00403eec
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44d750
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x461c10]
cmp dword [eax + 0x30], 0
je 0x44d7fa
cmp dword [ebx + 0x94], 0
jne 0x44d7f4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44d6e0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44d7f4
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44d7ba
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44d7f4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004167c4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44d7c9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44e2d8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44e30d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040498c
jmp 0x44e31a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004048f0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44f1a4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44f1e5
mov eax, esi
call fcn.00435a74
test al, al
je 0x44f1e5
mov eax, dword [ebx + 0x84]
call fcn.00435770
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44f1e5
push 0
mov eax, dword [ebx + 0x84]
call fcn.00435770
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x456518
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
or eax, 0xf84d8957
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call 0xf1404d4c
xor eax, eax
push ebp
push 0x4565e4
push dword fs:[eax]
mov dword fs:[eax], esp
lea ebx, [ebp - 0xc]
mov dword [ebx], esi
nop
xchg byte [ebx + 0x16e8fc45], cl
out 0xfa, al
dec dword [ebx - 0x763fcc08]
inc ebp
invalid
Function at 0x459214
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x18
push 0
xor dword [eax], eax
dec ecx
jne 0x45921d
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [edx - 4], ecx
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00404d4c
mov eax, dword [ebp - 8]
call fcn.00404d4c
and eax, 0x136855c0
xchg esi, eax
inc ebp
add byte [edi + edi*8 + 0x30], ah
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 4]
mov bh, 5
mov ecx, 0xd88bfffa
sar ebx, 1
jns 0x459268
adc ebx, 0
mov eax, dword [ebp - 4]
call 0xa5404b64
cmp eax, 0x96
jle 0x459289
mov eax, 0x32
call 0xf1403080
mov ebx, eax
add ebx, 0x96
lea eax, [ebp - 0x80]
call fcn.00455194
mov eax, dword [ebp - 0x80]
lea eax, [ebx - 0x10]
call fcn.00454dc0
lea edx, [ebp - 0x84]
mov eax, dword [0x4603ac]
call 0xffe66108
mov ecx, dword [ebp - 0x84]
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x10]
call fcn.00404bb0
lea eax, [ebp - 0xdd]
call fcn.00455ed0
mov eax, dword [ebp - 0x88]
lea edx, [ebp - 0x1d]
call fcn.00454dc0
lea eax, [ebp - 0x28]
mov ecx, 0x459634
mov edx, dword [ebp - 0x14]
call 0xea404bb0
push dword [ebp - 0x28]
mov eax, 0x7fffffff
call fcn.00403080
lea edx, [ebp - 0x8c]
call fcn.00456c0f
push dword [ebp - 0x8c]
mov eax, dword [0x46076c]
mov eax, dword [eax]
call eax
mov ecx, 0x58e8
xor edx, edx
div ecx
mov eax, edx
lea edx, [ebp - 0x90]
call fcn.0045694c
push dword [ebp - 0x90]
lea eax, [ebp - 0x28]
mov edx, 3
call 0xea404c24
lea edx, [ebp - 0x94]
mov eax, 0x459640
call fcn.00456108
mov ecx, dword [ebp - 0x5f0094]
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x28]
call fcn.00404bb0
lea edx, [ebp - 0x98]
mov eax, 0x45cd50
call fcn.00456108
mov ecx, dword [ebp - 0x98]
lea eax, [ebp - 0x24]
test byte [ebp - 0x28], dl
call fcn.00404bb0
lea eax, [ebp - 0x9c]
push eax
mov ecx, ebx
mov edx, 0x16000001
mov eax, dword [ebp - 4]
call fcn.00404dbc
mov eax, dword [ebp - 0x9c]
push eax
lea eax, [ebp - 0x5f0000a0]
mov edx, dword [ebp - 0x20]
call fcn.00405148
mov edx, dword [ebp - 0xa0]
pop eax
call fcn.00455504
salc
test dword [edi + edi*8 - 1], ebx
call dword [eax - 0x73]
push ebx
add dword [ecx + 0x7fffffff], edi
mov eax, dword [ebp - 0xd]
call fcn.00404dbc
mov eax, dword [ebp - 0xa4]
push eax
lea eax, [ebp - 0xa8]
mov edx, dword [ebp - 0x36]
call fcn.00405148
mov edx, dword [ebp - 0xa8]
pop eax
call fcn.00455504
lea edx, [ebp - 0x1c]
out 0x64, eax
xchg esi, eax
inc ebp
add al, ch
adc al, 0xcd
invalid
Function at 0x45b3d4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 7
push 0
xor dword [eax], eax
dec ecx
jne 0x45b3dd
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
test byte [ebp - 4], al
call fcn.00404d4c
mov eax, dword [ebp - 8]
call fcn.00404d4c
mov esi, 0x461c78
and eax, 0xc76855c0
mov ch, 0x45
add byte [edi + edi*8 + 0x30], ah
mov dword fs:[eax], esp
mov dword [esi], 0x12c
lea ecx, [edx]
fsub qword [ecx + 0x460354]
call fcn.00456108
push dword [ebp - 0x24]
push dword [ebp - 4]
push 0x1eb5dc
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404c24
cmp dword [ebp - 9], 0
je 0x45b469
lea edx, [ebp - 0x28]
mov eax, dword [0x460354]
call fcn.00456108
push dword [ebp - 0x28]
jmp dword [ebx - 8]
mov ecx, 0x4620db
mov edx, 0x462080
mov eax, dword [ebp - 4]
call fcn.0045b700
cmp dword [esi], 0x5b012c
je 0x45b48d
call fcn.0045b1fc
jmp 0x45b59f
push 0x4ab5e8
mov eax, dword [0x46076c]
mov eax, dword [eax]
call eax
mov ecx, 0x3e8
xor edx, edx
div ecx
mov edx, esp
lea edx, [ebp - 0x2c]
call fcn.00456c4c
push dword [ebp - 0x2c]
lea edx, [ebp - 0x30]
mov eax, dword [0x460364]
call fcn.004560d3
push dword [ebp - 0x30]
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404c24
lea ebx, [esi]
invalid
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1ab5ce
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00404fe0
lea eax, [ebp - 0x34]
mov edx, 0x5b000d
call fcn.004048c0
ret
Function at 0x403fac
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00405b08
test esi, esi
jne 0x403fe2
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00405c44
jmp 0x404000
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00403e90
mov edi, eax
test esi, esi
je 0x404000
cmp dword [ebx], 0
je 0x404000
dec esi
jmp 0x403fe9
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

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

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

Function at 0x405888
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x43104c], 0
je 0x4058ef
cmp word [0x431338], 0xd7b2
jne 0x4058b1
cmp dword [0x431340], 0
jbe 0x4058b1
mov eax, 0x431334
call dword [0x431350]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
mov eax, 0x40591c
call fcn.00405fec
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x42c026], 0
jne 0x40590b
push 0
push 0x42c9a2
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4070b0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x407215
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405b08
cmp si, word [0x42c9e0]
jb 0x407148
cmp si, word [0x42cbe0]
ja 0x407148
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x407148
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x42c9e0]
jae 0x407122
mov edi, ebx
dec edi
jmp 0x407143
cmp si, word [ebx*8 + 0x42c9e0]
jbe 0x407132
inc ebx
mov dword [ebp - 8], ebx
jmp 0x407143
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x42c9e4]
call fcn.00406fd0
jmp 0x407148
cmp edi, dword [ebp - 8]
jae 0x40710c
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x4071f7
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x4071f7
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00406128
push dword [ebp - 0x160]
push 0x407230
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.00406128
push dword [ebp - 0x164]
push 0x407240
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00406128
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.004062e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40721c
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00405b68
ret
Function at 0x4073c8
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4074cb
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x433b7c
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x433b94]
jne 0x407414
mov eax, esi
mov edx, 0x433b96
mov ecx, 0x55
call fcn.00406128
push 0x433b7c
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x4074b5
push 0x433b7c
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00405b08
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x407483
cmp byte [0x433b78], 0
je 0x407448
mov edx, esi
mov eax, ebx
call fcn.004072ac
jmp 0x407483
mov edx, esi
mov eax, ebx
call fcn.004070b0
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x407483
cmp dword [esi], 0
je 0x40746c
mov eax, esi
mov edx, 0x4074e4
call fcn.00406200
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.004070b0
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00406200
push 0x433b7c
call sub.kernel32.dll_EnterCriticalSection
mov word [0x433b94], bx
push 0xaa
mov eax, dword [esi]
call fcn.00406094
push eax
push 0x433b96
call sub.kernel32.dll_lstrcpynW
push 0x433b7c
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4074d2
lea eax, [ebp - 4]
call fcn.00405b08
ret
Function at 0x4169fc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x416a35
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00405c44
jmp 0x416a3e
mov eax, ebx
mov edx, esi
call fcn.00405dc0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x416a48
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x416a6a
movzx eax, word [esp]
jmp 0x416a6c
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x417744
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x417869
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0041754c
mov esi, eax
mov eax, dword [0x430428]
cmp byte [eax], 0
je 0x417811
mov eax, dword [0x430348]
call fcn.0040450c
call fcn.00403d40
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x417714]
call fcn.00406b4c
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x417884
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x41784d
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x430324]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x433c44]
call fcn.00406c04
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x417870
lea eax, [ebp - 4]
mov edx, dword [0x417714]
call fcn.00406b58
ret
Function at 0x418848
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00405ebc
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00408244
mov edi, eax
cmp edi, 0x104
jbe 0x4187ef
mov eax, edi
add eax, eax
call fcn.00403bec
mov esi, eax
jmp 0x4187f1
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00408244
mov eax, esi
push eax
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x41882c
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x418816
mov eax, esp
cmp esi, eax
je 0x418839
mov eax, esi
call fcn.00403c08
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x418874
cmp bl, 0
je 0x418870
cmp bl, 0x41
jl 0x41886b
cmp bl, 0x5a
jg 0x41886b
or bl, 0x20
xor al, bl
inc esi
jmp 0x41884f
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x4187b0

Function at 0x418a94
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.00406128
add esp, 0x800
pop ebx
ret

Function at 0x41bfa4
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, 0x42e21c
test edx, edx
jne 0x41bfc3
xor eax, eax
jmp 0x41c0e1
mov dword [ebp - 4], 1
cmp byte [ebp - 4], 0
je 0x41bfe0
push esi
push edx
push eax
call fcn.0041c0e8
add esp, 0xc
jmp 0x41c0e1
push esi
push edx
push eax
call fcn.0041c3a8
add esp, 0xc
jmp 0x41c0e1
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4281e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x20c], edx
mov edi, eax
xor eax, eax
push ebp
push 0x428266
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x208]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathW
mov ebx, eax
mov eax, edi
call fcn.00405b08
mov esi, ebx
dec esi
test esi, esi
jl 0x42824d
inc esi
lea ebx, [ebp - 0x208]
lea eax, [ebp - 0x20c]
movzx edx, word [ebx]
call fcn.004060ac
mov edx, dword [ebp - 0x20c]
mov eax, edi
call fcn.00406200
add ebx, 2
dec esi
jne 0x42822c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42826d
lea eax, [ebp - 0x20c]
call fcn.00405b08
ret

Function at 0x428450
Capabilities:
Create process on windows
Create process suspended
Self delete

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcb8
xor eax, eax
mov dword [ebp - 0x344], eax
mov dword [ebp - 0x348], eax
mov dword [ebp - 0x33c], eax
mov dword [ebp - 0x340], eax
mov dword [ebp - 0x338], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x428637
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x338]
call fcn.004281e0
mov edx, dword [ebp - 0x338]
lea eax, [ebp - 4]
mov ecx, 0x428650
call fcn.00406258
xor ecx, ecx
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x2e0]
call fcn.00404424
call fcn.00403d40
lea eax, [ebp - 0x2e0]
call fcn.004040e4
call fcn.00403d40
mov edx, 0x428678
lea eax, [ebp - 0x2e0]
call fcn.00404ad8
call fcn.00404bd8
call fcn.00403d40
push 0x428690
lea edx, [ebp - 0x340]
xor eax, eax
call fcn.00403fac
push dword [ebp - 0x340]
push 0x4286a8
lea eax, [ebp - 0x33c]
mov edx, 3
call fcn.004062e0
mov edx, dword [ebp - 0x33c]
lea eax, [ebp - 0x2e0]
call fcn.00404ad8
call fcn.00404bd8
call fcn.00403d40
push 0x4286b8
lea edx, [ebp - 0x348]
xor eax, eax
call fcn.00403fac
push dword [ebp - 0x348]
push 0x4286a8
push 0x4286dc
lea eax, [ebp - 0x344]
mov edx, 4
call fcn.004062e0
mov edx, dword [ebp - 0x344]
lea eax, [ebp - 0x2e0]
call fcn.00404ad8
call fcn.00404bd8
call fcn.00403d40
mov edx, 0x4286fc
lea eax, [ebp - 0x2e0]
call fcn.00404ad8
call fcn.00404bd8
call fcn.00403d40
lea eax, [ebp - 0x2e0]
call fcn.00404524
call fcn.00403d40
lea eax, [ebp - 0x334]
xor ecx, ecx
mov edx, 0x44
call fcn.0040457c
mov dword [ebp - 0x308], 1
mov word [ebp - 0x304], 0
lea eax, [ebp - 0x2f0]
push eax
lea eax, [ebp - 0x334]
push eax
push 0
push 0
push 0x40
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00406094
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x428611
mov eax, dword [ebp - 0x2ec]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x2f0]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42863e
lea eax, [ebp - 0x348]
mov edx, 5
call fcn.00405b68
lea eax, [ebp - 4]
call fcn.00405b08
ret
Function at 0x42870c
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
push 1
push 0x428738
mov eax, esi
call fcn.00406094
push eax
mov eax, ebx
call fcn.00406094
push eax
push 0x42873c
push 0
call sub.shell32.dll_ShellExecuteW
pop esi
pop ebx
ret