joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c000
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x448004]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push 0x419
push ecx
mov dword [ebp - 0x54], edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
push 0
push 0
push 0x146
push ebx
call edi
mov esi, eax
sub esi, 1
js 0x40c050
nop dword [eax]
push 0
push esi
push 0x144
push ebx
call edi
sub esi, 1
jns 0x40c040
xor edi, edi
xor esi, esi
mov dword [ebp - 0x50], edi
test esi, esi
jne 0x40c077
lea ecx, [esi + 0x35]
call fcn.0040be70
push eax
push esi
push 0x143
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
inc edi
mov dword [ebp - 0x50], edi
jmp 0x40c0ed
mov edi, dword [esi*4 + 0x43bc90]
mov eax, edi
cdq
and edx, 0xfffff
lea ecx, [edx + eax]
mov eax, edi
cdq
and edx, 0x3ff
sar ecx, 0x14
add eax, edx
sar eax, 0xa
cmp edi, 0x100000
cmovge eax, ecx
mov ecx, str._d_KB
push eax
mov eax, str._d_MB
cmovl eax, ecx
push eax
lea eax, [ebp - 0x4c]
push 0x40
push eax
call fcn.00401010
add esp, 0x10
lea eax, [ebp - 0x4c]
push eax
push 0
push 0x143
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [ebp - 0x50]
inc edi
cmp dword [ebp - 0x54], 0
mov dword [ebp - 0x50], edi
jne 0x40c0ed
cmp dword [esi*4 + 0x43bc90], 0x10000
je 0x40c0f7
inc esi
cmp esi, 0x10
jb 0x40c057
mov eax, dword [ebp + 8]
cmp eax, edi
jge 0x40c102
test eax, eax
jns 0x40c112
push eax
push str.Change_invalid_default_index__d_to_0
call fcn.00414ac0
add esp, 8
xor eax, eax
push 0
push eax
push 0x14e
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041fa5e
mov esp, ebp
pop ebp
ret

Function at 0x40ccb0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], edx
push edi
push edi
mov dword [ebp - 0xc], ecx
call ebx
mov dword [ebp - 8], eax
lea esi, [eax + 1]
push esi
call fcn.0042442e
mov esi, eax
add esp, 4
mov dword [ebp - 4], esi
test esi, esi
jne 0x40cced
lea eax, [edi + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push dword [ebp - 8]
call ebx
mov eax, esi
cmp byte [eax], 0
je 0x40cd48
mov ebx, dword [ebp + 8]
nop dword [eax]
cmp edi, ebx
jge 0x40cd30
movsx ecx, byte [esi]
xor edx, edx
call fcn.0040d050
mov ecx, dword [ebp - 0xc]
cmp ecx, eax
jne 0x40cd30
movsx eax, byte [esi]
push ecx
push eax
push str._C:_is_belong_to_phydrive_d
call fcn.00414ac0
mov ecx, dword [ebp - 0x10]
add esp, 0xc
mov al, byte [esi]
mov byte [edi + ecx], al
inc edi
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40cd35
sub eax, edx
inc esi
add esi, eax
cmp byte [esi], cl
jne 0x40cd00
mov eax, dword [ebp - 4]
push eax
call fcn.0042422d
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4161e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
mov ebx, edx
push esi
push edi
lea esi, [ecx + 0x200]
mov edi, ebx
mov ecx, 0x80
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x18]
lea edi, [ebx + 0x10]
mov edx, dword [ebx + 0x20]
mov esi, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x1c]
mov dword [ebx + 0x18], edx
add edx, 0xffffffe0
mov dword [ebx + 0x1c], esi
adc esi, 0xffffffff
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x4c], esi
or eax, 0xffffffff
mov esi, dword [ebx + 0xc]
mov dword [ebx + 0x24], ecx
mov dword [ebx + 0x48], edx
mov dword [edi], 0
test esi, esi
je 0x41624a
nop dword [eax + eax]
movzx edx, byte [ebx]
lea ebx, [ebx + 1]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x43b3a0]
sub esi, 1
jne 0x416230
not eax
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x416af0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x448004]
xor eax, ebp
mov dword [ebp - 4], eax
movsx eax, cl
xorps xmm0, xmm0
push eax
push str._C:_
lea eax, [ebp - 0x24]
mov dword [ebp - 0x2c], 0
push 0x20
push eax
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x28], 0
movups xmmword [ebp - 0x14], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
call fcn.00401010
add esp, 0x10
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x416b90
mov edx, dword [ebp - 0x28]
mov eax, edx
mov ecx, dword [ebp - 0x2c]
imul eax, ecx
push eax
push edx
push ecx
lea eax, [ebp - 0x24]
push eax
push str.GetVolumeClusterSize__s_SUCCESS__u__u__u
call fcn.00414ac0
mov eax, dword [ebp - 0x28]
add esp, 0x14
imul eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fa5e
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x24]
push eax
push str.GetVolumeClusterSize__s_failed_err:_u
call fcn.00414ac0
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
xor eax, eax
call fcn.0041fa5e
mov esp, ebp
pop ebp
ret
Function at 0x404778
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x4056c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.00405aac
mov byte [esp], al
cmp byte [esp], 0
jne 0x405849
test edi, edi
je 0x405849
mov byte [esp + 1], 0
test ebp, ebp
jle 0x405780
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
test ebp, ebp
jle 0x40575b
cmp edi, 0xffffffff
je 0x40571f
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x40571f
mov byte [esp], 0
jmp 0x405849
mov ebx, dword [esi]
cmp ebx, 1
jg 0x40575b
test ebx, ebx
jne 0x405754
mov eax, esi
xor ecx, ecx
mov edx, 1
call fcn.00402580
test eax, eax
jne 0x405754
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x405849
pause
dec ebp
test ebp, ebp
jg 0x405704
cmp edi, 0xffffffff
je 0x405780
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x40577e
mov byte [esp], 0
jmp 0x405849
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x4056ce
lea edx, [ebx + 2]
mov eax, esi
mov ecx, ebx
call fcn.00402580
cmp ebx, eax
jne 0x405780
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.004058bc
mov edx, eax
mov ebx, dword [reloc.comctl32.dll_FlatSB_GetScrollInfo]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x4057e7
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x4057e5
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x4057e7
xor edi, edi
cmp byte [esp], 0
je 0x405810
mov ebx, dword [esi]
test bl, 1
jne 0x405829
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, esi
mov ecx, ebx
call fcn.00402580
cmp ebx, eax
jne 0x4057ed
mov byte [esp + 1], 1
jmp 0x405829
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, esi
mov ecx, ebx
call fcn.00402580
cmp ebx, eax
jne 0x405810
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x40579a
cmp byte [esp], 0
je 0x405849
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4065c4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4dc050], 0
je 0x406625
cmp word [0x4dc32c], 0xd7b2
jne 0x4065ed
cmp dword [reloc.user32.dll_ReleaseDC], 0
jbe 0x4065ed
mov eax, 0x4dc328
call dword [0x4dc344]
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
push 0x406650
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4d6028], 0
jne 0x406641
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x40681c
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 [0x4d602c], 0
je 0x406847
mov edx, edi
mov eax, esi
call dword [0x4d602c]
mov ebx, eax
jmp 0x406858
mov eax, 8
call fcn.00404368
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x4dc051], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x4067e4
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 0x40688d
mov edx, 8
mov eax, ebx
call fcn.00404384
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x408a14
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 0x408b79
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00406960
cmp si, word [0x4d67dc]
jb 0x408aac
cmp si, word [0x4d69dc]
ja 0x408aac
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x408aac
mov ebx, dword [ebp - 8]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x4d67dc]
jae 0x408a86
mov edi, ebx
dec edi
jmp 0x408aa7
cmp si, word [ebx*8 + 0x4d67dc]
jbe 0x408a96
inc ebx
mov dword [ebp - 8], ebx
jmp 0x408aa7
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x4d67e0]
call fcn.00408924
jmp 0x408aac
cmp edi, dword [ebp - 8]
jae 0x408a70
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x408b5b
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x408b5b
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.0040739c
push dword [ebp - 0x160]
push 0x408b94
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0040739c
push dword [ebp - 0x164]
push 0x408ba4
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040739c
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.004075d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408b80
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.004069c0
ret
Function at 0x408d2c
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 0x408e2f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4deb51
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x4deb6a]
jne 0x408d78
mov eax, esi
mov edx, 0x4deb6c
mov ecx, 0x55
call fcn.0040739c
push 0x4deb51
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x408e19
push 0x4deb51
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00406960
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x408de7
cmp byte [0x4deb50], 0
je 0x408dac
mov edx, esi
mov eax, ebx
call fcn.00408c10
jmp 0x408de7
mov edx, esi
mov eax, ebx
call fcn.00408a14
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x408de7
cmp dword [esi], 0
je 0x408dd0
mov eax, esi
mov edx, 0x408e48
call fcn.004074f4
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00408a14
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004074f4
push 0x4deb51
call sub.kernel32.dll_EnterCriticalSection
mov word [0x4deb6a], bx
push 0xaa
mov eax, dword [esi]
call fcn.004072f8
push eax
push 0x4deb6c
call sub.kernel32.dll_lstrcpynW
push 0x4deb51
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408e36
lea eax, [ebp - 4]
call fcn.00406960
ret
Function at 0x409064
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.00406a44
xor eax, eax
push ebp
push 0x409289
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x4090a4
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x4090be
push 0x105
mov eax, dword [ebp - 4]
call fcn.004072f8
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.kernel32.dll_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x409273
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409298
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40918d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409298
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40918d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4092d4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40918d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4092d4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40918d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409308
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40918d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40933c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x409273
xor eax, eax
push ebp
push 0x40926c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00408e70
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 0x4091fc
mov eax, dword [ebp - 0x10]
call fcn.00404368
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.00407348
jmp 0x409247
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x40937c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x409247
mov eax, dword [ebp - 0x10]
call fcn.00404368
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x40937c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00407348
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409273
cmp dword [ebp - 8], 0
je 0x409262
mov eax, dword [ebp - 8]
call fcn.00404384
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 0x409290
lea eax, [ebp - 4]
call fcn.00406960
ret
Function at 0x4095c8
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.00406a44
xor eax, eax
push ebp
push 0x409688
push dword fs:[eax]
mov dword fs:[eax], esp
push 8
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.0040739c
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040754c
mov eax, dword [ebx]
call fcn.00409490
test al, al
jne 0x409665
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040739c
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040754c
mov eax, dword [ebx]
call fcn.00409490
test al, al
jne 0x409665
mov eax, ebx
call fcn.00406960
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40968f
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004069c0
lea eax, [ebp - 4]
call fcn.00406960
ret

Function at 0x41c138
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x41c191
test eax, edx
je 0x41c194
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41c14f
movzx eax, word [eax]
sub eax, ecx
jmp 0x41c176
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 0x41c177
add ecx, 4
js 0x41c167
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41c174
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41c176
xor eax, eax
ret
test eax, eax
je 0x41c1a0
test edx, edx
jne 0x41c140
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x420340
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 0x420379
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00406ac8
jmp 0x420382
mov eax, ebx
mov edx, esi
call fcn.00406d20
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x42038c
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 0x4203ae
movzx eax, word [esp]
jmp 0x4203b0
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x42106c
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 0x421191
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00420e7c
mov esi, eax
mov eax, dword [0x4dbc38]
cmp byte [eax], 0
je 0x421139
mov eax, dword [0x4db99c]
call fcn.00404874
call fcn.004044e4
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 [0x421044]
call fcn.00408464
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 0x4211ac
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x421175
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4db92c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4dec34]
call fcn.00408558
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 0x421198
lea eax, [ebp - 4]
mov edx, dword [0x421044]
call fcn.00408470
ret

Function at 0x4221d0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4222a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406d68
lea eax, [ebp - 4]
call fcn.00406f04
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004072f8
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x422290
mov eax, ebx
call fcn.00404368
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x422289
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004072f8
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x422273
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4222b8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x422273
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x422290
mov eax, dword [ebp - 0x10]
call fcn.00404384
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4222ad
lea eax, [ebp - 4]
call fcn.00406960
ret
Function at 0x422c2c
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.00406e10
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00409f54
mov edi, eax
cmp edi, 0x104
jbe 0x422bd7
mov eax, edi
add eax, eax
call fcn.00404368
mov esi, eax
jmp 0x422bd9
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00409f54
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x422c12
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 0x422bfc
mov eax, esp
cmp esi, eax
je 0x422c1f
mov eax, esi
call fcn.00404384
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 0x422c58
cmp bl, 0
je 0x422c54
cmp bl, 0x41
jl 0x422c4f
cmp bl, 0x5a
jg 0x422c4f
or bl, 0x20
xor al, bl
inc esi
jmp 0x422c33
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x422b98

Function at 0x4233f8
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.0040739c
add esp, 0x800
pop ebx
ret

Function at 0x448cf4
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x448d92
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x448d56
cmp byte [ebx + 0x10], 0
jne 0x448d56
cmp byte [ebx + 0x3c], 0
jne 0x448d56
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x448d77
lea edx, [ebp - 4]
mov eax, dword [0x4dbbd8]
call fcn.00409ec0
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x439118]
call fcn.004211b0
call fcn.00406064
jmp 0x448d77
lea edx, [ebp - 8]
mov eax, dword [0x4dbbd8]
call fcn.00409ec0
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x439118]
call fcn.004211b0
call fcn.00406064
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x448d99
lea eax, [ebp - 8]
mov edx, 2
call fcn.004069c0
ret

Function at 0x4496a0
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 + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4496ee
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.00448c40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x449707
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret