joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42af6c
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x5c
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x18], 0xf
mov ecx, dword [ebp - 0x18]
xor edx, edx
mov dword [eax + 0x14], edx
mov byte [ecx + 4], 0
lea eax, [ebp - 0x60]
mov dword [eax + 0x1c], 0x51dfc0
mov dword [eax + 0x20], 0x5288c8
mov dword [eax + 0x24], ebp
mov dword [eax + 0x2c], esp
mov dword [eax + 0x24], 0x42b166
call fcn.0051ec29
test edi, edi
je 0x42b14c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
lea eax, [eax + 4]
mov dword [ebp - 0x24], eax
xor esi, esi
mov al, byte [ecx]
mov byte [ebp + esi - 0xf], al
inc esi
cmp esi, 3
jne 0x42b06d
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], edi
mov cl, byte [ebp - 0xf]
mov dl, byte [ebp - 0xe]
mov eax, ecx
shr al, 2
mov byte [ebp - 0x13], al
shl cl, 4
and cl, 0x30
mov ah, dl
shr ah, 4
or ah, cl
mov byte [ebp - 0x12], ah
shl dl, 2
and dl, 0x3c
mov cl, byte [ebp - 0xd]
mov ah, cl
shr ah, 6
or ah, dl
mov byte [ebp - 0x11], ah
and cl, 0x3f
mov byte [ebp - 0x10], cl
mov dword [ebp - 0x1c], 0
jmp 0x42b02e
mov al, byte [ebp + ecx - 0x12]
inc ecx
mov dword [ebp - 0x1c], ecx
movzx eax, al
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x18], 0x10
mov ecx, dword [ebp - 0x24]
jb 0x42b042
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx]
movsx eax, byte [ecx + eax]
mov ecx, dword [ebp - 0x18]
xor edx, edx
inc edx
mov dword [ebp - 0x58], edx
sub esp, 4
push eax
push edx
push ecx
call fcn.00415e00
add esp, 0x10
mov ecx, dword [ebp - 0x1c]
cmp ecx, 2
jbe 0x42b026
xor esi, esi
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
dec edi
inc ecx
test edi, edi
jne 0x42afd0
test esi, esi
je 0x42b14c
cmp esi, 2
jg 0x42b09e
lea eax, [ebp + esi - 0xf]
mov ecx, 3
sub ecx, esi
sub esp, 4
push ecx
push 0
push eax
call fcn.0050df9b
add esp, 0x10
mov cl, byte [ebp - 0xf]
mov dl, byte [ebp - 0xe]
mov eax, ecx
shr al, 2
mov byte [ebp - 0x13], al
shl cl, 4
and cl, 0x30
mov ah, dl
shr ah, 4
or ah, cl
mov byte [ebp - 0x12], ah
shl dl, 2
and dl, 0x3c
mov cl, byte [ebp - 0xd]
shr cl, 6
or cl, dl
mov byte [ebp - 0x11], cl
test esi, esi
js 0x42b120
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], esi
jmp 0x42b0e5
mov al, byte [ebp + ecx - 0x12]
inc ecx
mov dword [ebp - 0x20], ecx
movzx eax, al
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x18], 0x10
mov ecx, dword [ebp - 0x24]
jb 0x42b0f9
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx]
movsx eax, byte [ecx + eax]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x58], 2
sub esp, 4
push eax
push 1
push ecx
call fcn.00415e00
add esp, 0x10
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
cmp ecx, esi
jl 0x42b0dd
cmp esi, 2
jg 0x42b14c
dec esi
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x58], 3
sub esp, 4
push 0x3d
push 1
push eax
call fcn.00415e00
add esp, 0x10
mov esi, dword [ebp - 0x1c]
inc esi
cmp esi, 2
jl 0x42b126
sub esp, 0xc
lea eax, [ebp - 0x60]
push eax
call fcn.0051ec4a
add esp, 0x10
mov eax, dword [ebp + 8]
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x42b540
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x13cc
call fcn.0050d6c4
sub esp, 0x13cc
lea ecx, [ebp - 0x13d4]
mov dword [ecx + 0x18], 0xf
xor eax, eax
mov dword [ecx + 0x14], eax
mov byte [ecx + 4], 0
sub esp, 4
push eax
push 0x528858
push ecx
call fcn.00403518
add esp, 0x10
lea eax, [ebp - 0x4c]
mov dword [eax + 0x1c], 0x51dfc0
mov dword [eax + 0x20], 0x52890c
mov dword [eax + 0x24], ebp
mov dword [eax + 0x2c], esp
mov dword [eax + 0x24], 0x42b648
mov dword [eax + 8], 1
call fcn.0051ec29
call fcn.0050c738
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
sub esp, 0xc
lea eax, [ebp - 0x13d4]
push eax
call fcn.00403adc
add esp, 0x10
xor ebx, ebx
dec ebx
mov dword [ebp - 0x44], ebx
call fcn.0050c738
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x13d0], eax
mov ecx, 2
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
lea eax, [ecx + eax - 1]
mov dword [ebp + ecx*4 - 0x13d4], eax
inc ecx
cmp ecx, 0x271
jne 0x42b5de
mov dword [ebp - 0x13d4], 0x270
lea eax, [ebp - 0x14]
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [ebp - 0x44], 0xffffffff
push edi
push esi
lea ecx, [ebp - 0x13d4]
push ecx
push eax
call fcn.0042bac8
add esp, 0x10
mov esi, eax
sub esp, 0xc
lea eax, [ebp - 0x4c]
push eax
call fcn.0051ec4a
add esp, 0x10
mov eax, esi
add esp, 0x13cc
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x42bba4
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push esi
sub esp, 8
mov esi, dword [esp + 0x10]
mov eax, dword [esi]
cmp eax, 0x270
jne 0x42bbbf
mov dword [esp], esi
call fcn.0042bc0c
jmp 0x42bbce
cmp eax, 0x4e0
jb 0x42bbce
mov dword [esp], esi
call fcn.0042bc58
mov eax, dword [esi]
lea ecx, [eax + 1]
mov dword [esi], ecx
mov eax, dword [esi + eax*4 + 4]
mov ecx, eax
shr ecx, 0xb
and ecx, dword [esi + 0x1384]
xor ecx, eax
mov eax, ecx
shl eax, 7
and eax, 0x9d2c5680
xor eax, ecx
mov ecx, eax
shl ecx, 0xf
and ecx, 0xefc60000
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
add esp, 8
pop esi
ret

Function at 0x42bc0c
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push edi
push esi
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 4]
mov ecx, 0xfffff640
and edx, 0x80000000
mov esi, dword [eax + ecx + 0x9c8]
mov edi, esi
and edi, 0x7ffffffe
or edi, edx
shr edi, 1
mov edx, esi
and esi, 1
neg esi
and esi, 0x9908b0df
xor esi, dword [eax + ecx + 0xff8]
xor esi, edi
mov dword [eax + ecx + 0x1384], esi
add ecx, 4
jne 0x42bc1a
pop esi
pop edi
ret
Function at 0x42bc58
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push edi
push esi
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0x9c4]
xor ecx, ecx
and edx, 0x80000000
mov esi, dword [eax + ecx*4 + 0x9c8]
mov edi, esi
and edi, 0x7ffffffe
or edi, edx
shr edi, 1
mov edx, esi
and esi, 1
neg esi
and esi, 0x9908b0df
xor esi, dword [eax + ecx*4 + 0xff8]
xor esi, edi
mov dword [eax + ecx*4 + 4], esi
inc ecx
cmp ecx, 0xe3
jne 0x42bc66
mov edx, SysReAllocStringLen
and edx, dword [eax + 0xd50]
xor esi, esi
mov ecx, esi
mov esi, dword [eax + ecx*4 + 0xd54]
mov edi, esi
and edi, 0x7ffffffe
or edi, edx
shr edi, 1
mov edx, esi
and esi, 1
neg esi
and esi, 0x9908b0df
xor esi, dword [eax + ecx*4 + 4]
xor esi, edi
mov dword [eax + ecx*4 + 0x390], esi
and edx, 0x80000000
lea esi, [ecx + 1]
lea edi, [ecx + 0xe3]
cmp edi, 0x26e
jl 0x42bcaf
mov esi, dword [eax + 4]
mov edi, esi
and edi, 0x7ffffffe
or edi, edx
shr edi, 1
and esi, 1
neg esi
and esi, 0x9908b0df
xor esi, dword [eax + 0x634]
xor esi, edi
mov dword [eax + ecx*4 + 0x394], esi
xor ecx, ecx
mov dword [eax], ecx
pop esi
pop edi
ret

Function at 0x432310
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.00434f74
test esi, esi
jne 0x432346
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.0043510c
jmp 0x432364
call sub.KERNEL32.DLL_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004321f0
mov edi, eax
test esi, esi
je 0x432364
cmp dword [ebx], 0
je 0x432364
dec esi
jmp 0x43234d
add esp, 0x20c
pop edi
pop esi
pop ebx
ret
Function at 0x433c80
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.00434140
mov byte [esp], al
cmp byte [esp], 0
jne 0x433e09
test edi, edi
je 0x433e09
mov byte [esp + 1], 0
test ebp, ebp
jle 0x433d49
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x433d24
cmp edi, 0xffffffff
je 0x433ce5
call sub.KERNEL32.DLL_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x433ce5
mov byte [esp], 0
jmp 0x433e09
cmp dword [esi], 1
jg 0x433d24
cmp dword [esi], 0
jne 0x433d16
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x433d16
call fcn.00521c28
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x433e09
lea eax, [esp + 0xc]
call fcn.00433918
dec ebp
test ebp, ebp
jg 0x433cca
cmp edi, 0xffffffff
je 0x433d49
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x433d47
mov byte [esp], 0
jmp 0x433e09
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x433c8e
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x433d49
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00433e84
mov edx, eax
mov ebx, dword [0x547154]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x433dad
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x433dab
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x433dad
xor edi, edi
cmp byte [esp], 0
je 0x433dd3
mov ebx, dword [esi]
test bl, 1
jne 0x433de9
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x433db3
mov byte [esp + 1], 1
jmp 0x433de9
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x433dd3
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x433d60
cmp byte [esp], 0
je 0x433e09
call fcn.00521c28
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 0x434c0c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x5468b0], 0
je 0x434c73
cmp word [0x546ba0], 0xd7b2
jne 0x434c35
cmp dword [0x546ba8], 0
jbe 0x434c35
mov eax, 0x546b9c
call dword [0x546bb8]
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, 0x434ca0
call fcn.00435788
push eax
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x5289ac], 0
jne 0x434c8f
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.USER32.DLL_MessageBoxA
pop edx
ret
Function at 0x434e34
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 [0x528970], 0
je 0x434e5f
mov edx, edi
mov eax, esi
call dword [0x528970]
mov ebx, eax
jmp 0x434e70
mov eax, 8
call fcn.00431b20
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x5468b1], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x434dfc
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 0x434ea0
mov eax, ebx
call fcn.00431b3c
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc

Function at 0x438a38
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 0x438ba4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00434f74
cmp si, word [0x529380]
jb 0x438ad5
cmp si, word [0x529580]
ja 0x438ad5
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jl 0x438ad5
mov ebx, edi
add ebx, dword [ebp - 8]
sar ebx, 1
jns 0x438aa0
adc ebx, 0
cmp si, word [ebx*8 + 0x529380]
jae 0x438aaf
mov edi, ebx
dec edi
jmp 0x438ad0
cmp si, word [ebx*8 + 0x529380]
jbe 0x438abf
inc ebx
mov dword [ebp - 8], ebx
jmp 0x438ad0
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x529384]
call fcn.00438958
jmp 0x438ad5
cmp edi, dword [ebp - 8]
jge 0x438a94
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x438b84
push 2
movzx eax, si
push eax
call sub.KERNEL32.DLL_IsValidLocale
test eax, eax
je 0x438b84
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.00435a74
push dword [ebp - 0x160]
push 0x438bc0
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.00435a74
push dword [ebp - 0x164]
push 0x438bd0
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00435a74
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00435cb0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438bab
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00434fd4
pop eax
jmp eax
Function at 0x438d58
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 0x438e5e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x549474
call sub.KERNEL32.DLL_EnterCriticalSection
cmp bx, word [0x54948c]
jne 0x438da4
mov eax, esi
mov edx, 0x54948e
mov ecx, 0x55
call fcn.00435a74
push 0x549474
call sub.KERNEL32.DLL_LeaveCriticalSection
jmp 0x438e46
push 0x549474
call sub.KERNEL32.DLL_LeaveCriticalSection
mov eax, esi
call fcn.00434f74
push 2
movzx eax, bx
push eax
call sub.KERNEL32.DLL_IsValidLocale
test eax, eax
je 0x438e13
cmp byte [0x549470], 0
je 0x438dd8
mov edx, esi
mov eax, ebx
call fcn.00438c3c
jmp 0x438e13
mov edx, esi
mov eax, ebx
call fcn.00438a38
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
cmp bx, ax
je 0x438e13
cmp dword [esi], 0
je 0x438dfc
mov eax, esi
mov edx, 0x438e78
call fcn.00435bd0
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00438a38
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00435bd0
push 0x549474
call sub.KERNEL32.DLL_EnterCriticalSection
mov word [0x54948c], bx
mov eax, dword [esi]
call fcn.004359d8
mov ecx, eax
mov eax, 0x54948e
mov edx, 0xaa
call fcn.004388b8
push 0x549474
call sub.KERNEL32.DLL_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438e65
lea eax, [ebp - 4]
call fcn.00434f74
pop eax
jmp eax
Function at 0x4390a0
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.00435068
xor eax, eax
push ebp
push 0x4392c8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x4390e6
push 0x105
lea eax, [ebp - 0x21e]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameW
jmp 0x439100
mov eax, dword [ebp - 4]
call fcn.004359d8
mov ecx, eax
lea eax, [ebp - 0x21e]
mov edx, 0x105
call fcn.004388b8
cmp word [ebp - 0x21e], 0
je 0x4392ab
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x4392d8
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x4391cf
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x4392d8
push SysStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x4391cf
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x439314
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x4391cf
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x439314
push SysStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x4391cf
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x439348
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x4391cf
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x43937c
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
jne 0x4392ab
xor eax, eax
push ebp
push 0x4392a4
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
lea eax, [ebp - 0x21e]
call fcn.00438ea0
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 0x439232
mov eax, dword [ebp - 0x14]
call fcn.00431b20
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.00435a38
jmp 0x43927d
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0x4393bc
mov eax, dword [ebp - 0x10]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
test eax, eax
jne 0x43927d
mov eax, dword [ebp - 0x14]
call fcn.00431b20
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push 0x4393bc
mov eax, dword [ebp - 0x10]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.00435a38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4392ab
cmp dword [ebp - 0xc], 0
je 0x439298
mov eax, dword [ebp - 0xc]
call fcn.00431b3c
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 0x4392cf
lea eax, [ebp - 8]
mov edx, 2
call fcn.00434fd4
pop eax
jmp eax
Function at 0x4395d8
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.00435068
xor eax, eax
push ebp
push 0x43969a
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.00435a74
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00435c28
mov eax, dword [ebx]
call fcn.00439484
test al, al
jne 0x439675
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00435a74
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00435c28
mov eax, dword [ebx]
call fcn.00439484
test al, al
jne 0x439675
mov eax, ebx
call fcn.00434f74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4396a1
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00434fd4
lea eax, [ebp - 4]
call fcn.00434f74
pop eax
jmp eax

Function at 0x43b25c
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 0x43bd90
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push ebp
push 0x43be73
push dword fs:[eax]
mov dword fs:[eax], esp
sub dword [0x5471f0], 1
jae 0x43be63
call fcn.00432e2c
call fcn.00432a80
call fcn.00431f3c
call fcn.004318e4
push 0x400
call sub.KERNEL32.DLL_SetThreadLocale
call fcn.004387bc
mov byte [0x528994], 2
mov dword [0x54686c], 0x521dba
mov dword [0x546870], 0x521de4
mov byte [0x5468b2], 2
call fcn.0043b25c
mov dword [0x5468bc], eax
mov dword [0x546858], 0x437474
call fcn.00432e68
call fcn.00432e84
mov word [0x5468c4], 0xd7b0
mov word [0x546ba0], 0xd7b0
mov word [0x546e7c], 0xd7b0
call sub.KERNEL32.DLL_GetCommandLineW
mov dword [0x5468a4], eax
call fcn.004300e8
mov dword [0x5468a0], eax
call sub.KERNEL32.DLL_GetACP
mov dword [0x5471d8], eax
mov dword [0x5471dc], 0x4b0
call fcn.00521c28
mov dword [0x546898], eax
call fcn.0043b270
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43be7a
pop eax
jmp eax
Function at 0x44adf8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x44ae51
test eax, edx
je 0x44ae54
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x44ae0f
movzx eax, word [eax]
sub eax, ecx
jmp 0x44ae36
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 0x44ae37
add ecx, 4
js 0x44ae27
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x44ae34
movzx eax, word [eax + ecx]
movzx edx, word [edx + ecx]
sub eax, edx
pop ebx
pop ebx
jmp 0x44ae36
xor eax, eax
ret
test eax, eax
je 0x44ae60
test edx, edx
jne 0x44ae00
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x450f9c
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 0x100
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoW
test eax, eax
jle 0x450fd5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0043510c
jmp 0x450fde
mov eax, ebx
mov edx, esi
call fcn.00435364
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x450fe8
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 0x45100c
movzx eax, word [esp]
jmp 0x45100e
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret