joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a528
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.0040a9e8
mov byte [esp], al
cmp byte [esp], 0
jne 0x40a6b1
test edi, edi
je 0x40a6b1
mov byte [esp + 1], 0
test ebp, ebp
jle 0x40a5f1
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x40a5cc
cmp edi, 0xffffffff
je 0x40a58d
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x40a58d
mov byte [esp], 0
jmp 0x40a6b1
cmp dword [esi], 1
jg 0x40a5cc
cmp dword [esi], 0
jne 0x40a5be
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x40a5be
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x40a6b1
lea eax, [esp + 0xc]
call fcn.0040a200
dec ebp
test ebp, ebp
jg 0x40a572
cmp edi, 0xffffffff
je 0x40a5f1
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x40a5ef
mov byte [esp], 0
jmp 0x40a6b1
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x40a536
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x40a5f1
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.0040a72c
mov edx, eax
mov ebx, dword [0x6c18fc]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x40a655
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x40a653
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x40a655
xor edi, edi
cmp byte [esp], 0
je 0x40a67b
mov ebx, dword [esi]
test bl, 1
jne 0x40a691
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x40a65b
mov byte [esp + 1], 1
jmp 0x40a691
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x40a67b
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x40a608
cmp byte [esp], 0
je 0x40a6b1
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 0x40b63c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x6c105c], 0
je 0x40b6a3
cmp word [0x6c1348], 0xd7b2
jne 0x40b665
cmp dword [0x6c1350], 0
jbe 0x40b665
mov eax, 0x6c1344
call dword [0x6c1360]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push 0x6b39e9
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, 0x40b6d0
call fcn.0040c3f4
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x6b303a], 0
jne 0x40b6bf
push 0
push 0x6b39e3
push 0x6b39e9
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x40b864
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 [0x6b303c], 0
je 0x40b88f
mov edx, edi
mov eax, esi
call dword [0x6b303c]
mov ebx, eax
jmp 0x40b8a0
mov eax, 8
call fcn.00407318
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x6c105d], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x40b82c
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 0x40b8d0
mov eax, ebx
call fcn.00407334
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc

Function at 0x40fb08
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 0x40fc6f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040b9a4
cmp si, word [0x6b3a20]
jb 0x40fba0
cmp si, word [0x6b3c20]
ja 0x40fba0
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40fba0
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x6b3a20]
jae 0x40fb7a
mov edi, ebx
dec edi
jmp 0x40fb9b
cmp si, word [ebx*8 + 0x6b3a20]
jbe 0x40fb8a
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40fb9b
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x6b3a24]
call fcn.0040fa24
jmp 0x40fba0
cmp edi, dword [ebp - 8]
jae 0x40fb64
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40fc4f
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40fc4f
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.0040c95c
push dword [ebp - 0x160]
push 0x40fc8c
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0040c95c
push dword [ebp - 0x164]
push 0x40fc9c
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040c95c
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040cb94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40fc76
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.0040ba04
pop eax
jmp eax
Function at 0x40fe24
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 0x40ff2a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x6c3c18
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x6c3c30]
jne 0x40fe70
mov eax, esi
mov edx, 0x6c3c32
mov ecx, 0x55
call fcn.0040c95c
push 0x6c3c18
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40ff12
push 0x6c3c18
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.0040b9a4
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40fedf
cmp byte [0x6c3c14], 0
je 0x40fea4
mov edx, esi
mov eax, ebx
call fcn.0040fd08
jmp 0x40fedf
mov edx, esi
mov eax, ebx
call fcn.0040fb08
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40fedf
cmp dword [esi], 0
je 0x40fec8
mov eax, esi
mov edx, 0x40ff44
call fcn.0040cab4
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040fb08
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040cab4
push 0x6c3c18
call sub.kernel32.dll_EnterCriticalSection
mov word [0x6c3c30], bx
mov eax, dword [esi]
call fcn.0040c8a8
mov ecx, eax
mov eax, 0x6c3c32
mov edx, 0xaa
call fcn.0040f984
push 0x6c3c18
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ff31
lea eax, [ebp - 4]
call fcn.0040b9a4
pop eax
jmp eax
Function at 0x41016c
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.0040ba98
xor eax, eax
push ebp
push 0x410394
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x4101b2
push 0x105
lea eax, [ebp - 0x21e]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x4101cc
mov eax, dword [ebp - 4]
call fcn.0040c8a8
mov ecx, eax
lea eax, [ebp - 0x21e]
mov edx, 0x105
call fcn.0040f984
cmp word [ebp - 0x21e], 0
je 0x410377
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x4103a4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x41029b
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x4103a4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x41029b
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x4103e0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x41029b
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x4103e0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x41029b
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x410414
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x41029b
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x410448
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x410377
xor eax, eax
push ebp
push 0x410370
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
lea eax, [ebp - 0x21e]
call fcn.0040ff6c
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 0x4102fe
mov eax, dword [ebp - 0x14]
call fcn.00407318
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.0040c908
jmp 0x410349
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0x410488
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x410349
mov eax, dword [ebp - 0x14]
call fcn.00407318
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push 0x410488
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.0040c908
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x410377
cmp dword [ebp - 0xc], 0
je 0x410364
mov eax, dword [ebp - 0xc]
call fcn.00407334
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 0x41039b
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040ba04
pop eax
jmp eax
Function at 0x4106a8
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.0040ba98
xor eax, eax
push ebp
push 0x41076a
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.0040c95c
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040cb0c
mov eax, dword [ebx]
call fcn.00410550
test al, al
jne 0x410745
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040c95c
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040cb0c
mov eax, dword [ebx]
call fcn.00410550
test al, al
jne 0x410745
mov eax, ebx
call fcn.0040b9a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x410771
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040ba04
lea eax, [ebp - 4]
call fcn.0040b9a4
pop eax
jmp eax

Function at 0x4120e8
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 0x415a98
Capabilities:
Set thread local storage value

Disassembly:
mov eax, 0x75bcd15
mov ecx, dword fs:[0x18]
mov eax, dword [ecx + eax]
or eax, eax
je 0x415ae4
ret
push ebx
mov eax, dword [0x6c00f0]
call fcn.0041460c
mov ebx, eax
call sub.kernel32.dll_GetCurrentThreadId
mov dword [ebx + 0xc], eax
mov byte [ebx + 0x10], 0
push ebx
mov eax, dword [0x6c4688]
push eax
call sub.kernel32.dll_TlsSetValue
mov eax, ebx
pop ebx
ret

Function at 0x429380
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4293d9
test eax, edx
je 0x4293dc
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x429397
movzx eax, word [eax]
sub eax, ecx
jmp 0x4293be
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 0x4293bf
add ecx, 4
js 0x4293af
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x4293bc
movzx eax, word [eax + ecx]
movzx edx, word [edx + ecx]
sub eax, edx
pop ebx
pop ebx
jmp 0x4293be
xor eax, eax
ret
test eax, eax
je 0x4293e8
test edx, edx
jne 0x429388
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x42a7f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.0040c8a8
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x42a85a
test ah, 4
je 0x42a853
test bl, bl
jne 0x42a818
mov al, 1
jmp 0x42a881
test al, 0x10
je 0x42a820
xor eax, eax
jmp 0x42a881
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x42a844
push eax
call sub.kernel32.dll_CloseHandle
mov al, 1
jmp 0x42a881
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x42a881
test al, 0x10
sete al
jmp 0x42a881
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x42a87b
cmp ebx, 3
je 0x42a87b
cmp ebx, 0x7b
je 0x42a87b
mov eax, esi
call fcn.0042a7b0
test al, al
jne 0x42a87f
xor eax, eax
jmp 0x42a881
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x42a888
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov byte [esp], dl
mov edi, eax
xor ebx, ebx
mov eax, edi
call fcn.0040c8a8
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x42a926
test esi, 0x400
jne 0x42a8bd
test esi, 0x10
setne bl
jmp 0x42a926
cmp byte [esp], 0
je 0x42a8f1
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x42a926
push eax
call sub.kernel32.dll_CloseHandle
test esi, 0x10
setne bl
jmp 0x42a926
test esi, 0x10
je 0x42a8fd
mov bl, 1
jmp 0x42a926
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x42a924
push eax
call sub.kernel32.dll_CloseHandle
xor ebx, ebx
jmp 0x42a926
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x42ab5c
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, eax
mov eax, esi
call fcn.0040c8a8
mov ebp, eax
push ebp
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x42abb1
call sub.kernel32.dll_GetLastError
mov edi, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x42abab
test ah, 4
je 0x42abab
test al, 0x10
je 0x42abab
mov eax, esi
call fcn.0040c8a8
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x42abb1
push edi
call sub.kernel32.dll_SetLastError
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x42fa7c
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 0x42fab5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0040bb3c
jmp 0x42fabe
mov eax, ebx
mov edx, esi
call fcn.0040bd94
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42fac8
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 0x42faec
movzx eax, word [esp]
jmp 0x42faee
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x431118
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 0x43123f
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00430f20
mov esi, eax
mov eax, dword [0x6bfe7c]
cmp byte [eax], 0
je 0x4311e5
mov eax, dword [0x6bf848]
call fcn.00408374
call fcn.004074fc
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 [0x4310e8]
call fcn.0040ef28
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 0x431258
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x431221
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x6bf764]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x6c463c]
call fcn.0040f628
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 0x431246
lea eax, [ebp - 4]
mov edx, dword [0x4310e8]
call fcn.0040f04c
pop eax
jmp eax
Function at 0x432260
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
mov dword [ebp - 0x11c], 0x114
lea eax, [ebp - 0x11c]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x4322a3
mov eax, dword [ebp - 0x10c]
mov dword [0x6c49c0], eax
mov eax, 0x6c49c4
lea edx, [ebp - 0x108]
mov ecx, 0x80
call fcn.0040c95c
mov eax, 0x6c49c8
call fcn.0040b9a4
xor eax, eax
mov dword [0x6c49cc], eax
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [0x6c4884], 0xa
jl 0x4323f9
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x432404
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x4323f9
xor eax, eax
push ebp
push 0x4323f2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x432460
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x432352
cmp dword [ebp - 8], 2
jle 0x432352
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x432325
adc edx, 0
mov eax, 0x6c49c8
call fcn.0040ca34
lea eax, [ebp - 8]
push eax
mov eax, dword [0x6c49c8]
call fcn.0040c8a8
push eax
push 0
push 0
push 0x432460
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
jmp 0x4323ac
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x432480
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x4323ac
cmp dword [ebp - 8], 2
jle 0x4323ac
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x432381
adc edx, 0
mov eax, 0x6c49c8
call fcn.0040ca34
lea eax, [ebp - 8]
push eax
mov eax, dword [0x6c49c8]
call fcn.0040c8a8
push eax
push 0
push 0
push 0x432480
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
push 0x6c49cc
push 0
push 0
push 0x432494
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
je 0x4323d9
xor eax, eax
mov dword [0x6c49cc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4323f9
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
mov byte [0x6b5350], 1
mov esp, ebp
pop ebp
ret
Function at 0x432598
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 0x432672
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040bddc
lea eax, [ebp - 4]
call fcn.0040bf88
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040c8a8
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x43265a
mov eax, ebx
call fcn.00407318
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x432653
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.0040c8a8
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x43263b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x432684
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x43263b
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 0x43265a
mov eax, dword [ebp - 0x10]
call fcn.00407334
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432679
lea eax, [ebp - 4]
call fcn.0040b9a4
pop eax
jmp eax

Function at 0x434244
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff800
mov esi, edx
mov edi, eax
mov eax, esi
call fcn.0040b9a4
push 0x400
lea eax, [esp + 4]
push eax
mov eax, edi
call fcn.0040c8a8
mov ebp, eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
mov ebx, eax
cmp ebx, 0x400
jge 0x434289
mov edx, esp
mov eax, esi
mov ecx, ebx
call fcn.0040bb3c
jmp 0x4342a2
mov edx, ebx
dec edx
mov eax, esi
call fcn.0040ca34
push ebx
mov eax, dword [esi]
call fcn.0040c8a8
push eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
add esp, 0x800
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x434994
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x4349b4
sub eax, 4
mov eax, dword [eax]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x4349ce
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x4349c9
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x4349d3
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x434a41
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x434a8a
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x4349ff
inc dword [ebp - 0xc]
jmp 0x434a17
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x434a17
cmp dword [ebp - 0xc], 0
jle 0x434a17
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x434a39
xor eax, eax
jmp 0x434a35
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x434a34
mov eax, esi
jmp 0x434a8d
inc eax
cmp eax, ecx
jle 0x434a21
inc esi
cmp esi, dword [ebp - 8]
jl 0x4349eb
jmp 0x434a8a
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x434a8a
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x434a62
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x434a84
xor eax, eax
jmp 0x434a80
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x434a7f
mov eax, esi
jmp 0x434a8d
inc eax
cmp eax, ecx
jle 0x434a6c
inc esi
cmp esi, dword [ebp - 8]
jl 0x434a4a
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10