joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401eeb
Capabilities:
Delete directory
Delete file

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.0040143d
mov ecx, esi
call fcn.00401452
mov edi, eax
test edi, edi
jne 0x401f24
mov ecx, esi
call fcn.004018ee
mov edi, eax
test edi, edi
jne 0x401f24
mov ecx, esi
call fcn.004016ea
mov edi, eax
test edi, edi
jne 0x401f24
mov ecx, esi
call fcn.00401ba3
mov edi, eax
cmp dword [0x40d044], 0
jne 0x401f4f
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esi + 0x1224]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esi, 0x1328
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov eax, edi
pop edi
pop esi
ret

Function at 0x401fda
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c020]
jne 0x401fe4
repz ret
jmp entry0

Function at 0x404219
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x40c820]
je 0x404234
inc edi
cmp edi, 0x17
jb 0x404225
cmp edi, 0x17
jae 0x4043b4
push ebp
push 3
call fcn.00407211
cmp eax, 1
pop ecx
je 0x404380
push 3
call fcn.00407211
test eax, eax
pop ecx
jne 0x404268
cmp dword [0x40c05c], 1
je 0x404380
cmp ebx, 0xfc
je 0x4043b3
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x40d248
push ebp
call fcn.004064a9
add esp, 0xc
test eax, eax
je 0x40429e
push esi
push esi
push esi
push esi
push esi
call fcn.0040110a
add esp, 0x14
push 0x104
mov esi, 0x40d261
push esi
push 0
mov byte [0x40d365], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4042e2
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.004064a9
add esp, 0xc
test eax, eax
je 0x4042e2
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0040110a
add esp, 0x14
push esi
call fcn.00406510
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x404327
push esi
call fcn.00406510
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x40d55c
push 0x409b0c
sub ecx, eax
push ecx
push eax
call fcn.004063f6
add esp, 0x14
test eax, eax
je 0x404327
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0040110a
add esp, 0x14
jmp 0x404329
xor esi, esi
push 0x409b08
push ebx
push ebp
call fcn.0040633e
add esp, 0xc
test eax, eax
je 0x404349
push esi
push esi
push esi
push esi
push esi
call fcn.0040110a
add esp, 0x14
push dword [edi*8 + 0x40c824]
push ebx
push ebp
call fcn.0040633e
add esp, 0xc
test eax, eax
je 0x40436b
push esi
push esi
push esi
push esi
push esi
call fcn.0040110a
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00407054
add esp, 0xc
jmp 0x4043b3
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x4043b3
cmp ebp, 0xffffffff
je 0x4043b3
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x40c824]
push dword [esi]
call fcn.00406510
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x404888
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.00406b28
test esi, esi
jne 0x4048be
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.00406cb0
jmp 0x4048dc
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004047cc
mov edi, eax
test esi, esi
je 0x4048dc
cmp dword [ebx], 0
je 0x4048dc
dec esi
jmp 0x4048c5
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x4058b4
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.00405ca0
mov byte [esp], al
cmp byte [esp], 0
jne 0x405a40
test edi, edi
je 0x405a40
mov byte [esp + 1], 0
test ebp, ebp
jle 0x405977
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
test ebp, ebp
jle 0x405952
cmp edi, 0xffffffff
je 0x405913
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x405913
mov byte [esp], 0
jmp 0x405a40
mov ebx, dword [esi]
cmp ebx, 1
jg 0x405952
test ebx, ebx
jne 0x405948
mov eax, esi
xor ecx, ecx
mov edx, 1
call fcn.00402798
test eax, eax
jne 0x405948
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x405a40
call 0x405dc4
dec ebp
test ebp, ebp
jg 0x4058f8
cmp edi, 0xffffffff
je 0x405977
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x405975
mov byte [esp], 0
jmp 0x405a40
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x4058c2
lea edx, [ebx + 2]
mov eax, esi
mov ecx, ebx
call fcn.00402798
cmp ebx, eax
jne 0x405977
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00405ab0
mov edx, eax
mov ebx, dword [0x5318f4]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x4059de
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x4059dc
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x4059de
xor edi, edi
cmp byte [esp], 0
je 0x405a07
mov ebx, dword [esi]
test bl, 1
jne 0x405a20
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, esi
mov ecx, ebx
call fcn.00402798
cmp ebx, eax
jne 0x4059e4
mov byte [esp + 1], 1
jmp 0x405a20
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, esi
mov ecx, ebx
call fcn.00402798
cmp ebx, eax
jne 0x405a07
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x405991
cmp byte [esp], 0
je 0x405a40
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 0x4067c0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x531058], 0
je 0x406827
cmp word [0x531340], 0xd7b2
jne 0x4067e9
cmp dword [0x531348], 0
jbe 0x4067e9
mov eax, 0x53133c
call dword [0x531358]
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, 0x406854
call fcn.0040742c
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x528032], 0
jne 0x406843
push 0
push 0x5289c2
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4069e4
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 [0x528034], 0
je 0x406a0f
mov edx, edi
mov eax, esi
call dword [0x528034]
mov ebx, eax
jmp 0x406a20
mov eax, 8
call fcn.00404508
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x531059], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x4069ac
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 0x406a55
mov edx, 8
mov eax, ebx
call fcn.00404524
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x40901c
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 0x409181
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00406b28
cmp si, word [0x528a00]
jb 0x4090b4
cmp si, word [0x528c00]
ja 0x4090b4
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x4090b4
mov ebx, dword [ebp - 8]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x528a00]
jae 0x40908e
mov edi, ebx
dec edi
jmp 0x4090af
cmp si, word [ebx*8 + 0x528a00]
jbe 0x40909e
inc ebx
mov dword [ebp - 8], ebx
jmp 0x4090af
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x528a04]
call fcn.00408f2c
jmp 0x4090b4
cmp edi, dword [ebp - 8]
jae 0x409078
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x409163
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x409163
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.00407808
push dword [ebp - 0x160]
push 0x40919c
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.00407808
push dword [ebp - 0x164]
push 0x4091ac
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00407808
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00407a40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409188
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00406b88
ret
Function at 0x409334
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 0x409437
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x533b80
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x533b98]
jne 0x409380
mov eax, esi
mov edx, 0x533b9a
mov ecx, 0x55
call fcn.00407808
push 0x533b80
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x409421
push 0x533b80
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00406b28
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x4093ef
cmp byte [0x533b7c], 0
je 0x4093b4
mov edx, esi
mov eax, ebx
call fcn.00409218
jmp 0x4093ef
mov edx, esi
mov eax, ebx
call fcn.0040901c
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x4093ef
cmp dword [esi], 0
je 0x4093d8
mov eax, esi
mov edx, 0x409450
call fcn.00407960
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040901c
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00407960
push 0x533b80
call sub.kernel32.dll_EnterCriticalSection
mov word [0x533b98], bx
push 0xaa
mov eax, dword [esi]
call fcn.00407774
push eax
push 0x533b9a
call sub.kernel32.dll_lstrcpynW
push 0x533b80
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40943e
lea eax, [ebp - 4]
call fcn.00406b28
ret
Function at 0x40966c
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.00406c0c
xor eax, eax
push ebp
push 0x409891
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x4096ac
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x4096c6
push 0x105
mov eax, dword [ebp - 4]
call fcn.00407774
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.kernel32.dll_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x40987b
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4098a0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409795
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4098a0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409795
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4098dc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409795
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4098dc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409795
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409910
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409795
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409944
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40987b
xor eax, eax
push ebp
push 0x409874
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00409478
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 0x409804
mov eax, dword [ebp - 0x10]
call fcn.00404508
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.004077cc
jmp 0x40984f
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x409984
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40984f
mov eax, dword [ebp - 0x10]
call fcn.00404508
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x409984
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.004077cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40987b
cmp dword [ebp - 8], 0
je 0x40986a
mov eax, dword [ebp - 8]
call fcn.00404524
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 0x409898
lea eax, [ebp - 4]
call fcn.00406b28
ret
Function at 0x409b78
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.00406c0c
xor eax, eax
push ebp
push 0x409c38
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.00407808
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004079b8
mov eax, dword [ebx]
call fcn.00409a40
test al, al
jne 0x409c15
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00407808
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004079b8
mov eax, dword [ebx]
call fcn.00409a40
test al, al
jne 0x409c15
mov eax, ebx
call fcn.00406b28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409c3f
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00406b88
lea eax, [ebp - 4]
call fcn.00406b28
ret

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

Disassembly:
cmp eax, edx
je 0x41d7e9
test eax, edx
je 0x41d7ec
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41d7a7
movzx eax, word [eax]
sub eax, ecx
jmp 0x41d7ce
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 0x41d7cf
add ecx, 4
js 0x41d7bf
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41d7cc
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41d7ce
xor eax, eax
ret
test eax, eax
je 0x41d7f8
test edx, edx
jne 0x41d798
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x4226e8
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 0x422721
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00406cb0
jmp 0x42272a
mov eax, ebx
mov edx, esi
call fcn.00406f08
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x422734
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 0x422756
movzx eax, word [esp]
jmp 0x422758
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x42342c
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 0x423551
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00423234
mov esi, eax
mov eax, dword [0x530bc0]
cmp byte [eax], 0
je 0x4234f9
mov eax, dword [0x530840]
call fcn.004049dc
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_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x4233fc]
call fcn.00408a6c
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 0x42356c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x423535
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x5307a4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x533c48]
call fcn.00408b60
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 0x423558
lea eax, [ebp - 4]
mov edx, dword [0x4233fc]
call fcn.00408a78
ret

Function at 0x4245cc
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 0x4246a2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406f50
lea eax, [ebp - 4]
call fcn.004070b8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00407774
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x42468c
mov eax, ebx
call fcn.00404508
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x424685
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.00407774
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x42466f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4246b4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x42466f
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 0x42468c
mov eax, dword [ebp - 0x10]
call fcn.00404524
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4246a9
lea eax, [ebp - 4]
call fcn.00406b28
ret
Function at 0x4250b8
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.00406ff8
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040a5dc
mov edi, eax
cmp edi, 0x104
jbe 0x425063
mov eax, edi
add eax, eax
call fcn.00404508
mov esi, eax
jmp 0x425065
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040a5dc
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x42509e
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 0x425088
mov eax, esp
cmp esi, eax
je 0x4250ab
mov eax, esi
call fcn.00404524
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 0x4250e4
cmp bl, 0
je 0x4250e0
cmp bl, 0x41
jl 0x4250db
cmp bl, 0x5a
jg 0x4250db
or bl, 0x20
xor al, bl
inc esi
jmp 0x4250bf
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x425024

Function at 0x4258ec
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.00407808
add esp, 0x800
pop ebx
ret

Function at 0x45017c
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x45021a
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x4501de
cmp byte [ebx + 0x10], 0
jne 0x4501de
cmp byte [ebx + 0x3c], 0
jne 0x4501de
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 0x4501ff
lea edx, [ebp - 4]
mov eax, dword [0x530b2c]
call fcn.0040a548
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x43e6e4]
call fcn.0042359c
call fcn.00406260
jmp 0x4501ff
lea edx, [ebp - 8]
mov eax, dword [0x530b2c]
call fcn.0040a548
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x43e6e4]
call fcn.0042359c
call fcn.00406260
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450221
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406b88
ret

Function at 0x450b1c
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 0x450b6a
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.004500c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x450b83
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret