joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408d0c
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.004091cc
mov byte [esp], al
cmp byte [esp], 0
jne 0x408e95
test edi, edi
je 0x408e95
mov byte [esp + 1], 0
test ebp, ebp
jle 0x408dd5
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x408db0
cmp edi, 0xffffffff
je 0x408d71
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x408d71
mov byte [esp], 0
jmp 0x408e95
cmp dword [esi], 1
jg 0x408db0
cmp dword [esi], 0
jne 0x408da2
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x408da2
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x408e95
lea eax, [esp + 0xc]
call fcn.004089c0
dec ebp
test ebp, ebp
jg 0x408d56
cmp edi, 0xffffffff
je 0x408dd5
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x408dd3
mov byte [esp], 0
jmp 0x408e95
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x408d1a
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x408dd5
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00408f10
mov edx, eax
mov ebx, dword [0x4d48f8]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x408e39
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x408e37
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x408e39
xor edi, edi
cmp byte [esp], 0
je 0x408e5f
mov ebx, dword [esi]
test bl, 1
jne 0x408e75
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x408e3f
mov byte [esp + 1], 1
jmp 0x408e75
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x408e5f
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x408dec
cmp byte [esp], 0
je 0x408e95
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 0x409b24
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
push esi
push edi
mov ebx, 0x4d6b9c
cmp dword [ebp + 0xc], 2
jl 0x409b38
mov ebx, 0x4d6bcc
mov esi, ebx
lea edi, [ebp - 0x40]
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
pop dword [ebx + 0x20]
pop dword [ebx + 0x1c]
pop dword [ebx + 0x18]
mov dword [ebx + 0x14], ebp
mov dword [ebx + 8], eax
mov dword [ebx + 0x10], edx
lea ecx, [ebp - 0x40]
mov dword [ebx], ecx
call sub.kernel32.dll_GetCurrentThreadId
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 8]
xor ecx, ecx
cmp dword [ebp + 0xc], 0
jne 0x409b70
mov ecx, dword [eax]
mov dword [ebx + 0xc], ecx
mov eax, 0x405200
mov dword [0x4d401c], eax
mov eax, 0x405208
mov dword [0x4d4020], eax
mov eax, ebx
call fcn.00409a08
mov eax, dword [ebp + 0xc]
inc eax
mov byte [ebx + 0x28], al
dec eax
pop ecx
mov edx, dword [ecx]
mov dword [ebx + 0x24], edx
je 0x409ba5
cmp al, 3
jge 0x409ba5
call dword [ecx + eax*4]
push ecx
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x409bb6
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
call ecx
pop ecx
mov eax, dword [ebp + 0xc]
cmp al, 3
jl 0x409bc1
call dword [ecx + eax*4]
cmp dword [0x4d4040], 0
jne 0x409bd7
mov byte [0x4d4048], 1
fnstcw word [0x4d0028]
mov eax, dword [ebp + 0xc]
dec eax
jne fcn.00409e74
call fcn.00409ab8
ret 4

Function at 0x409ddc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4d4058], 0
je 0x409e43
cmp word [0x4d4344], 0xd7b2
jne 0x409e05
cmp dword [0x4d434c], 0
jbe 0x409e05
mov eax, 0x4d4340
call dword [0x4d435c]
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, 0x409e70
call fcn.0040a95c
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4d0032], 0
jne 0x409e5f
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x40a004
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
cmp dword [0x4d0034], 0
je 0x40a02f
mov edx, edi
mov eax, esi
call dword [0x4d0034]
mov ebx, eax
jmp 0x40a040
mov eax, 8
call fcn.00406f60
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x4d4059], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x409fcc
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CreateThread
mov esi, eax
test esi, esi
jne 0x40a070
mov eax, ebx
call fcn.00406f7c
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x40d734
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 0x40d89b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040a144
cmp si, word [0x4d0a08]
jb 0x40d7cc
cmp si, word [0x4d0c08]
ja 0x40d7cc
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40d7cc
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x4d0a08]
jae 0x40d7a6
mov edi, ebx
dec edi
jmp 0x40d7c7
cmp si, word [ebx*8 + 0x4d0a08]
jbe 0x40d7b6
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40d7c7
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x4d0a0c]
call fcn.0040d650
jmp 0x40d7cc
cmp edi, dword [ebp - 8]
jae 0x40d790
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40d87b
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40d87b
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.0040ac44
push dword [ebp - 0x160]
push 0x40d8b8
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0040ac44
push dword [ebp - 0x164]
push 0x40d8c8
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040ac44
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040ae7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d8a2
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.0040a1a4
pop eax
jmp eax
Function at 0x40da50
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 0x40db56
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4d6c14
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x4d6c2c]
jne 0x40da9c
mov eax, esi
mov edx, 0x4d6c2e
mov ecx, 0x55
call fcn.0040ac44
push 0x4d6c14
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40db3e
push 0x4d6c14
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.0040a144
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40db0b
cmp byte [0x4d6c10], 0
je 0x40dad0
mov edx, esi
mov eax, ebx
call fcn.0040d934
jmp 0x40db0b
mov edx, esi
mov eax, ebx
call fcn.0040d734
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40db0b
cmp dword [esi], 0
je 0x40daf4
mov eax, esi
mov edx, 0x40db70
call fcn.0040ad9c
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040d734
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040ad9c
push 0x4d6c14
call sub.kernel32.dll_EnterCriticalSection
mov word [0x4d6c2c], bx
mov eax, dword [esi]
call fcn.0040aba8
mov ecx, eax
mov eax, 0x4d6c2e
mov edx, 0xaa
call fcn.0040d5b0
push 0x4d6c14
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40db5d
lea eax, [ebp - 4]
call fcn.0040a144
pop eax
jmp eax
Function at 0x40dd98
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040a238
xor eax, eax
push ebp
push 0x40dfc0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40ddde
push 0x105
lea eax, [ebp - 0x21e]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40ddf8
mov eax, dword [ebp - 4]
call fcn.0040aba8
mov ecx, eax
lea eax, [ebp - 0x21e]
mov edx, 0x105
call fcn.0040d5b0
cmp word [ebp - 0x21e], 0
je 0x40dfa3
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40dfd0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40dec7
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40dfd0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40dec7
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e00c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40dec7
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e00c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40dec7
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e040
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40dec7
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e074
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40dfa3
xor eax, eax
push ebp
push 0x40df9c
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
lea eax, [ebp - 0x21e]
call fcn.0040db98
mov ebx, eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40df2a
mov eax, dword [ebp - 0x14]
call fcn.00406f60
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.0040ac08
jmp 0x40df75
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0x40e0b4
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40df75
mov eax, dword [ebp - 0x14]
call fcn.00406f60
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push 0x40e0b4
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.0040ac08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dfa3
cmp dword [ebp - 0xc], 0
je 0x40df90
mov eax, dword [ebp - 0xc]
call fcn.00406f7c
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dfc7
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a1a4
pop eax
jmp eax
Function at 0x40e2d4
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.0040a238
xor eax, eax
push ebp
push 0x40e396
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.0040ac44
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040adf4
mov eax, dword [ebx]
call fcn.0040e17c
test al, al
jne 0x40e371
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040ac44
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040adf4
mov eax, dword [ebx]
call fcn.0040e17c
test al, al
jne 0x40e371
mov eax, ebx
call fcn.0040a144
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e39d
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040a1a4
lea eax, [ebp - 4]
call fcn.0040a144
pop eax
jmp eax

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

Disassembly:
cmp eax, edx
je 0x420235
test eax, edx
je 0x420238
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x4201f3
movzx eax, word [eax]
sub eax, ecx
jmp 0x42021a
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 [eax + ecx]
xor ebx, dword [edx + ecx]
jne 0x42021b
add ecx, 4
js 0x42020b
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x420218
movzx eax, word [eax + ecx]
movzx edx, word [edx + ecx]
sub eax, edx
pop ebx
pop ebx
jmp 0x42021a
xor eax, eax
ret
test eax, eax
je 0x420244
test edx, edx
jne 0x4201e4
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x425698
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 0x4256d1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0040a2dc
jmp 0x4256da
mov eax, ebx
mov edx, esi
call fcn.0040a534
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4256e4
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov edi, ecx
mov esi, edx
mov ebx, eax
push 3
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x425708
movzx eax, word [esp]
jmp 0x42570a
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x426e28
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 0x426f4f
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00426c30
mov esi, eax
mov eax, dword [0x4d3be4]
cmp byte [eax], 0
je 0x426ef5
mov eax, dword [0x4d3a30]
call fcn.00407b2c
call fcn.004070d4
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 [0x426df8]
call fcn.0040ccc0
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 0x426f68
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x426f31
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4d39f4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4d7634]
call fcn.0040d254
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 0x426f56
lea eax, [ebp - 4]
mov edx, dword [0x426df8]
call fcn.0040cde4
pop eax
jmp eax

Function at 0x4292ac
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.0040a628
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040fe4c
mov edi, eax
cmp edi, 0x104
jbe 0x429257
mov eax, edi
add eax, eax
call fcn.00406f60
mov esi, eax
jmp 0x429259
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040fe4c
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x429292
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 0x42927c
mov eax, esp
cmp esi, eax
je 0x42929f
mov eax, esi
call fcn.00406f7c
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 0x4292d8
cmp bl, 0
je 0x4292d4
cmp bl, 0x41
jl 0x4292cf
cmp bl, 0x5a
jg 0x4292cf
or bl, 0x20
xor al, bl
inc esi
jmp 0x4292b3
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x429218

Function at 0x429bd0
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.0040ac44
add esp, 0x800
pop ebx
ret
Function at 0x42c400
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42c420
sub eax, 4
mov eax, dword [eax]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x42c43a
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42c435
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x42c43f
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x42c4ad
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x42c4f6
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x42c46b
inc dword [ebp - 0xc]
jmp 0x42c483
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x42c483
cmp dword [ebp - 0xc], 0
jle 0x42c483
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x42c4a5
xor eax, eax
jmp 0x42c4a1
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x42c4a0
mov eax, esi
jmp 0x42c4f9
inc eax
cmp eax, ecx
jle 0x42c48d
inc esi
cmp esi, dword [ebp - 8]
jl 0x42c457
jmp 0x42c4f6
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x42c4f6
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x42c4ce
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x42c4f0
xor eax, eax
jmp 0x42c4ec
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x42c4eb
mov eax, esi
jmp 0x42c4f9
inc eax
cmp eax, ecx
jle 0x42c4d8
inc esi
cmp esi, dword [ebp - 8]
jl 0x42c4b6
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42c6e8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x42c707
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42c717
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, dword [ebp + 8]
sub ebx, esi
inc ebx
cmp dword [ebp + 8], 0
jl 0x42c839
test ebx, ebx
jl 0x42c839
test esi, esi
jle 0x42c839
mov eax, dword [ebp - 8]
call fcn.0040aba8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040aba8
mov ecx, eax
mov eax, dword [ebp + 8]
add eax, eax
add ecx, eax
movzx eax, word [ebp - 0xa]
cmp ax, word [ebp + 0xc]
je 0x42c7d6
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x42c839
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x42c7bb
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x42c78a
inc dword [ebp - 0x14]
jmp 0x42c79a
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x42c79a
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x42c7a5
or eax, 0xffffffff
jmp 0x42c7bb
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x42c7b8
inc eax
jmp 0x42c7bb
or eax, 0xffffffff
test eax, eax
jl 0x42c7c3
cmp esi, eax
jg 0x42c778
cmp esi, eax
jg 0x42c7ce
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x42c83c
inc edx
dec dword [ebp - 0x1c]
jne 0x42c774
jmp 0x42c839
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x42c839
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x42c820
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x42c7ff
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x42c80a
or eax, 0xffffffff
jmp 0x42c820
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x42c81d
inc eax
jmp 0x42c820
or eax, 0xffffffff
test eax, eax
jl 0x42c828
cmp esi, eax
jg 0x42c7e8
cmp esi, eax
jg 0x42c833
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x42c83c
inc edx
dec dword [ebp - 0x1c]
jne 0x42c7e4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x43b710
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x43b718
mov eax, edx
pop esi
pop ebx
ret

Function at 0x43e35c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
add edx, eax
cmp edx, eax
jbe 0x43e373
movzx ebx, byte [eax]
xor ecx, ebx
imul ecx, ecx, 0x1000193
inc eax
cmp edx, eax
ja 0x43e363
mov eax, ecx
pop ebx
ret
Function at 0x4b190c
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
or dl, byte [ebx + 0xd]
je 0x4b194f
cmp byte [ebx + 0x11], 0
jne 0x4b194f
cmp byte [ebx + 0x24], 0
jne 0x4b194f
mov byte [ebx + 0xf], 0
mov byte [ebx + 0xd], 0
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x4b1966
mov ecx, dword [0x4d3ba0]
mov dl, 1
mov eax, dword [0x484b90]
call fcn.004270b4
call fcn.004097bc
pop ebx
ret
mov ecx, dword [0x4d3ba0]
mov dl, 1
mov eax, dword [0x484b90]
call fcn.004270b4
call fcn.004097bc
pop ebx
ret

Function at 0x4b22d4
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4b2322
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004b17b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b233b
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4b2344
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004b17b8
dec esi
jne 0x4b2366
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret

Function at 0x4ca8a0
Capabilities:
Check os version

Disassembly:
add esp, 0xfffffeec
mov dword [esp], 0x114
push esp
call sub.kernel32.dll_GetVersionExW
cmp dword [esp + 4], 0xa
jne 0x4ca8c4
cmp dword [esp + 0xc], 0x585d
jae 0x4ca8c8
xor eax, eax
jmp 0x4ca8ca
mov al, 1
add esp, 0x114
ret