joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48affc
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov edi, edx
mov ebx, eax
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_IsWindow
test eax, eax
jne 0x48b032
jmp 0x48b0d8
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_GetWindowLongA
mov esi, eax
mov eax, esp
push eax
push 0
push 0x419
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
test esi, 2
jbe 0x48b076
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x184], 0
je 0x48b076
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x184]
mov eax, dword [eax + 0x14]
jmp 0x48b086
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0x180]
test edx, edx
je 0x48b086
mov eax, dword [edx + 0x14]
test eax, eax
je 0x48b09f
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.00487988
jmp 0x48b0d8
mov dl, 1
mov eax, dword [0x4236bc]
call fcn.004258d8
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.004262ac
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax + 0xc4]
mov eax, dword [esi + 0x10]
call fcn.004253fc
mov edx, esp
mov eax, esi
call fcn.00425fe8
mov eax, esi
call fcn.004042d4
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x48d908
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.0044f490
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x2c1], 0
xor edx, edx
mov eax, ebx
call fcn.004473e0
pop ebx
ret
Function at 0x497f80
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
cmp byte [ebx + 0x98], 0
je 0x497fa6
push 0
mov eax, dword [ebx + 0x94]
call fcn.0044f490
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x98], 0
pop ebx
ret

Function at 0x498060
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4981d2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov byte [eax + 0xa4], 1
mov eax, dword [ebp - 0xc]
test byte [eax + 0x1c], 0x10
jne 0x4981b7
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 4]
lea eax, [ebp - 0x10d]
call fcn.0040a4e4
mov dl, 1
mov eax, dword [0x46e400]
call fcn.0046e458
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x9c], eax
mov dl, 1
mov eax, dword [0x4179e4]
call fcn.004042a4
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0xa0]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x9c]
call fcn.0046e4d4
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4981b3
mov dl, 1
mov eax, dword [0x46f96c]
call fcn.0046f9d4
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x34], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x9c]
mov edx, 0x4981e8
call fcn.0046ec48
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00405438
xor eax, eax
push ebp
push 0x4981ac
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x34]
call fcn.0046fcdc
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.004981f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4981b3
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x9c]
call fcn.004042d4
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
call fcn.004042d4
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x34]
call fcn.004042d4
ret
movzx ebx, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4981d9
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405144
ret
Function at 0x4994af
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], eax
test ebx, ebx
je 0x499509
mov eax, ebx
add eax, dword [eax + 0x3c]
mov edi, dword [eax + 0x78]
add edi, ebx
xor esi, esi
jmp 0x499504
mov eax, dword [edi + 0x20]
lea edx, [ebx + eax]
mov eax, dword [edx + esi*4]
add eax, ebx
push dword [ebp + 0xc]
push eax
call sub.kernel32.dll_lstrcmpA
test eax, eax
jne 0x499503
mov edx, dword [edi + 0x24]
lea ecx, [ebx + edx]
mov ax, word [ecx + esi*2]
movzx edx, ax
mov ecx, dword [edi + 0x1c]
lea eax, [ebx + ecx]
mov eax, dword [eax + edx*4]
add eax, ebx
mov dword [ebp - 4], eax
inc esi
cmp esi, dword [edi + 0x18]
jb 0x4994d0
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x49a538
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.004038dc
ret
Function at 0x49a924
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe8
push ebx
xor edx, edx
mov dword [ebp - 0x418], edx
mov dword [ebp - 0x414], edx
mov dword [ebp - 0x410], edx
mov dword [ebp - 0x40c], edx
mov dword [ebp - 0x408], edx
mov dword [ebp - 0x3f0], edx
mov dword [ebp - 0x3f4], edx
mov dword [ebp - 0x3f8], eax
xor eax, eax
push ebp
push 0x49ab9b
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x3f4]
mov eax, 0x49abb0
call fcn.0049a78c
lea eax, [ebp - 0x3f0]
call fcn.00405120
lea eax, [ebp - 0x3fc]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 0x3f4]
call fcn.004055b0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x49ab5c
xor eax, eax
push ebp
push 0x49ab55
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x3e9
mov dword [ebp - 0x404], ebx
mov dword [ebp - 0x400], 7
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x3e9]
push eax
lea eax, [ebp - 0x400]
push eax
push 0
lea edx, [ebp - 0x408]
mov eax, 0x49abf0
call fcn.0049a78c
mov eax, dword [ebp - 0x408]
call fcn.004055b0
push eax
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x49aa27
push ebp
mov eax, 0x49ac1c
call fcn.0049a87c
pop ecx
mov dword [ebp - 0x404], ebx
mov dword [ebp - 0x400], 1
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x3e9]
push eax
lea eax, [ebp - 0x400]
push eax
push 0
lea edx, [ebp - 0x40c]
mov eax, 0x49ac28
call fcn.0049a78c
mov eax, dword [ebp - 0x40c]
call fcn.004055b0
push eax
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x49aab1
push dword [ebp - 0x3f0]
push 0x49ac50
lea eax, [ebp - 0x410]
lea edx, [ebp - 0x3e9]
mov ecx, 0x3e9
call fcn.00405390
push dword [ebp - 0x410]
lea eax, [ebp - 0x3f0]
mov edx, 3
call fcn.004054b4
mov dword [ebp - 0x404], ebx
mov dword [ebp - 0x400], 1
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x3e9]
push eax
lea eax, [ebp - 0x400]
push eax
push 0
lea edx, [ebp - 0x414]
mov eax, 0x49ac5c
call fcn.0049a78c
mov eax, dword [ebp - 0x414]
call fcn.004055b0
push eax
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x49ab3b
push dword [ebp - 0x3f0]
push 0x49ac50
lea eax, [ebp - 0x418]
lea edx, [ebp - 0x3e9]
mov ecx, 0x3e9
call fcn.00405390
push dword [ebp - 0x418]
lea eax, [ebp - 0x3f0]
mov edx, 3
call fcn.004054b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49ab5c
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x3f8]
mov edx, dword [ebp - 0x3f0]
call fcn.00405174
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49aba2
lea eax, [ebp - 0x418]
mov edx, 5
call fcn.00405144
lea eax, [ebp - 0x3f4]
mov edx, 2
call fcn.00405144
ret
Function at 0x49e98c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe28
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1d4], edx
mov dword [ebp - 0x1d8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004055a0
xor eax, eax
push ebp
push 0x49eac7
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x49ea97
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.004055b0
mov ebx, eax
push ebx
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 4]
call fcn.00409f34
test al, al
jne 0x49ea07
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push ebx
call sub.kernel32.dll_CreateFileA_1
push eax
call sub.kernel32.dll_CloseHandle_1
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1d0]
call fcn.00403674
lea eax, [ebp - 0x1d0]
call fcn.00403410
call fcn.0040304c
push dword [0x52fe68]
push 0x49eae0
push dword [0x52fe6c]
push 0x49eae0
push dword [0x52fe70]
lea eax, [ebp - 0x1d8]
mov edx, 5
call fcn.004054b4
mov eax, dword [ebp - 0x1d8]
lea edx, [ebp - 0x1d4]
call fcn.0049f838
mov edx, dword [ebp - 0x1d4]
lea eax, [ebp - 0x1d0]
call fcn.004058d0
call fcn.00403d30
call fcn.0040304c
lea eax, [ebp - 0x1d0]
call fcn.0040373c
call fcn.0040304c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49eaa1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49eace
lea eax, [ebp - 0x1d8]
mov edx, 2
call fcn.00405144
lea eax, [ebp - 4]
call fcn.00405120
ret
Function at 0x49f3a8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004055a0
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x49f510
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.0049ee00
mov esi, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, esi
call fcn.0049ee20
mov ebx, eax
jmp 0x49f4e2
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00405390
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.0040a158
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.004093e4
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.004093e4
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00405548
je 0x49f4c2
lea eax, [ebp - 0x144]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00405390
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.004093e4
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.004093e4
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00405548
jne 0x49f4d7
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edx, edi
mov eax, esi
call fcn.0049ee40
mov ebx, eax
test ebx, ebx
jne 0x49f423
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49f517
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.00405144
lea eax, [ebp - 4]
call fcn.00405120
ret
Function at 0x49fd3c
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x49fdf8
call fcn.00409f58
test al, al
jne 0x49fd54
mov eax, 0x49fdf8
call fcn.0040a288
mov eax, dword [0x52fee0]
mov edx, 0x49fe10
call fcn.00405548
jne 0x49fdef
mov eax, 0x52ff28
mov ecx, dword [0x52ff3c]
mov edx, dword [0x52ff38]
call fcn.00405438
mov edx, dword [0x52ff28]
mov eax, dword [0x52ff00]
call fcn.0049fa94
mov eax, dword [0x52fee0]
mov edx, 0x49fe10
call fcn.00405548
jne 0x49fdef
mov eax, dword [0x52a2c0]
mov eax, dword [eax]
mov edx, 0x49fe1c
call fcn.00405548
jne 0x49fdbd
mov eax, dword [0x52fedc]
call fcn.00461328
mov eax, dword [0x52ff28]
call fcn.00409f34
test al, al
je 0x49fdef
push 5
mov eax, dword [0x52ff28]
call fcn.004055b0
push eax
call sub.kernel32.dll_WinExec
mov eax, dword [0x52fedc]
mov eax, dword [eax + 0x360]
mov dl, 1
call fcn.004370fc
ret
Function at 0x403034
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x488020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4030cc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4030ac
xor eax, eax
push ebp
push 0x4030a5
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 0x4030e8
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 0x4030ac
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x488020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x488020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403d98
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x48a04c], 0
je 0x403df9
cmp word [0x48a220], 0xd7b2
jne 0x403dc1
cmp dword [0x48a228], 0
jbe 0x403dc1
mov eax, 0x48a21c
call dword [0x48a238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x48806c
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 0x403e20
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x488030], 0
jne 0x403e15
push 0
push 0x488064
push 0x48806c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405efc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405f62
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404184
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402bd4
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405f4c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405f69
lea eax, [ebp - 0x10]
call fcn.00403f14
ret

Function at 0x40b248
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 0x40b281
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404004
jmp 0x40b28a
mov eax, ebx
mov edx, esi
call fcn.00403f68
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b294
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 0x40b2b5
mov al, byte [esp]
jmp 0x40b2b7
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b93c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b7b4
mov eax, dword [0x489c24]
cmp byte [eax], 0
je 0x40b9b8
mov eax, dword [0x4899d0]
call fcn.00402a40
call fcn.004028b4
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408a88
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40ba00
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b9ee
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x489978]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x48a668]
call fcn.004053cc
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40c2a8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c37e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403fac
lea eax, [ebp - 8]
call fcn.00404424
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004043d4
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c368
mov eax, ebx
call fcn.0040274c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c361
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004043d4
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c34b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c390
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c34b
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c368
mov eax, dword [ebp - 0x10]
call fcn.0040276c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c385
lea eax, [ebp - 8]
call fcn.00403f14
ret

Function at 0x40c888
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 0x40c8ec
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.00404184
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004085b0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c8f3
lea eax, [ebp - 0xc]
call fcn.00403f14
ret

Function at 0x41ebcc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x48a888
cmp dword [edi], 0
jne 0x41ec48
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x48a884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4883fc
mov ecx, 2
call fcn.00402948
mov edx, 0x41eba4
lea eax, [esi + 5]
call fcn.0041ebc4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041ebc4
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 0x41ec1d
mov dword [0x48a884], 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 0x4201bc
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 0x4201c2
ret
Function at 0x422648
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 0x422699
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x422680
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x422670
jmp 0x422699
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 0x422681
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42db18
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x42dc81
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00403fac
mov eax, dword [ebp - 0x10]
call fcn.0042d7a4
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x42db6a
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404474
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0042de4c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x42dc3f
xor eax, eax
push ebp
push 0x42dc38
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0042d914
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.0042dc90
test al, al
je 0x42dc16
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00404004
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x42dc16
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.004043d4
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x42dc10
mov eax, dword [ebp - 0x14]
call fcn.004043d4
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.0040410c
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.0042db18
dec ebx
cmp ebx, 0xffffffff
jne 0x42dbc9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42dc3f
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0042d914
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.004043d4
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.0042d900
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42dc88
lea eax, [ebp - 0x3c]
call fcn.00403f14
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00403f38
ret