joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e520
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x427d28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push esi
xor esi, esi
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x24]
call fcn.00402390
mov dword [esp + 0x1c], 0x428230
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x7c], esi
call fcn.00402390
mov dword [esp + 0x2c], 0x428230
lea ecx, [esp + 0x3c]
mov byte [esp + 0x74], 1
call fcn.00409aa0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x74], 2
call fcn.00409aa0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x74], 3
call fcn.00409aa0
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x18]
push eax
mov byte [esp + 0x78], 4
mov dword [esp + 0x1c], 0x428cd4
call fcn.00422ee0
lea ecx, [esp + 8]
mov dword [esp + 0x74], 5
push ecx
lea ecx, [esp + 0x1c]
call fcn.0041e220
mov eax, dword [esp + 0x10]
mov byte [esp + 0x74], 6
cmp eax, esi
jle 0x41e5f7
mov edx, dword [esp + 0xc]
mov al, byte [edx + eax - 1]
push eax
push 0x432804
call fcn.0040a3b0
add esp, 8
test al, al
mov eax, dword [esp + 0x10]
je 0x41e5f7
dec eax
cmp eax, esi
mov dword [esp + 0x10], eax
jg 0x41e5d0
mov edx, dword [esp + 8]
push eax
lea ecx, [esp + 0xc]
call dword [edx + 4]
mov eax, dword [esp + 0x10]
mov bl, byte [0x428d10]
push 1
push eax
lea ecx, [esp + 0x10]
call fcn.00402c70
mov byte [eax], bl
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 8]
push ecx
lea ecx, [esp + 0xc]
call dword [edx + 4]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetVolumeLabelA]
test eax, eax
mov eax, dword [esp + 0xc]
mov dword [esp + 8], 0x428228
setne bl
cmp eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
je 0x41e668
push eax
call fcn.0040cb32
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 8], 0x428238
mov dword [esp + 0x74], 0xffffffff
call fcn.00422e20
mov ecx, dword [esp + 0x6c]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x70
ret

Function at 0x41e6b0
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x41e6d3
mov al, byte [esp + 0xc]
test al, al
je 0x41e6d7
push esi
push 0x71
call fcn.00418600
add esp, 8
mov al, 1
pop esi
ret
xor al, al
pop esi
ret

Function at 0x41e6e0
Capabilities:
Move file

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x41e708
mov al, byte [esp + 0x10]
test al, al
je 0x41e70c
push esi
push 0x72
call fcn.00418600
add esp, 8
mov al, 1
pop esi
ret
xor al, al
pop esi
ret
Function at 0x4206b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x427d56
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 0x30]
call fcn.0041a4b0
xor edi, edi
lea ecx, [esi + 0x3c]
mov dword [esp + 0x14], edi
call fcn.0041a4b0
lea ecx, [esi + 0x48]
mov byte [esp + 0x14], 1
call fcn.0041a4b0
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x24], edi
mov word [esi + 0x10], di
mov word [esi + 0x12], di
mov word [esi + 8], di
mov dword [esi + 0x2c], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], edi
mov word [esi + 0x28], di
mov word [esi + 0x2a], di
mov dword [esi], 0x428cd8
mov word [esi + 0xe], 8
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x425cd0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x425cf0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040eb82
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x425d13
test byte [esp + 8], 2
je 0x425d13
call fcn.0040ebf5
mov dword [eax], 0xd
call fcn.0040ebfe
mov dword [eax], 5
jmp 0x425cec
xor eax, eax
ret
Function at 0x404598
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.004070f4
test esi, esi
jne 0x4045d0
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.00407230
jmp 0x4045ee
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.0040447c
mov edi, eax
test esi, esi
je 0x4045ee
cmp dword [ebx], 0
je 0x4045ee
dec esi
jmp 0x4045d7
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x406500
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x44504c], 0
je 0x406561
cmp word [0x445328], 0xd7b2
jne 0x406529
cmp dword [0x445330], 0
jbe 0x406529
mov eax, 0x445324
call dword [0x445340]
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
push 0x40658c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x44302c], 0
jne 0x40657d
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x407b38
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffbe4
mov esi, edx
mov ebx, eax
test bl, bl
je 0x407b7a
movzx eax, bl
add ax, 0x41
dec eax
mov word [esp], ax
mov word [esp + 2], 0x3a
mov word [esp + 4], 0
lea eax, [esp + 0x212]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryW
push esp
call sub.kernel32.dll_SetCurrentDirectoryW
lea eax, [esp + 8]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryW
test bl, bl
je 0x407b9a
lea eax, [esp + 0x212]
push eax
call sub.kernel32.dll_SetCurrentDirectoryW
mov eax, esi
lea edx, [esp + 8]
mov ecx, 0x105
call fcn.004072dc
add esp, 0x41c
pop esi
pop ebx
ret
Function at 0x409014
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe94
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x40917b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.004070f4
cmp si, word [0x4437d0]
jb 0x4090ae
cmp si, word [0x4439d0]
ja 0x4090ae
mov edi, 0x40
xor eax, eax
mov dword [ebp - 0xc], eax
cmp edi, dword [ebp - 0xc]
jb 0x4090ae
mov ebx, dword [ebp - 0xc]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x4437d0]
jae 0x409088
mov edi, ebx
dec edi
jmp 0x4090a9
cmp si, word [ebx*8 + 0x4437d0]
jbe 0x409098
inc ebx
mov dword [ebp - 0xc], ebx
jmp 0x4090a9
mov edx, dword [ebp - 8]
mov eax, dword [ebx*8 + 0x4437d4]
call fcn.00408f24
jmp 0x4090ae
cmp edi, dword [ebp - 0xc]
jae 0x409072
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x40915d
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40915d
push 0x55
lea eax, [ebp - 0xb6]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x160]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x164]
lea edx, [ebp - 0xb6]
mov ecx, 0x55
call fcn.004072dc
push dword [ebp - 0x164]
push 0x409198
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x160]
mov ecx, 0x55
call fcn.004072dc
push dword [ebp - 0x168]
push 0x4091a8
lea eax, [ebp - 0x16c]
lea edx, [ebp - 0xb6]
mov ecx, 0x55
call fcn.004072dc
push dword [ebp - 0x16c]
mov eax, dword [ebp - 8]
mov edx, 5
call fcn.00407688
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409182
lea eax, [ebp - 0x16c]
mov edx, 3
call fcn.004070ec
ret
Function at 0x409334
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 0x409439
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x447b54
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x447b6c]
jne 0x409380
mov eax, esi
mov edx, 0x447b70
mov ecx, 0x55
call fcn.004072dc
push 0x447b54
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x409423
push 0x447b54
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
xor edx, edx
call fcn.004070f4
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x4093f1
cmp byte [0x447b50], 0
je 0x4093b6
mov edx, esi
mov eax, ebx
call fcn.00409214
jmp 0x4093f1
mov edx, esi
mov eax, ebx
call fcn.00409014
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x4093f1
cmp dword [esi], 0
je 0x4093da
mov eax, esi
mov edx, 0x409454
call fcn.004074e4
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00409014
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004074e4
push 0x447b54
call sub.kernel32.dll_EnterCriticalSection
mov word [0x447b6c], bx
push 0xaa
mov eax, dword [esi]
call fcn.00407180
push eax
push 0x447b70
call sub.kernel32.dll_lstrcpynW
push 0x447b54
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409440
lea eax, [ebp - 4]
call fcn.004070e4
ret
Function at 0x409678
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004070dc
xor eax, eax
push ebp
push 0x40985d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x4096b8
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x4096d2
push 0x105
mov eax, dword [ebp - 4]
call fcn.00407180
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.kernel32.dll_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x409847
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40986c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409761
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40986c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409761
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4098a0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409761
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4098d4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x409847
xor eax, eax
push ebp
push 0x409840
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040947c
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x4097d0
mov eax, dword [ebp - 0x10]
call fcn.004041e4
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.004072a0
jmp 0x40981b
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x409914
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40981b
mov eax, dword [ebp - 0x10]
call fcn.004041e4
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x409914
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.004072a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409847
cmp dword [ebp - 8], 0
je 0x409836
mov eax, dword [ebp - 8]
call fcn.00404200
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409864
lea eax, [ebp - 4]
call fcn.004070e4
ret
Function at 0x409b28
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
mov esi, ecx
mov dword [ebp - 0x21c], edx
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x218]
call fcn.004070dc
mov eax, dword [ebp - 0x21c]
call fcn.004070dc
lea edi, [ebp - 0x210]
xor eax, eax
push ebp
push 0x409cc7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
xor edx, edx
call fcn.004070f4
xor ebx, ebx
push 0x105
mov eax, dword [ebp - 0x21c]
call fcn.00407180
push eax
lea eax, [ebp - 0x20a]
push eax
call sub.kernel32.dll_lstrcpynW
lea eax, [ebp - 0x20a]
push eax
call sub.kernel32.dll_lstrlenW
add eax, eax
lea edx, [ebp - 0x20a]
add eax, edx
sub eax, 2
mov dword [edi], eax
jmp 0x409bc8
sub dword [edi], 2
mov eax, dword [edi]
cmp word [eax], 0x2e
je 0x409bda
lea eax, [ebp - 0x20a]
cmp eax, dword [edi]
jne 0x409bc5
lea eax, [ebp - 0x20a]
cmp eax, dword [edi]
je 0x409c93
add dword [edi], 2
mov eax, dword [edi]
mov word [eax], 0
lea eax, [ebp - 0x20a]
mov edx, dword [edi]
sub edx, eax
sar edx, 1
jns 0x409c03
adc edx, 0
mov eax, 0x105
sub eax, edx
mov dword [ebp - 0x214], eax
lea edx, [ebp - 0x220]
mov eax, dword [ebp - 0x218]
call fcn.00409678
cmp dword [ebp - 0x220], 0
je 0x409c3b
push ebp
mov eax, dword [ebp - 0x220]
call fcn.00409a1c
pop ecx
mov ebx, eax
jmp 0x409c93
push ebp
call sub.kernel32.dll_GetUserDefaultUILanguage
lea edx, [ebp - 0x224]
call fcn.00409334
mov eax, dword [ebp - 0x224]
call fcn.00409a1c
pop ecx
mov ebx, eax
test bl, bl
jne 0x409c86
cmp byte [0x447b50], 0
jne 0x409c86
push ebp
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 0x228]
call fcn.00409334
mov eax, dword [ebp - 0x228]
call fcn.00409a1c
pop ecx
mov ebx, eax
test bl, bl
jne 0x409c93
push ebp
call fcn.00409acc
pop ecx
mov ebx, eax
test bl, bl
je 0x409ca9
mov eax, esi
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.004072dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409cce
lea eax, [ebp - 0x228]
mov edx, 5
call fcn.004070ec
ret

Function at 0x40b558
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, 0x447c48
push 0xa
push 0x40b5ec
mov eax, dword [0x447c38]
push eax
call sub.kernel32.dll_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x40b57c
call fcn.00416090
push ebx
mov eax, dword [0x447c38]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x40b593
call fcn.00416090
push ebx
call sub.kernel32.dll_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x40b5a5
call fcn.00416090
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x447c4c], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x447c50], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x447c54], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x447c58], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x447c5c], ecx
add edx, dword [eax + 0x14]
mov dword [0x447c60], edx
pop esi
pop ebx
ret
Function at 0x40eddc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x40ee85
test eax, edx
je 0x40ee88
push 0
push 0
cmp word [eax - 0xa], 2
je 0x40ee05
push edx
mov edx, eax
mov eax, esp
call fcn.004072f8
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x40ee1b
push eax
lea eax, [esp + 8]
call fcn.004072f8
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x40ee2a
movzx eax, word [eax]
sub eax, ecx
jmp 0x40ee51
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x40ee6b
add ecx, 4
js 0x40ee42
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x40ee68
push eax
mov eax, ecx
mov edx, 2
call fcn.004066d8
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x40ee4f
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x40ee51
xor eax, eax
ret
test eax, eax
je 0x40ee98
test edx, edx
jne 0x40edec
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x4100c8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.00407180
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4100e6
test al, 0x10
sete al
pop esi
pop ebx
ret
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 2
je 0x410107
cmp ebx, 3
je 0x410107
cmp ebx, 0x7b
je 0x410107
mov eax, esi
call fcn.00410088
test al, al
jne 0x41010b
xor eax, eax
jmp 0x41010d
mov al, 1
pop esi
pop ebx
ret

Function at 0x413510
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 0x100
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x413549
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00407230
jmp 0x413552
mov eax, ebx
mov edx, esi
call fcn.004070f4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41355c
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 0x41357e
movzx eax, word [esp]
jmp 0x413580
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x413d10
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 0x413e35
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00413b20
mov esi, eax
mov eax, dword [0x4446f0]
cmp byte [eax], 0
je 0x413ddd
mov eax, dword [0x4445a0]
call fcn.00404960
call fcn.0040432c
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 [0x413ce8]
call fcn.00408a40
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 0x413e50
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x413e19
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x444570]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x447c38]
call fcn.00408b04
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 0x413e3c
lea eax, [ebp - 4]
mov edx, dword [0x413ce8]
call fcn.00408a4c
ret

Function at 0x415ebf
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.004069f8
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
mov edi, eax
cmp edi, 0x104
jbe 0x415ee2
mov eax, edi
add eax, eax
call fcn.004041e4
mov esi, eax
jmp 0x415ee4
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
push edi
push esi
call sub.user32.dll_CharUpperBuffW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x415f1d
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 0x415f07
mov eax, esp
cmp esi, eax
je 0x415f2a
mov eax, esi
call fcn.00404200
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 0x415f64
cmp bl, 0
je 0x415f60
cmp bl, 0x41
jl 0x415f5b
cmp bl, 0x5a
jg 0x415f5b
or bl, 0x20
xor al, bl
inc esi
jmp 0x415f3f
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x415ea4
Function at 0x43c65c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004070dc
xor eax, eax
push ebp
push 0x43c6d4
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 4]
call fcn.00407180
push eax
call sub.user32.dll_FindWindowW
test eax, eax
jle 0x43c6be
lea edx, [ebp - 8]
push edx
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov eax, dword [ebp - 8]
push eax
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov ebx, eax
test ebx, ebx
jle 0x43c6be
push 0
push ebx
call sub.kernel32.dll_TerminateProcess
push ebx
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43c6db
lea eax, [ebp - 4]
call fcn.004070e4
ret

Function at 0x43cadc
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, dword [0x4445a0]
call fcn.0043c09c
mov eax, ebx
mov edx, 0x43cd14
call fcn.004079f4
call fcn.00405018
call fcn.0040432c
push 0x7d0
call sub.kernel32.dll_Sleep_2
mov eax, ebx
mov edx, 0x43cd38
call fcn.004079f4
call fcn.00405018
call fcn.0040432c
push 0x7d0
call sub.kernel32.dll_Sleep_2
mov eax, ebx
mov edx, 0x43cd5c
call fcn.004079f4
call fcn.00405018
call fcn.0040432c
push 0x7d0
call sub.kernel32.dll_Sleep_2
mov eax, ebx
mov edx, 0x43cd80
call fcn.004079f4
call fcn.00405018
call fcn.0040432c
push 0x7d0
call sub.kernel32.dll_Sleep_2
push 0
push 0
push 0x43cd98
push 0x43cda8
push 0x43cdc0
push 0
call sub.shell32.dll_ShellExecuteW
mov eax, ebx
mov edx, 0x43cdd8
call fcn.004079f4
call fcn.00405018
call fcn.0040432c
push 0x7d0
call sub.kernel32.dll_Sleep_2
push 0
push 0
push 0x43cdf0
push 0x43cda8
push 0x43cdc0
push 0
call sub.shell32.dll_ShellExecuteW
mov eax, ebx
mov edx, 0x43ce38
call fcn.004079f4
call fcn.00405018
call fcn.0040432c
push 0x7d0
call sub.kernel32.dll_Sleep_2
push 0
push 0
push 0x43ce50
push 0x43cda8
push 0x43cdc0
push 0
call sub.shell32.dll_ShellExecuteW
mov eax, ebx
mov edx, 0x43ce94
call fcn.004079f4
call fcn.00405018
call fcn.0040432c
push 0x7d0
call sub.kernel32.dll_Sleep_2
push 0
push 0
push 0x43cd98
push 0x43cda8
push 0x43cdc0
push 0
call sub.shell32.dll_ShellExecuteW
push 0x7d0
call sub.kernel32.dll_Sleep_2
mov eax, ebx
mov edx, 0x43ceb8
call fcn.004079f4
call fcn.00405018
call fcn.0040432c
push 0x14
call sub.kernel32.dll_Sleep_2
call fcn.0043bfc4
push 0x14
call sub.kernel32.dll_Sleep_2
call fcn.0043c3d0
cmp eax, 0x4b5
jne 0x43cc9d
mov eax, ebx
mov edx, 0x43cedc
call fcn.004079f4
call fcn.00405018
call fcn.0040432c
mov eax, ebx
mov edx, 0x43cef8
call fcn.004079f4
call fcn.00405018
call fcn.0040432c
jmp 0x43ccf9
cmp eax, 0x4b4
je 0x43ccab
cmp eax, 0xeb2
jne 0x43ccd9
mov eax, ebx
mov edx, 0x43cedc
call fcn.004079f4
call fcn.00405018
call fcn.0040432c
mov eax, ebx
mov edx, 0x43cf28
call fcn.004079f4
call fcn.00405018
call fcn.0040432c
jmp 0x43ccf9
mov eax, ebx
mov edx, 0x43cf58
call fcn.004079f4
call fcn.00405018
call fcn.0040432c
push 0xbb8
call sub.kernel32.dll_Sleep_2
push 0x3e8
call sub.kernel32.dll_Sleep_2
pop ebx
ret