joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403b30
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40509b
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x40a00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x248]
mov dword [ebp - 0x244], 0xffffffff
push eax
mov dword [ebp - 0x248], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x403d46
cmp dword [ebp - 0x248], 0xffffffff
je 0x403d46
xor esi, esi
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x24c], esi
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x258], edi
mov dword [ebp - 0x254], ebx
push ebx
push 2
mov dword [ebp - 4], ebx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x240], eax
cmp eax, 0xffffffff
je 0x403d09
push 0x228
lea eax, [ebp - 0x238]
mov dword [ebp - 0x23c], 0x22c
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x240]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x403c7d
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov edi, edi
lea eax, [ebp - 0x218]
push str.explorer.exe
push eax
call esi
add esp, 8
test eax, eax
jne 0x403c5b
cmp edi, ebx
je 0x403c3c
mov eax, dword [ebp - 0x234]
mov dword [edi], eax
add edi, 4
mov dword [ebp - 0x258], edi
jmp 0x403c5b
lea eax, [ebp - 0x234]
push eax
push edi
lea ecx, [ebp - 0x25c]
call fcn.00403770
mov ebx, dword [ebp - 0x254]
mov edi, dword [ebp - 0x258]
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x240]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x403c10
mov esi, dword [ebp - 0x25c]
mov dword [ebp - 0x24c], esi
push dword [ebp - 0x240]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, edi
je 0x403d09
lea ecx, [ecx]
lea eax, [ebp - 0x240]
mov dword [ebp - 0x240], 0xffffffff
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x403cf4
mov eax, dword [ebp - 0x240]
cmp eax, dword [ebp - 0x248]
jne 0x403cf4
push dword [esi]
push 0
push 0x100400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x250], eax
test eax, eax
je 0x403cf4
lea ecx, [ebp - 0x244]
push ecx
push 0xf
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push dword [ebp - 0x250]
test eax, eax
jne 0x403cfd
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esi, 4
cmp esi, edi
jne 0x403c90
jmp 0x403d03
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x24c]
mov edi, dword [ebp - 0x244]
test esi, esi
je 0x403d42
sub ebx, esi
mov eax, esi
and ebx, 0xfffffffc
cmp ebx, 0x1000
jb 0x403d38
mov esi, dword [esi - 4]
add ebx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403d38
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ebx
push esi
call fcn.00404031
add esp, 8
mov eax, edi
jmp 0x403d4c
mov eax, dword [ebp - 0x244]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040403f
mov esp, ebp
pop ebp
ret
Function at 0x404f5c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.004051f8
mov byte [esp], al
cmp byte [esp], 0
jne 0x4050e6
test edi, edi
je 0x4050e6
mov byte [esp + 1], 0
test ebp, ebp
jle 0x405026
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x405001
cmp edi, 0xffffffff
je 0x404fc1
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x404fc1
mov byte [esp], 0
jmp 0x4050e6
mov ebx, dword [esi]
cmp ebx, 1
jg 0x405001
test ebx, ebx
jne 0x404ff3
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x404ff3
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x4050e6
lea eax, [esp + 0xc]
call fcn.00404d0c
dec ebp
test ebp, ebp
jg 0x404fa6
cmp edi, 0xffffffff
je 0x405026
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x405024
mov byte [esp], 0
jmp 0x4050e6
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x404f6a
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x405026
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00405154
mov edx, eax
mov ebx, dword [0x41e8f4]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x40508a
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x405088
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x40508a
xor edi, edi
cmp byte [esp], 0
je 0x4050b0
mov ebx, dword [esi]
test bl, 1
jne 0x4050c6
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x405090
mov byte [esp + 1], 1
jmp 0x4050c6
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x4050b0
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x40503d
cmp byte [esp], 0
je 0x4050e6
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x405ac8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x41e054], 0
je 0x405b2f
cmp word [0x41e340], 0xd7b2
jne 0x405af1
cmp dword [0x41e348], 0
jbe 0x405af1
mov eax, 0x41e33c
call dword [0x41e358]
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, 0x405b5c
call fcn.00406248
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x41c022], 0
jne 0x405b4b
push 0
push 0x41c9aa
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x407574
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 0x4076d9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405d54
cmp si, word [0x41c9e8]
jb 0x40760c
cmp si, word [0x41cbe8]
ja 0x40760c
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40760c
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x41c9e8]
jae 0x4075e6
mov edi, ebx
dec edi
jmp 0x407607
cmp si, word [ebx*8 + 0x41c9e8]
jbe 0x4075f6
inc ebx
mov dword [ebp - 8], ebx
jmp 0x407607
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x41c9ec]
call fcn.00407494
jmp 0x40760c
cmp edi, dword [ebp - 8]
jae 0x4075d0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x4076bb
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x4076bb
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.004063e0
push dword [ebp - 0x160]
push 0x4076f4
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.004063e0
push dword [ebp - 0x164]
push 0x407704
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.004063e0
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00406598
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4076e0
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00405db4
ret
Function at 0x40788c
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 0x407990
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x420b84
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x420b9c]
jne 0x4078d8
mov eax, esi
mov edx, 0x420b9e
mov ecx, 0x55
call fcn.004063e0
push 0x420b84
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40797a
push 0x420b84
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00405d54
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x407947
cmp byte [0x420b80], 0
je 0x40790c
mov edx, esi
mov eax, ebx
call fcn.00407770
jmp 0x407947
mov edx, esi
mov eax, ebx
call fcn.00407574
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x407947
cmp dword [esi], 0
je 0x407930
mov eax, esi
mov edx, 0x4079a8
call fcn.004064b8
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00407574
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004064b8
push 0x420b84
call sub.kernel32.dll_EnterCriticalSection
mov word [0x420b9c], bx
mov eax, dword [esi]
call fcn.0040634c
mov ecx, eax
mov eax, 0x420b9e
mov edx, 0xaa
call fcn.004073f4
push 0x420b84
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407997
lea eax, [ebp - 4]
call fcn.00405d54
ret
Function at 0x407bc0
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.00405e38
xor eax, eax
push ebp
push 0x407de5
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x407c00
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x407c1a
mov eax, dword [ebp - 4]
call fcn.0040634c
mov ecx, eax
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.004073f4
cmp word [ebp - 0x21a], 0
je 0x407dcf
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x407df4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x407ce9
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x407df4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x407ce9
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x407e30
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x407ce9
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x407e30
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x407ce9
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x407e64
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x407ce9
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x407e98
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x407dcf
xor eax, eax
push ebp
push 0x407dc8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.004079d0
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 0x407d58
mov eax, dword [ebp - 0x10]
call fcn.00403ecc
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.004063a4
jmp 0x407da3
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x407ed8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x407da3
mov eax, dword [ebp - 0x10]
call fcn.00403ecc
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x407ed8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.004063a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407dcf
cmp dword [ebp - 8], 0
je 0x407dbe
mov eax, dword [ebp - 8]
call fcn.00403ee8
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 0x407dec
lea eax, [ebp - 4]
call fcn.00405d54
ret
Function at 0x4080d4
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405e38
xor eax, eax
push ebp
push 0x408194
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 0xc]
push eax
push 3
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.004063e0
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00406510
mov eax, dword [ebx]
call fcn.00407f9c
test al, al
jne 0x408171
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.004063e0
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00406510
mov eax, dword [ebx]
call fcn.00407f9c
test al, al
jne 0x408171
mov eax, ebx
call fcn.00405d54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40819b
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00405db4
lea eax, [ebp - 4]
call fcn.00405d54
ret

Function at 0x408818
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x415154
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 0x41518d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00405eac
jmp 0x415196
mov eax, ebx
mov edx, esi
call fcn.00406028
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4151a0
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 0x4151c2
movzx eax, word [esp]
jmp 0x4151c4
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x416314
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 0x416439
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0041611c
mov esi, eax
mov eax, dword [0x41d764]
cmp byte [eax], 0
je 0x4163e1
mov eax, dword [0x41d67c]
call fcn.004041f0
call fcn.00404020
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 [0x4162e4]
call fcn.00406ea8
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 0x416454
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x41641d
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x41d654]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x420c4c]
call fcn.00407094
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 0x416440
lea eax, [ebp - 4]
mov edx, dword [0x4162e4]
call fcn.00406fcc
ret

Function at 0x417d4c
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.00406118
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.004087f8
mov edi, eax
cmp edi, 0x104
jbe 0x417cf7
mov eax, edi
add eax, eax
call fcn.00403ecc
mov esi, eax
jmp 0x417cf9
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.004087f8
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x417d32
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 0x417d1c
mov eax, esp
cmp esi, eax
je 0x417d3f
mov eax, esi
call fcn.00403ee8
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 0x417d78
cmp bl, 0
je 0x417d74
cmp bl, 0x41
jl 0x417d6f
cmp bl, 0x5a
jg 0x417d6f
or bl, 0x20
xor al, bl
inc esi
jmp 0x417d53
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x417cb8

Function at 0x417f8c
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.004063e0
add esp, 0x800
pop ebx
ret
Function at 0x1000a7e4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x1000a7f3
pop dword [ebp - 0x38]
mov eax, 0x1000a7f3
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x8606dcd3
add dword [ebp - 0x48], 0xc84b6878
mov dword [ebp - 0x44], 0xc662a567
add dword [ebp - 0x44], 0x6bd0a6de
mov dword [ebp - 0x40], 0xcb6833f
add dword [ebp - 0x40], 0x3f95c0ef
mov dword [ebp - 0x3c], 0xed8f06cd
sub dword [ebp - 0x3c], 0xed8f06cd
lea eax, [ebp - 0x48]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0xc2d89a4
add dword [ebp - 0x48], 0x6844dfb2
mov dword [ebp - 0x44], 0xdf9ec39a
sub dword [ebp - 0x44], 0x9e326225
mov dword [ebp - 0x40], 0x106eddc7
sub dword [ebp - 0x40], 0xacff715b
mov dword [ebp - 0x3c], 0xf7469913
sub dword [ebp - 0x3c], 0xf7469913
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x350e0
push 0
call eax
mov ecx, 0x9b97de98
sub ecx, 0x9b97a25f
xor edx, edx
add edx, eax
mov esi, 0x1d8d6cf3
add esi, 0xf277070d
add esi, dword [ebp - 0x38]
mov ebx, 0x27914bbe
xor dword [ebp - 0x18], 0x4391cde8
mov edi, dword [esi]
sub edi, ebx
add dword [ebp - 0x18], 0x5ce355e
mov dword [edx], edi
xor dword [ebp - 0xc], 0xa1e85d45
add edx, 0x5cef121d
sub edx, 0x5cef1219
add esi, 0xc502046d
add esi, 0x3afdfb97
loop 0x1000a902
add eax, 0x8e9511ec
sub eax, 0x8e942e35
mov ebx, eax
add eax, 5
mov ecx, 0x1f2804eb
sub ecx, 0xf2804eb
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x10005dab
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10005e32
push esi
push 0x100234a0
push ebx
call fcn.1000e0ce
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10005df7
push ebx
push str.The_file__s_could_not_be_opened.
push str.ExifLoader
push eax
push dword [edi + 0x28]
call sym.libexif.dll_exif_log
add esp, 0x14
jmp 0x10005e31
mov ebx, 0x400
jmp 0x10005e13
push eax
lea eax, [ebp - 0x404]
push eax
push edi
call sym.libexif.dll_exif_loader_write
add esp, 0xc
test al, al
je 0x10005e2a
push esi
push ebx
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.1000e2a8
add esp, 0x10
test eax, eax
jg 0x10005dfe
push esi
call fcn.1000df93
pop ecx
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1000bcc4
mov esp, ebp
pop ebp
ret
Function at 0x401dda
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
mov esi, dword [ebp + 8]
movzx eax, byte [esi + 3]
cmp eax, 3
jne 0x401df7
movzx eax, byte [esi + 4]
add ecx, eax
inc ecx
jmp 0x401dfa
add ecx, 4
pushfd
push ecx
shl ecx, 4
pop ecx
pushal
call sub.KERNEL32.DLL_GetCurrentThread
popal
popfd
fucom st(1)
pushal
pushfd
call sub.KERNEL32.DLL_GetCommandLineA
popfd
popal
movzx eax, word [ecx + esi]
pushfd
push edx
sar edx, 0xe
pop edx
pushal
call sub.KERNEL32.DLL_GetLastError
popal
popfd
fcos
pushal
pushfd
call sub.KERNEL32.DLL_GetCommandLineA
popfd
popal
leave
ret 4
Function at 0x407f56
Capabilities:
Accept command line arguments

Disassembly:
push eax
mov dword [esp], 0xe091666f
push ecx
mov ecx, esp
add ecx, 4
add dword [ecx], 0x1fddffff
pop ecx
push 0x692e6d61
pushfd
push esi
bts esi, 0xf
pop esi
pushal
call sub.KERNEL32.DLL_GetCurrentThreadId
popal
popfd
psraw mm0, mm1
pushal
pushfd
call sub.KERNEL32.DLL_GetLastError
popfd
popal
push 0x70d4646d
sub dword [esp], 0xb61ffff
pushfd
push esi
ror esi, 0xc
pop esi
pushal
call sub.KERNEL32.DLL_GetCurrentThread
popal
popfd
fnclex
pushal
pushfd
call sub.KERNEL32.DLL_GetLastError
popfd
popal
push 0x9b5bffff
mov dword [esp], 0xfa2c9096
xor dword [esp], 0x9b5bffff
mov edx, esp
push edx
call fcn.0041656c
add esp, 0x10
pushfd
push eax
rcr eax, 0x18
pop eax
pushal
call sub.KERNEL32.DLL_GetCommandLineA
popal
popfd
pmaddwd mm0, mm1
pushal
pushfd
call sub.KERNEL32.DLL_GetCurrentProcess
popfd
popal
pop edx
pushfd
push eax
bts eax, 0x18
pop eax
pushal
call sub.KERNEL32.DLL_GetTickCount
popal
popfd
fcom st(1)
pushal
pushfd
call sub.KERNEL32.DLL_GetCurrentProcessId
popfd
popal
jmp edx

Function at 0x408edd
Capabilities:
Accept command line arguments

Disassembly:
push 0
push 0x67726f2e
push esi
mov dword [esp], 0x1abd6571
push eax
mov eax, esp
add eax, 4
sub dword [eax], 0xad5bffff
pop eax
push ecx
mov dword [esp], 0xa190657b
add dword [esp], 0xc2ddffff
pushfd
push eax
ror eax, 2
pop eax
pushal
call sub.KERNEL32.DLL_GetCurrentThread
popal
popfd
push ecx
push ebx
pushfd
cmovno ecx, ebx
popfd
pop ebx
pop ecx
pushal
pushfd
call sub.KERNEL32.DLL_GetCurrentProcessId
popfd
popal
push eax
mov dword [esp], 0xfddc6565
push ebx
mov ebx, esp
add ebx, 4
add dword [ebx], 0x6b91ffff
pop ebx
pushfd
push ebx
ror ebx, 0x1c
pop ebx
pushal
call sub.KERNEL32.DLL_GetTickCount
popal
popfd
pushfd
push eax
inc al
pop eax
pushal
call sub.KERNEL32.DLL_GetCommandLineA
popal
popfd
mov edx, esp
pushfd
push eax
rol eax, 9
pop eax
pushal
call sub.KERNEL32.DLL_GetCurrentProcessId
popal
popfd
por mm0, mm1
pushal
pushfd
call sub.KERNEL32.DLL_GetCurrentProcess
popfd
popal
push edx
call fcn.0041656c
pushfd
push ebx
rcl ebx, 0xd
pop ebx
pushal
call sub.KERNEL32.DLL_GetTickCount
popal
popfd
pushfd
push ecx
sete cl
pop ecx
pushal
call sub.KERNEL32.DLL_GetCurrentThread
popal
popfd
add esp, 0x14
pop edx
jmp edx