joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40488c
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.004074c4
test esi, esi
jne 0x4048c2
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.00407600
jmp 0x4048e0
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004047d0
mov edi, eax
test esi, esi
je 0x4048e0
cmp dword [ebx], 0
je 0x4048e0
dec esi
jmp 0x4048c9
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x40638c
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.0040684c
mov byte [esp], al
cmp byte [esp], 0
jne 0x406515
test edi, edi
je 0x406515
mov byte [esp + 1], 0
test ebp, ebp
jle 0x406455
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x406430
cmp edi, 0xffffffff
je 0x4063f1
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x4063f1
mov byte [esp], 0
jmp 0x406515
cmp dword [esi], 1
jg 0x406430
cmp dword [esi], 0
jne 0x406422
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x406422
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x406515
lea eax, [esp + 0xc]
call fcn.0040603c
dec ebp
test ebp, ebp
jg 0x4063d6
cmp edi, 0xffffffff
je 0x406455
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x406453
mov byte [esp], 0
jmp 0x406515
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x40639a
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x406455
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00406590
mov edx, eax
mov ebx, dword [0x4228f4]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x4064b9
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x4064b7
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x4064b9
xor edi, edi
cmp byte [esp], 0
je 0x4064df
mov ebx, dword [esi]
test bl, 1
jne 0x4064f5
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x4064bf
mov byte [esp + 1], 1
jmp 0x4064f5
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x4064df
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x40646c
cmp byte [esp], 0
je 0x406515
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 0x407240
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x422054], 0
je 0x4072a7
cmp word [0x422340], 0xd7b2
jne 0x407269
cmp dword [0x422348], 0
jbe 0x407269
mov eax, 0x42233c
call dword [0x422358]
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, 0x4072d4
call fcn.004079e8
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x420022], 0
jne 0x4072c3
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x409b98
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 0x409cff
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004074c4
cmp si, word [0x4209f0]
jb 0x409c30
cmp si, word [0x420bf0]
ja 0x409c30
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x409c30
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x4209f0]
jae 0x409c0a
mov edi, ebx
dec edi
jmp 0x409c2b
cmp si, word [ebx*8 + 0x4209f0]
jbe 0x409c1a
inc ebx
mov dword [ebp - 8], ebx
jmp 0x409c2b
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x4209f4]
call fcn.00409ab4
jmp 0x409c30
cmp edi, dword [ebp - 8]
jae 0x409bf4
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x409cdf
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x409cdf
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.00407b1c
push dword [ebp - 0x160]
push 0x409d1c
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.00407b1c
push dword [ebp - 0x164]
push 0x409d2c
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00407b1c
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00407cd4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409d06
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00407524
pop eax
jmp eax
Function at 0x409eb4
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 0x409fba
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x424c0c
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x424c24]
jne 0x409f00
mov eax, esi
mov edx, 0x424c26
mov ecx, 0x55
call fcn.00407b1c
push 0x424c0c
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x409fa2
push 0x424c0c
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.004074c4
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x409f6f
cmp byte [0x424c08], 0
je 0x409f34
mov edx, esi
mov eax, ebx
call fcn.00409d98
jmp 0x409f6f
mov edx, esi
mov eax, ebx
call fcn.00409b98
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x409f6f
cmp dword [esi], 0
je 0x409f58
mov eax, esi
mov edx, 0x409fd4
call fcn.00407bf4
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00409b98
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00407bf4
push 0x424c0c
call sub.kernel32.dll_EnterCriticalSection
mov word [0x424c24], bx
mov eax, dword [esi]
call fcn.00407a8c
mov ecx, eax
mov eax, 0x424c26
mov edx, 0xaa
call fcn.00409a14
push 0x424c0c
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409fc1
lea eax, [ebp - 4]
call fcn.004074c4
pop eax
jmp eax
Function at 0x40a1ec
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.004075a8
xor eax, eax
push ebp
push 0x40a415
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40a22c
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40a246
mov eax, dword [ebp - 4]
call fcn.00407a8c
mov ecx, eax
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00409a14
cmp word [ebp - 0x21a], 0
je 0x40a3fd
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a424
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40a315
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a424
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40a315
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a460
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40a315
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a460
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40a315
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a494
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40a315
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a4c8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40a3fd
xor eax, eax
push ebp
push 0x40a3f6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00409ffc
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 0x40a384
mov eax, dword [ebp - 0x10]
call fcn.00404528
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.00407ae0
jmp 0x40a3cf
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x40a508
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40a3cf
mov eax, dword [ebp - 0x10]
call fcn.00404528
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x40a508
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00407ae0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a3fd
cmp dword [ebp - 8], 0
je 0x40a3ea
mov eax, dword [ebp - 8]
call fcn.00404544
mov eax, dword [ebp - 0xc]
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 0x40a41c
lea eax, [ebp - 4]
call fcn.004074c4
pop eax
jmp eax
Function at 0x40a728
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.004075a8
xor eax, eax
push ebp
push 0x40a7ea
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.00407b1c
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407c4c
mov eax, dword [ebx]
call fcn.0040a5d0
test al, al
jne 0x40a7c5
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00407b1c
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407c4c
mov eax, dword [ebx]
call fcn.0040a5d0
test al, al
jne 0x40a7c5
mov eax, ebx
call fcn.004074c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a7f1
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00407524
lea eax, [ebp - 4]
call fcn.004074c4
pop eax
jmp eax

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

Disassembly:
cmp eax, edx
je 0x416119
test eax, edx
je 0x41611c
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x4160d7
movzx eax, word [eax]
sub eax, ecx
jmp 0x4160fe
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 0x4160ff
add ecx, 4
js 0x4160ef
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x4160fc
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x4160fe
xor eax, eax
ret
test eax, eax
je 0x416128
test edx, edx
jne 0x4160c8
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x418474
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 0x4184ad
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00407600
jmp 0x4184b6
mov eax, ebx
mov edx, esi
call fcn.004077b4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4184c0
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 0x4184e2
movzx eax, word [esp]
jmp 0x4184e4
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4197e4
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 0x41990b
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.004195ec
mov esi, eax
mov eax, dword [0x4216a4]
cmp byte [eax], 0
je 0x4198b1
mov eax, dword [0x4215b4]
call fcn.00404e2c
call fcn.0040467c
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 [0x4197b4]
call fcn.004094cc
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 0x419924
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x4198ed
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x42158c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x42562c]
call fcn.004096b8
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 0x419912
lea eax, [ebp - 4]
mov edx, dword [0x4197b4]
call fcn.004095f0
pop eax
jmp eax
Function at 0x41ab14
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 0x41ac18
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004077fc
lea eax, [ebp - 4]
call fcn.00407968
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00407a8c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x41ac00
mov eax, ebx
call fcn.00404528
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x41abf9
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.00407a8c
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x41abe1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x41ac2c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x41abe1
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 0x41ac00
mov eax, dword [ebp - 0x10]
call fcn.00404544
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41ac1f
lea eax, [ebp - 4]
call fcn.004074c4
pop eax
jmp eax

Function at 0x41b878
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.004078b0
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040c260
mov edi, eax
cmp edi, 0x104
jbe 0x41b823
mov eax, edi
add eax, eax
call fcn.00404528
mov esi, eax
jmp 0x41b825
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040c260
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x41b85e
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 0x41b848
mov eax, esp
cmp esi, eax
je 0x41b86b
mov eax, esi
call fcn.00404544
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 0x41b8a4
cmp bl, 0
je 0x41b8a0
cmp bl, 0x41
jl 0x41b89b
cmp bl, 0x5a
jg 0x41b89b
or bl, 0x20
xor al, bl
inc esi
jmp 0x41b87f
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x41b7e4

Function at 0x41bb44
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.00407b1c
add esp, 0x800
pop ebx
ret
Function at 0x41caf0
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x20
add esp, 0xfffff004
push eax
dec eax
jne 0x41caf9
mov eax, dword [ebp - 4]
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20014], ecx
mov dword [ebp - 0x20010], ecx
mov dword [ebp - 4], ecx
mov ebx, edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x41cc61
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004074c4
lea eax, [ebp - 0x2000c]
xor ecx, ecx
mov edx, 0x20000
call fcn.00404e9c
push 0
push 0
push 0
push 0
push 0
call sub.wininet.dll_InternetOpenW
mov esi, eax
test esi, esi
je 0x41cc23
push 0
push 0x80000000
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00407a8c
push eax
push esi
call sub.wininet.dll_InternetOpenUrlW
mov edi, eax
test edi, edi
je 0x41cbf1
lea eax, [ebp - 4]
call fcn.004074e8
lea eax, [ebp - 0x2000c]
xor ecx, ecx
mov edx, 0x20000
call fcn.00404e9c
lea eax, [ebp - 0xc]
push eax
push 0x20000
lea eax, [ebp - 0x2000c]
push eax
push edi
call sub.wininet.dll_InternetReadFile
push 0xfde9
lea edx, [ebp - 0x2000c]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 0xc]
call fcn.00407654
lea eax, [ebp - 0x20010]
mov edx, dword [ebp - 4]
call fcn.00407b38
mov edx, dword [ebp - 0x20010]
mov eax, ebx
call fcn.00407bf4
cmp dword [ebp - 0xc], 0
jne 0x41cb82
push edi
call sub.wininet.dll_InternetCloseHandle
jmp 0x41cc1b
lea eax, [ebp - 0x20014]
mov ecx, dword [ebp - 8]
mov edx, 0x41cc7c
call fcn.00407c4c
mov ecx, dword [ebp - 0x20014]
mov dl, 1
mov eax, dword [0x413df0]
call fcn.00419928
call fcn.00406ca0
push esi
call sub.wininet.dll_InternetCloseHandle
jmp 0x41cc39
mov ecx, 0x41cc98
mov dl, 1
mov eax, dword [0x413df0]
call fcn.00419928
call fcn.00406ca0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41cc68
lea eax, [ebp - 0x20014]
mov edx, 2
call fcn.00407524
lea eax, [ebp - 4]
call fcn.004074e8
pop eax
jmp eax
Function at 0x429370
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov eax, ecx
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
cmp edi, 0x1f
jb 0x429510
test edx, 3
je 0x4293a2
movzx esi, byte [edx]
movzx ebx, al
inc edx
shr eax, 8
xor esi, ebx
xor eax, dword [ebp + esi*4]
dec edi
jmp 0x429387
xor eax, dword [edx]
lea edi, [edx + edi - 0x1b]
sub edx, edi
lea ebx, [ebx]
mov ecx, dword [edi + edx + 0xc]
mov ebx, dword [edi + edx + 8]
movzx esi, bl
xor ecx, dword [ebp + esi*4 + 0xc00]
movzx esi, bh
shr ebx, 0x10
xor ecx, dword [ebp + esi*4 + 0x800]
movzx esi, bl
shr ebx, 8
xor ecx, dword [ebp + esi*4 + 0x400]
xor ecx, dword [ebp + ebx*4]
mov ebx, dword [edi + edx + 4]
movzx esi, bl
xor ecx, dword [ebp + esi*4 + 0x1c00]
movzx esi, bh
shr ebx, 0x10
xor ecx, dword [ebp + esi*4 + 0x1800]
movzx esi, bl
shr ebx, 8
xor ecx, dword [ebp + esi*4 + 0x1400]
xor ecx, dword [ebp + ebx*4 + 0x1000]
movzx esi, al
mov ebx, eax
shr ebx, 0x18
xor ecx, dword [ebp + esi*4 + 0x2c00]
xor ecx, dword [ebp + ebx*4 + 0x2000]
ror eax, 0x10
movzx esi, al
shr eax, 0x18
xor ecx, dword [ebp + esi*4 + 0x2400]
xor ecx, dword [ebp + eax*4 + 0x2800]
mov eax, dword [edi + edx + 0x18]
mov ebx, dword [edi + edx + 0x14]
movzx esi, bl
xor eax, dword [ebp + esi*4 + 0xc00]
movzx esi, bh
shr ebx, 0x10
xor eax, dword [ebp + esi*4 + 0x800]
movzx esi, bl
shr ebx, 8
xor eax, dword [ebp + esi*4 + 0x400]
xor eax, dword [ebp + ebx*4]
mov ebx, dword [edi + edx + 0x10]
movzx esi, bl
xor eax, dword [ebp + esi*4 + 0x1c00]
movzx esi, bh
shr ebx, 0x10
xor eax, dword [ebp + esi*4 + 0x1800]
movzx esi, bl
shr ebx, 8
xor eax, dword [ebp + esi*4 + 0x1400]
xor eax, dword [ebp + ebx*4 + 0x1000]
movzx esi, cl
mov ebx, ecx
shr ebx, 0x18
xor eax, dword [ebp + esi*4 + 0x2c00]
xor eax, dword [ebp + ebx*4 + 0x2000]
ror ecx, 0x10
movzx esi, cl
shr ecx, 0x18
xor eax, dword [ebp + esi*4 + 0x2400]
xor eax, dword [ebp + ecx*4 + 0x2800]
add edx, 0x18
jae 0x4293b0
add edi, 0x18
sub edx, 0x18
movzx ebx, al
movzx ecx, ah
shr eax, 0x10
movzx esi, al
shr eax, 8
mov eax, dword [ebp + eax*4]
xor eax, dword [ebp + ebx*4 + 0xc00]
xor eax, dword [ebp + ecx*4 + 0x800]
xor eax, dword [ebp + esi*4 + 0x400]
add edx, 4
jb 0x429509
xor eax, dword [edi + edx]
jmp 0x4294d7
add edx, edi
add edi, 3
sub edi, edx
test edi, edi
je 0x429527
movzx esi, byte [edx]
movzx ebx, al
inc edx
shr eax, 8
xor esi, ebx
xor eax, dword [ebp + esi*4]
dec edi
jne 0x429514
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0xdaefb8
Capabilities:
Encode data using xor

Disassembly:
jmp 0xdaefc2
pushal
call 0xdaefc8
pop ebp
sub ebp, 0x10
sub ebp, 0x9aefb8
jmp 0xdaefde
mov eax, 0x9aefb8
add eax, ebp
add eax, 0x4c
mov ecx, 0x5b4
mov edx, 0xd7547666
xor byte [eax], dl
inc eax
dec ecx
jne 0xdaeff5
jmp 0xdaf008
in eax, dx
stosd dword es:[edi], eax
in eax, dx
out dx, eax
pop edx
out 0xa7, ax
sahf
stosw word es:[edi], ax
fisubr word [esi + 0x66]
fmul qword [esi + 0x66]
xchg cx, ax
test byte [ebp - 0x52], ah
in eax, dx
out 0x6a, eax
mov word gs:[0x4202eb36], ax
lcall 0xfd0a, 0xe4262ef
inc esi
push cs
sub dh, byte [edx]
sbb al, 0x66
dec edx
inc edx
push cs
push ebp
xor eax, 0x638eea81
invalid
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..pdata
nop
nop
mov ebx, 0x408f6c
mov ecx, 0x512527da
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
mov eax, section..pdata_1
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x4a527491
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219