joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001f8b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x1001c7f1
call fcn.1001c3b8
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x424], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x428], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
test edi, edi
je 0x1000219d
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x10001fdd
sub edx, ecx
sar edx, 1
inc edx
push ecx
lea ecx, [ebp - 0x41c]
mov dword [ebp - 0x41c], edx
call fcn.10001357
test eax, eax
js 0x1000219d
mov esi, dword [ebp - 0x41c]
cmp esi, 0x400
jg 0x1000202e
mov ecx, esi
call fcn.10001387
test al, al
je 0x1000202e
mov eax, esi
call fcn.1001c519
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x1000203a
push esi
lea ecx, [ebp - 0x428]
call fcn.10003a1d
push 3
push esi
mov edx, edi
mov ecx, eax
call fcn.10003a1d
mov edi, eax
test edi, edi
je 0x10002197
push 0x60
push ebx
push edi
call dword [sym.imp.kernel32.dll_LoadLibraryExA]
mov esi, eax
mov dword [ebp - 0x41c], esi
test esi, esi
jne 0x10002088
push 2
push ebx
push edi
call dword [sym.imp.kernel32.dll_LoadLibraryExA]
mov esi, eax
mov dword [ebp - 0x41c], eax
test esi, esi
jne 0x10002088
call fcn.10001543
mov edi, eax
jmp 0x1000217c
push dword [ebp - 0x420]
push dword [ebp - 0x424]
push esi
call dword [sym.imp.kernel32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x100020ab
call fcn.10001543
jmp 0x1000216f
push edi
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x100020a1
push edi
push esi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x424], edi
lea ecx, [edi + 1]
cmp ecx, edi
jae 0x100020de
mov edi, 0x8007000e
jmp 0x10002171
mov byte [ebp - 4], 2
call fcn.10005d4e
cmp eax, 0x400
jbe 0x100020fc
push eax
lea ecx, [ebp - 0x418]
call fcn.10003a1d
jmp 0x10002108
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 1
jmp 0x1000212c
cmp dword [ebp - 0x418], 0
je 0x100020d4
mov ecx, dword [ebp - 0x418]
mov edx, edi
push edi
push dword [ebp - 0x420]
call fcn.10003a1d
pop ecx
pop ecx
mov ecx, eax
call fcn.100014e5
mov eax, dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
push dword [ebp + 0x14]
mov byte [eax + edi], bl
push dword [ebp - 0x418]
call fcn.10003a1d
mov edi, eax
test esi, esi
je 0x1000217c
push esi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x100021b7
lea ecx, [ebp - 0x418]
call fcn.100058b0
jmp 0x100021b7
mov ebx, dword [ebp - 0x418]
lea eax, [ebp - 0x414]
cmp ebx, eax
je 0x100021b2
lea ecx, [ebp - 0x418]
call fcn.100058b0
mov edi, 0x8007000e
lea ecx, [ebp - 0x428]
call fcn.10005668
mov eax, edi
lea esp, [ebp - 0x440]
call fcn.1001c309
ret 0x10
Function at 0x10003a1d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x10003a2c
pop dword [ebp - 0x3c]
mov eax, 0x3d546722
sub eax, 0x2d542cf6
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0xa7c0588b
add dword [ebp - 0x4c], 0xa691ecc0
mov dword [ebp - 0x48], 0x96e0ef8a
add dword [ebp - 0x48], 0x9b525cbb
mov dword [ebp - 0x44], 0x977a53b7
add dword [ebp - 0x44], 0xb4d1f077
mov dword [ebp - 0x40], 0x42c0ac6a
add dword [ebp - 0x40], 0xbd3f5396
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x506b580e
add eax, 0xbf968842
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x27b86fab
add dword [ebp - 0x4c], 0x4cb9f9ab
mov dword [ebp - 0x48], 0x867a7e66
sub dword [ebp - 0x48], 0x450e1cf1
mov dword [ebp - 0x44], 0x65d99d72
sub dword [ebp - 0x44], 0x26a3106
mov dword [ebp - 0x40], 0x54445c98
sub dword [ebp - 0x40], 0x54445c98
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0x3671a88a
sub eax, 0x266fc85a
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x3921d
push 0
call eax
mov ecx, 0x740170bd
sub ecx, 0x74013547
mov edi, eax
mov ebx, 0xdc85ddff
add ebx, 0x337cfe01
add ebx, dword [ebp - 0x3c]
mov edx, 0xc89cd53a
add edx, 0xdf995e78
xor dword [ebp - 0x28], ebx
mov esi, dword [ebx]
sub dword [ebp - 0x2c], 0xbc19039d
add esi, edx
mov dword [ebp - 0x1c], 0x2987b18f
mov dword [edi], esi
xor dword [ebp - 0x14], edx
add edi, 4
add ebx, 0x6a0bd8ff
add ebx, 0x95f42705
loop 0x10003b4e
add eax, 0xe0ab
mov ebx, eax
add eax, 0x4dc61bfa
sub eax, 0x4dc61bf5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x406a2c
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.00409e68
test esi, esi
jne 0x406a62
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.00409ff0
jmp 0x406a80
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00406970
mov edi, eax
test esi, esi
je 0x406a80
cmp dword [ebx], 0
je 0x406a80
dec esi
jmp 0x406a69
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x406ab4
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x4ed008], 0x8088405
inc edx
mov dword [ebx + 0x4ed008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x408ec8
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.00409164
mov byte [esp], al
cmp byte [esp], 0
jne 0x409052
test edi, edi
je 0x409052
mov byte [esp + 1], 0
test ebp, ebp
jle 0x408f92
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x408f6d
cmp edi, 0xffffffff
je 0x408f2d
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x408f2d
mov byte [esp], 0
jmp 0x409052
mov ebx, dword [esi]
cmp ebx, 1
jg 0x408f6d
test ebx, ebx
jne 0x408f5f
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x408f5f
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x409052
lea eax, [esp + 0xc]
call fcn.00408c5c
dec ebp
test ebp, ebp
jg 0x408f12
cmp edi, 0xffffffff
je 0x408f92
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x408f90
mov byte [esp], 0
jmp 0x409052
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x408ed6
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x408f92
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.004090c0
mov edx, eax
mov ebx, dword [0x4f28f4]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x408ff6
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x408ff4
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x408ff6
xor edi, edi
cmp byte [esp], 0
je 0x40901c
mov ebx, dword [esi]
test bl, 1
jne 0x409032
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x408ffc
mov byte [esp + 1], 1
jmp 0x409032
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x40901c
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x408fa9
cmp byte [esp], 0
je 0x409052
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 0x409bd0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4f2054], 0
je 0x409c37
cmp word [0x4f2340], 0xd7b2
jne 0x409bf9
cmp dword [0x4f2348], 0
jbe 0x409bf9
mov eax, 0x4f233c
call dword [0x4f2358]
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, 0x409c64
call fcn.0040a6c0
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4ed032], 0
jne 0x409c53
push 0
push 0x4ed9c2
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x40c40c
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 0x40c571
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00409e68
cmp si, word [0x4eda00]
jb 0x40c4a4
cmp si, word [0x4edc00]
ja 0x40c4a4
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40c4a4
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x4eda00]
jae 0x40c47e
mov edi, ebx
dec edi
jmp 0x40c49f
cmp si, word [ebx*8 + 0x4eda00]
jbe 0x40c48e
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40c49f
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x4eda04]
call fcn.0040c32c
jmp 0x40c4a4
cmp edi, dword [ebp - 8]
jae 0x40c468
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40c553
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40c553
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.0040aa64
push dword [ebp - 0x160]
push 0x40c58c
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0040aa64
push dword [ebp - 0x164]
push 0x40c59c
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040aa64
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040ac9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c578
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00409ec8
ret
Function at 0x40c724
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 0x40c828
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4f4b84
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x4f4b9c]
jne 0x40c770
mov eax, esi
mov edx, 0x4f4b9e
mov ecx, 0x55
call fcn.0040aa64
push 0x4f4b84
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40c812
push 0x4f4b84
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00409e68
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40c7df
cmp byte [0x4f4b80], 0
je 0x40c7a4
mov edx, esi
mov eax, ebx
call fcn.0040c608
jmp 0x40c7df
mov edx, esi
mov eax, ebx
call fcn.0040c40c
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40c7df
cmp dword [esi], 0
je 0x40c7c8
mov eax, esi
mov edx, 0x40c840
call fcn.0040abbc
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040c40c
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040abbc
push 0x4f4b84
call sub.kernel32.dll_EnterCriticalSection
mov word [0x4f4b9c], bx
mov eax, dword [esi]
call fcn.0040a9c0
mov ecx, eax
mov eax, 0x4f4b9e
mov edx, 0xaa
call fcn.0040c28c
push 0x4f4b84
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c82f
lea eax, [ebp - 4]
call fcn.00409e68
ret
Function at 0x40ca58
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.00409f4c
xor eax, eax
push ebp
push 0x40cc7d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40ca98
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40cab2
mov eax, dword [ebp - 4]
call fcn.0040a9c0
mov ecx, eax
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040c28c
cmp word [ebp - 0x21a], 0
je 0x40cc67
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40cc8c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40cb81
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40cc8c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40cb81
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40ccc8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40cb81
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40ccc8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40cb81
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40ccfc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40cb81
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40cd30
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40cc67
xor eax, eax
push ebp
push 0x40cc60
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040c868
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 0x40cbf0
mov eax, dword [ebp - 0x10]
call fcn.004066cc
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.0040aa28
jmp 0x40cc3b
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x40cd70
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40cc3b
mov eax, dword [ebp - 0x10]
call fcn.004066cc
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x40cd70
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.0040aa28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cc67
cmp dword [ebp - 8], 0
je 0x40cc56
mov eax, dword [ebp - 8]
call fcn.004066e8
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 0x40cc84
lea eax, [ebp - 4]
call fcn.00409e68
ret
Function at 0x40cf6c
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.00409f4c
xor eax, eax
push ebp
push 0x40d02c
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.0040aa64
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040ac14
mov eax, dword [ebx]
call fcn.0040ce34
test al, al
jne 0x40d009
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040aa64
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040ac14
mov eax, dword [ebx]
call fcn.0040ce34
test al, al
jne 0x40d009
mov eax, ebx
call fcn.00409e68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d033
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00409ec8
lea eax, [ebp - 4]
call fcn.00409e68
ret

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

Disassembly:
cmp eax, edx
je 0x41d831
test eax, edx
je 0x41d834
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41d7ef
movzx eax, word [eax]
sub eax, ecx
jmp 0x41d816
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 0x41d817
add ecx, 4
js 0x41d807
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41d814
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41d816
xor eax, eax
ret
test eax, eax
je 0x41d840
test edx, edx
jne 0x41d7e0
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x41e6bc
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [esi]
add eax, edi
push eax
push ebx
call sub.kernel32.dll_ReadFile_1
test eax, eax
jne 0x41e6e9
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x4223b4
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 0x4223ed
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00409ff0
jmp 0x4223f6
mov eax, ebx
mov edx, esi
call fcn.0040a248
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x422400
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 0x422422
movzx eax, word [esp]
jmp 0x422424
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4234b0
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 0x4235d5
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.004232b8
mov esi, eax
mov eax, dword [0x4f1284]
cmp byte [eax], 0
je 0x42357d
mov eax, dword [0x4f0fd0]
call fcn.004072e4
call fcn.00406820
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 [0x423480]
call fcn.0040bd48
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 0x4235f0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x4235b9
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4f0f7c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4f4c4c]
call fcn.0040bf2c
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 0x4235dc
lea eax, [ebp - 4]
mov edx, dword [0x423480]
call fcn.0040be6c
ret

Function at 0x424ed8
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.0040a344
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040d854
mov edi, eax
cmp edi, 0x104
jbe 0x424e7f
mov eax, edi
add eax, eax
call fcn.004066cc
mov esi, eax
jmp 0x424e81
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040d854
mov eax, esi
push eax
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x424ebc
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 0x424ea6
mov eax, esp
cmp esi, eax
je 0x424ec9
mov eax, esi
call fcn.004066e8
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 0x424f04
cmp bl, 0
je 0x424f00
cmp bl, 0x41
jl 0x424efb
cmp bl, 0x5a
jg 0x424efb
or bl, 0x20
xor al, bl
inc esi
jmp 0x424edf
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x424e40
Function at 0x425760
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.0040aa64
add esp, 0x800
pop ebx
ret

Function at 0x433a28
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x433a7a
test eax, edx
je 0x433a7d
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x433a3d
movzx eax, byte [eax]
sub eax, ecx
ret
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]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x433a63
add ecx, 4
js 0x433a53
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x433a60
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x433a89
test edx, edx
jne 0x433a30
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x4d43c8
Capabilities:
Encode data using xor

Disassembly:
mov ecx, eax
mov eax, edx
dec eax
test eax, eax
jl 0x4d43d9
inc eax
xor byte [ecx], 0xff
inc ecx
dec eax
jne 0x4d43d2
ret