joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404797
Capabilities:
Enumerate files on windows
Enumerate files recursively
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x25c
cmp byte [0x405001], 0
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push edi
mov edi, dword [ebp + 8]
je 0x4047c8
push 0x405010
push edi
call esi
test eax, eax
je 0x404976
mov ecx, 0x800
call fcn.00404025
mov ebx, eax
test ebx, ebx
je 0x404976
push edi
push 0x4032bc
push 0x400
push ebx
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x40496f
xor eax, eax
mov dword [esp + 0x10], eax
movzx eax, ax
push dword [eax*4 + 0x403754]
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4048ca
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp ax, 5
jb 0x404810
lea eax, [esp + 0x44]
push eax
push edi
push 0x4032c8
push 0x400
push ebx
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
mov eax, dword [esp + 0x2c]
add esp, 0x14
test al, 0x10
je 0x40488b
push 0x4032d4
lea eax, [esp + 0x48]
push eax
call esi
test eax, eax
je 0x404887
push 0x4032d8
lea eax, [esp + 0x48]
push eax
call esi
test eax, eax
je 0x404887
push ebx
call fcn.00404797
pop ecx
jmp 0x4048ca
mov eax, dword [esp + 0x18]
test al, 0xa7
je 0x4048ca
push 0x403270
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x4048ca
push 0x4032e0
lea eax, [esp + 0x48]
push eax
call esi
test eax, eax
je 0x4048ca
push 0x403294
lea eax, [esp + 0x48]
push eax
call esi
test eax, eax
je 0x4048ca
mov ecx, ebx
call fcn.00404462
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40480a
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x4032e0
push edi
push 0x4032c8
push 0x400
push ebx
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x14
xor edi, edi
push edi
push 0x80
push 1
push edi
push 1
push 0x40000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [esp + 0x10], esi
cmp esi, 0xffffffff
je 0x40496f
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [esp + 0x18]
push eax
push 0x401c70
call edi
push eax
push 0x401c70
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
call esi
push 0
lea eax, [esp + 0x18]
push eax
push dword [0x405008]
call edi
mov edi, dword [esp + 0x18]
push eax
push dword [0x405008]
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, ebx
call fcn.00404039
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40497d
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
or dword [esp], 0xffffffff
lea eax, [esp + 8]
push ebx
push esi
push edi
push eax
push dword [ebp + 8]
mov dword [esp + 0x18], 0x4000
push 0x13
push 0
push 2
call dword [sym.imp.MPR.dll_WNetOpenEnumW]
test eax, eax
jne 0x404a16
mov ecx, dword [esp + 0x10]
call fcn.00404025
mov esi, eax
test esi, esi
je 0x404a0c
jmp 0x4049ec
xor ebx, ebx
cmp dword [esp + 0xc], ebx
jbe 0x4049ec
lea edi, [esi + 0x14]
test byte [edi - 8], 2
je 0x4049da
lea eax, [edi - 0x14]
push eax
call fcn.0040497d
jmp 0x4049e1
push dword [edi]
call fcn.00404797
inc ebx
add edi, 0x20
pop ecx
cmp ebx, dword [esp + 0xc]
jb 0x4049c9
lea eax, [esp + 0x10]
push eax
push esi
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x20]
call dword [sym.imp.MPR.dll_WNetEnumResourceW]
test eax, eax
je 0x4049be
mov ecx, esi
call fcn.00404039
push dword [esp + 0x14]
call dword [sym.imp.MPR.dll_WNetCloseEnum]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x404a1d
Capabilities:
Create thread
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
xor ecx, ecx
mov eax, ecx
push esi
push edi
mov esi, ecx
mov byte [ebp + eax - 0x18], cl
inc eax
cmp eax, 0x10
jb 0x404a2b
push ecx
push ecx
push ecx
push fcn.0040497d
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x404a4f
xor esi, esi
mov dword [ebp - 0x18], eax
inc esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
push 0x41
mov ebx, eax
pop eax
push 0x1a
pop ecx
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
test bl, 1
je 0x404ae2
cmp esi, 4
jne 0x404a91
push 0xffffffffffffffff
push 1
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
xor esi, esi
push dword [ebp + esi*4 - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, 4
jb 0x404a7f
xor esi, esi
mov ecx, 0x208
call fcn.00404025
mov edi, eax
test edi, edi
je 0x404adc
push dword [ebp - 4]
push 0x403300
push 0x104
push edi
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
xor eax, eax
push eax
push eax
push edi
push fcn.00404797
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x404ad5
mov dword [ebp + esi*4 - 0x18], eax
inc esi
jmp 0x404adc
mov ecx, edi
call fcn.00404039
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
shr ebx, 1
inc eax
sub ecx, 1
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
jne 0x404a64
pop ebx
test esi, esi
je 0x404b1d
push 0xffffffffffffffff
push 1
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
xor edi, edi
test esi, esi
je 0x404b1d
push dword [ebp + edi*4 - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, esi
jb 0x404b0e
push 0x405010
mov byte [0x405001], 0
call fcn.00404797
pop ecx
pop edi
pop esi
leave
ret
Function at 0x10002ad8
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.100043dc
test esi, esi
jne 0x10002b0e
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.100044cc
jmp 0x10002b2c
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.100029ec
mov edi, eax
test esi, esi
je 0x10002b2c
cmp dword [ebx], 0
je 0x10002b2c
dec esi
jmp 0x10002b15
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x100033dc
Capabilities:
Query or enumerate registry value

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

Function at 0x100041e4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x1003904c], 0
je 0x10004245
cmp word [0x10039220], 0xd7b2
jne 0x1000420d
cmp dword [0x10039228], 0
jbe 0x1000420d
mov eax, 0x1003921c
call dword [0x10039238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x1003806c
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 0x1000426c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x10038030], 0
jne 0x10004261
push 0
push 0x10038064
push 0x1003806c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x10004398
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.100027b0
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x1003904d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x10004360
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x100059c8
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 0x10005bf8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x10005a4b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x10005bf8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x10005a4b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x10005c14
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x10005ad4
xor eax, eax
push ebp
push 0x10005acd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.10005810
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 0x10005ab2
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x10005c34
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x10005ab2
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 0x10005ad4
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 0x10005bee
cmp byte [ebp - 0xd], 0
jne 0x10005b1b
cmp byte [ebp - 0x12], 0
je 0x10005bee
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x10005b34
dec ebx
cmp byte [ebx], 0x2e
je 0x10005b43
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x10005b33
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x10005bee
inc ebx
cmp byte [ebp - 0x12], 0
je 0x10005b80
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 0x10005bee
cmp byte [ebp - 0xd], 0
je 0x10005bee
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 0x10005bee
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 0x10005ad4
Capabilities:
Get geographical location

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 0x10005bf8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x10005a4b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x10005bf8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x10005a4b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x10005c14
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x10005ad4
xor eax, eax
push ebp
push 0x10005acd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.10005810
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 0x10005ab2
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x10005c34
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x10005ab2
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 0x10005ad4
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 0x10005bee
cmp byte [ebp - 0xd], 0
jne 0x10005b1b
cmp byte [ebp - 0x12], 0
je 0x10005bee
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x10005b34
dec ebx
cmp byte [ebx], 0x2e
je 0x10005b43
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x10005b33
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x10005bee
inc ebx
cmp byte [ebp - 0x12], 0
je 0x10005b80
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 0x10005bee
cmp byte [ebp - 0xd], 0
je 0x10005bee
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 0x10005bee
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 0x100062dc
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 0x10006342
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.1000464c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.10002fd0
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x1000632c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x10006349
lea eax, [ebp - 0x10]
call fcn.100043dc
ret
Function at 0x1000b748
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 0x1000b781
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.100044cc
jmp 0x1000b78a
mov eax, ebx
mov edx, esi
call fcn.10004430
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x1000be3c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x1000bcb4
mov eax, dword [0x10038bd8]
cmp byte [eax], 0
je 0x1000beb8
mov eax, dword [0x10038a54]
call fcn.10002ea0
call fcn.10002918
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.10008ecc
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 0x1000bf00
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x1000beee
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x10038a18]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x10039668]
call fcn.100057d4
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 0x1000cbe4
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 0x1000cc48
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.1000464c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.10008980
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1000cc4f
lea eax, [ebp - 0xc]
call fcn.100043dc
ret
Function at 0x41c440
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a7e1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0049a3f9
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41c4c2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00497973
mov eax, dword [eax]
push 0x56acf0
push eax
call fcn.00489704
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0049a684
test bl, bl
je 0x41c4c2
push 0x56acf0
lea ecx, [esp + 0xc]
call fcn.0049aa60
push 0x56acfc
lea ecx, [esp + 0xc]
call fcn.0049aa60
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41c4fe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0049a684
jmp 0x41c5c9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x41c582
lea edx, [esp + 0x7c]
push 0x56acf8
push edx
call fcn.00489704
add esp, 8
test eax, eax
je 0x41c582
lea eax, [esp + 0x7c]
push 0x56acf4
push eax
call fcn.00489704
add esp, 8
test eax, eax
je 0x41c582
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41c512
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0049a684
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x41cdc0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x41ce22
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x41ce30
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a7e9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5755fc]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x41cf68
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41ce96
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049a684
xor eax, eax
jmp 0x41cfdf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0049a80d
push esi
lea ecx, [esp + 0xc]
call fcn.0049aa9c
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x56ad30
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41cfbd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0041cdc0
test eax, eax
jne 0x41cfbd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.0041cdc0
test eax, eax
jne 0x41cfbd
lea eax, [esp + 0x14]
push 0x56ad0c
push eax
call fcn.0048a8f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41cf9c
lea ecx, [esp + 0x14]
push 0x56ad08
push ecx
call fcn.0048a870
mov esi, eax
add esp, 8
test esi, esi
jne 0x41cf9c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41cf9f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0049a7bd
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41ceae
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049a684
xor eax, eax
jmp 0x41cfdf
mov byte [esi], 0
push 0x56ad04
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0049a684
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4