joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40295d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x40297e
mov esi, edx
mov ecx, eax
sub esi, eax
mov edx, edi
mov bl, byte [esi + ecx]
xor bl, byte [ebp + 0xc]
mov byte [ecx], bl
inc ecx
dec edx
jne 0x402972
xor edx, edx
mov byte [edi + eax], dl
cmp edi, edx
jbe 0x402a16
lea ebx, [edx + eax]
mov cl, byte [ebx]
cmp cl, 0x5c
jne 0x4029b8
lea edi, [edx + eax + 1]
cmp byte [edi], cl
je 0x402a01
cmp cl, cl
jne 0x4029b8
lea edi, [edx + eax + 1]
cmp byte [edi], 0x72
jne 0x4029b8
mov ecx, dword [ebp + 8]
sub ecx, edx
lea esi, [edx + eax + 2]
mov byte [ebx], 0xd
rep movsb byte es:[edi], byte [esi]
cmp byte [ebx], 0x5c
jne 0x402a0c
lea edi, [edx + eax + 1]
cmp byte [edi], 0x6e
jne 0x4029d4
mov ecx, dword [ebp + 8]
sub ecx, edx
lea esi, [edx + eax + 2]
mov byte [ebx], 0xa
rep movsb byte es:[edi], byte [esi]
cmp byte [ebx], 0x5c
jne 0x402a0c
lea edi, [edx + eax + 1]
cmp byte [edi], 0x74
jne 0x4029f0
mov ecx, dword [ebp + 8]
sub ecx, edx
lea esi, [edx + eax + 2]
mov byte [ebx], 9
rep movsb byte es:[edi], byte [esi]
cmp byte [ebx], 0x5c
jne 0x402a0c
lea edi, [edx + eax + 1]
cmp byte [edi], 0x22
jne 0x402a0c
mov byte [ebx], 0x22
mov ecx, dword [ebp + 8]
sub ecx, edx
lea esi, [edx + eax + 2]
rep movsb byte es:[edi], byte [esi]
inc edx
cmp edx, dword [ebp + 8]
jb 0x40298b
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x404814
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.00406964
test esi, esi
jne 0x40484a
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.00406acc
jmp 0x404868
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00404758
mov edi, eax
test esi, esi
je 0x404868
cmp dword [ebx], 0
je 0x404868
dec esi
jmp 0x404851
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x40587c
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.00405d08
mov byte [esp], al
cmp byte [esp], 0
jne 0x405a05
test edi, edi
je 0x405a05
mov byte [esp + 1], 0
test ebp, ebp
jle 0x405945
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x405920
cmp edi, 0xffffffff
je 0x4058e1
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x4058e1
mov byte [esp], 0
jmp 0x405a05
cmp dword [esi], 1
jg 0x405920
cmp dword [esi], 0
jne 0x405912
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x405912
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x405a05
lea eax, [esp + 0xc]
call fcn.00405538
dec ebp
test ebp, ebp
jg 0x4058c6
cmp edi, 0xffffffff
je 0x405945
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x405943
mov byte [esp], 0
jmp 0x405a05
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x40588a
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x405945
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00405a74
mov edx, eax
mov ebx, dword [0x46f8f4]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x4059a9
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x4059a7
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x4059a9
xor edi, edi
cmp byte [esp], 0
je 0x4059cf
mov ebx, dword [esi]
test bl, 1
jne 0x4059e5
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x4059af
mov byte [esp + 1], 1
jmp 0x4059e5
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x4059cf
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x40595c
cmp byte [esp], 0
je 0x405a05
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 0x4066e0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x46f054], 0
je 0x406747
cmp word [0x46f340], 0xd7b2
jne 0x406709
cmp dword [0x46f348], 0
jbe 0x406709
mov eax, 0x46f33c
call dword [0x46f358]
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, 0x406774
call fcn.00406fac
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x423022], 0
jne 0x406763
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x408874
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 0x4089d9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00406964
cmp si, word [0x4239e8]
jb 0x40890c
cmp si, word [0x423be8]
ja 0x40890c
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40890c
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x4239e8]
jae 0x4088e6
mov edi, ebx
dec edi
jmp 0x408907
cmp si, word [ebx*8 + 0x4239e8]
jbe 0x4088f6
inc ebx
mov dword [ebp - 8], ebx
jmp 0x408907
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x4239ec]
call fcn.00408794
jmp 0x40890c
cmp edi, dword [ebp - 8]
jae 0x4088d0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x4089bb
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x4089bb
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.00407144
push dword [ebp - 0x160]
push 0x4089f4
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.00407144
push dword [ebp - 0x164]
push 0x408a04
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00407144
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.004072fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4089e0
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.004069c4
ret
Function at 0x408b8c
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 0x408c90
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x471c0c
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x471c24]
jne 0x408bd8
mov eax, esi
mov edx, 0x471c26
mov ecx, 0x55
call fcn.00407144
push 0x471c0c
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x408c7a
push 0x471c0c
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00406964
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x408c47
cmp byte [0x471c08], 0
je 0x408c0c
mov edx, esi
mov eax, ebx
call fcn.00408a70
jmp 0x408c47
mov edx, esi
mov eax, ebx
call fcn.00408874
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x408c47
cmp dword [esi], 0
je 0x408c30
mov eax, esi
mov edx, 0x408ca8
call fcn.0040721c
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00408874
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040721c
push 0x471c0c
call sub.kernel32.dll_EnterCriticalSection
mov word [0x471c24], bx
mov eax, dword [esi]
call fcn.004070b0
mov ecx, eax
mov eax, 0x471c26
mov edx, 0xaa
call fcn.004086f4
push 0x471c0c
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408c97
lea eax, [ebp - 4]
call fcn.00406964
ret
Function at 0x408ec0
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.00406a48
xor eax, eax
push ebp
push 0x4090e5
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x408f00
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x408f1a
mov eax, dword [ebp - 4]
call fcn.004070b0
mov ecx, eax
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.004086f4
cmp word [ebp - 0x21a], 0
je 0x4090cf
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4090f4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x408fe9
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4090f4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x408fe9
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409130
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x408fe9
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409130
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x408fe9
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409164
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x408fe9
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409198
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x4090cf
xor eax, eax
push ebp
push 0x4090c8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00408cd0
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 0x409058
mov eax, dword [ebp - 0x10]
call fcn.004044b4
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.00407108
jmp 0x4090a3
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x4091d8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x4090a3
mov eax, dword [ebp - 0x10]
call fcn.004044b4
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x4091d8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00407108
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4090cf
cmp dword [ebp - 8], 0
je 0x4090be
mov eax, dword [ebp - 8]
call fcn.004044d0
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 0x4090ec
lea eax, [ebp - 4]
call fcn.00406964
ret
Function at 0x4093d4
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.00406a48
xor eax, eax
push ebp
push 0x409494
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.00407144
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407274
mov eax, dword [ebx]
call fcn.0040929c
test al, al
jne 0x409471
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00407144
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407274
mov eax, dword [ebx]
call fcn.0040929c
test al, al
jne 0x409471
mov eax, ebx
call fcn.00406964
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40949b
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004069c4
lea eax, [ebp - 4]
call fcn.00406964
ret

Function at 0x40af2c
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 0x413e38
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x413e91
test eax, edx
je 0x413e94
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x413e4f
movzx eax, word [eax]
sub eax, ecx
jmp 0x413e76
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 0x413e77
add ecx, 4
js 0x413e67
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x413e74
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x413e76
xor eax, eax
ret
test eax, eax
je 0x413ea0
test edx, edx
jne 0x413e40
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x4163a0
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
test eax, eax
jle 0x4163d9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00406acc
jmp 0x4163e2
mov eax, ebx
mov edx, esi
call fcn.00406c48
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4163ec
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
test eax, eax
jle 0x41640e
movzx eax, word [esp]
jmp 0x416410
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x41770c
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 0x417831
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00417514
mov esi, eax
mov eax, dword [0x46e7e4]
cmp byte [eax], 0
je 0x4177d9
mov eax, dword [0x46e6f4]
call fcn.00404918
call fcn.00404608
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
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x4176dc]
call fcn.004081ac
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
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x41784c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x417815
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x46e6cc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x47262c]
call fcn.00408398
push eax
call sub.user32.dll_LoadStringW
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 0x417838
lea eax, [ebp - 4]
mov edx, dword [0x4176dc]
call fcn.004082d0
ret
Function at 0x4188c4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4189c4
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406c90
lea eax, [ebp - 4]
call fcn.00406dfc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004070b0
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x4189ae
mov eax, ebx
call fcn.004044b4
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x4189a7
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004070b0
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x418991
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4189d8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x418991
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
shr eax, 0x10
movzx eax, ax
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
shr eax, 0x10
movzx eax, ax
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4189ae
mov eax, dword [ebp - 0x10]
call fcn.004044d0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4189cb
lea eax, [ebp - 4]
call fcn.00406964
ret

Function at 0x419854
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
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.00407144
add esp, 0x800
pop ebx
ret

Function at 0x41c24c
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.0040497c
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret
Function at 0x41ee70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffec
mov dword [esp], edx
mov ebx, eax
xor eax, eax
mov dword [esp + 4], eax
test ebx, ebx
je 0x41ef14
mov eax, ebx
mov edx, dword [eax + 0x3c]
add edx, eax
mov eax, edx
mov esi, eax
mov edx, dword [esi + 0x78]
mov eax, ebx
call fcn.0041eb3c
mov esi, eax
mov ebp, dword [esi + 0x18]
dec ebp
test ebp, ebp
jb 0x41ef14
inc ebp
xor edi, edi
mov edx, dword [esi + 0x20]
mov eax, ebx
call fcn.0041eb3c
mov eax, dword [eax + edi*4]
mov dword [esp + 8], eax
mov edx, dword [esp + 8]
mov eax, ebx
call fcn.0041eb3c
mov dword [esp + 0xc], eax
mov eax, dword [esp]
push eax
mov eax, dword [esp + 0x10]
push eax
call sub.kernel32.dll_lstrcmpA
test eax, eax
jne 0x41ef10
mov edx, dword [esi + 0x24]
mov eax, ebx
call fcn.0041eb3c
movzx eax, word [eax + edi*2]
mov word [esp + 0x10], ax
mov edx, dword [esi + 0x1c]
mov eax, ebx
call fcn.0041eb3c
movzx edx, word [esp + 0x10]
mov eax, dword [eax + edx*4]
mov edx, eax
mov eax, ebx
call fcn.0041eb3c
mov dword [esp + 4], eax
inc edi
dec ebp
jne 0x41eeac
mov eax, dword [esp + 4]
add esp, 0x14
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x41f158
Capabilities:
Read file via mapping

Disassembly:
push ebx
push esi
push edi
push 0
push 0
push 0
push 2
push 0
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_CreateFileMappingW
mov edi, eax
cmp edi, 0xffffffff
jne 0x41f17a
call fcn.004196d8
push 0
push 0
push 0
push 4
push edi
call sub.kernel32.dll_MapViewOfFile
mov ebx, eax
test ebx, ebx
jne 0x41f193
call fcn.004196d8
xor esi, esi
mov eax, dword [ebx + 0x3c]
add eax, 4
add ebx, eax
movzx eax, word [ebx + 2]
add ebx, 0xf4
mov edx, eax
test edx, edx
jle 0x41f1c5
mov eax, ebx
mov ecx, dword [eax + 0x14]
add ecx, dword [eax + 0x10]
cmp esi, ecx
jae 0x41f1bf
mov esi, dword [eax + 0x14]
add esi, dword [eax + 0x10]
add ebx, 0x28
dec edx
jne 0x41f1ad
test ebx, ebx
je 0x41f1cf
push ebx
call sub.kernel32.dll_UnmapViewOfFile
test edi, edi
je 0x41f1d9
push edi
call sub.kernel32.dll_CloseHandle
mov eax, esi
pop edi
pop esi
pop ebx
ret
Function at 0x100017c1
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push edi
push 0x14
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
pop ecx
test edi, edi
je 0x1000185c
push str.jvm.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
jne 0x100017f3
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
xor eax, eax
jmp 0x1000185e
push esi
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.JVM_DTraceGetVersion
push ebx
call esi
push str.JVM_DTraceIsSupported
push ebx
mov dword [edi], eax
call esi
push str.JVM_DTraceActivate
push ebx
mov dword [edi + 4], eax
call esi
push str.JVM_DTraceDispose
push ebx
mov dword [edi + 8], eax
call esi
push str.JVM_DTraceIsProbeEnabled
push ebx
mov dword [edi + 0xc], eax
call esi
push ebx
mov dword [edi + 0x10], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
xor esi, esi
cmp dword [edi], esi
je 0x10001851
cmp dword [edi + 4], esi
je 0x10001851
cmp dword [edi + 8], esi
je 0x10001851
cmp dword [edi + 0xc], esi
je 0x10001851
cmp dword [edi + 0x10], esi
jne 0x1000185b
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
mov edi, esi
pop esi
mov eax, edi
pop edi
pop ebx
ret

Function at 0x100022cf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x100022de
pop dword [ebp - 0x30]
mov eax, 0x8f3e9c1b
add eax, 0x80c186c3
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0xb04d73f6
add dword [ebp - 0x40], 0x9e04d155
mov dword [ebp - 0x3c], 0x5e9e7672
sub dword [ebp - 0x3c], 0x2c6b2a2d
mov dword [ebp - 0x38], 0x9652fa05
sub dword [ebp - 0x38], 0x4a06b5d7
mov dword [ebp - 0x34], 0x6414c1e3
add dword [ebp - 0x34], 0x9beb3e1d
lea eax, [ebp - 0x40]
push eax
mov eax, 0xf4537cf6
sub eax, 0xe4534cf2
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0xd31b809
sub dword [ebp - 0x40], 0x98bf4eb3
mov dword [ebp - 0x3c], 0xa10f1efd
sub dword [ebp - 0x3c], 0x5fa2bd88
mov dword [ebp - 0x38], 0xa90119b1
sub dword [ebp - 0x38], 0x4591ad45
mov dword [ebp - 0x34], 0x87727a4c
add dword [ebp - 0x34], 0x788d85b4
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x37252
push 0
call eax
mov ecx, 0xabf298eb
sub ecx, 0xabf24e49
mov edx, eax
mov ebx, 0x8c11947c
add ebx, 0x83eecd84
add ebx, dword [ebp - 0x30]
mov edi, 0xd42e777a
sub edi, 0x1c9a9e0d
sub dword [ebp - 0x28], 0x61a45b79
mov esi, dword [ebx]
xor dword [ebp - 0x14], edi
add esi, edi
mov dword [edx], esi
add dword [ebp - 0x1c], 0x526c4139
add edx, 4
add ebx, 0x1167eb54
add ebx, 0xee9814b0
loop 0x100023fb
add eax, 0xa1925440
add eax, 0x5e6ec91b
mov ebx, eax
add eax, 0xc76d440e
add eax, 0x3892bbf7
mov ecx, 0x10000000
add ecx, dword [ebp - 0x30]
call ebx
leave
ret