joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4070b0
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffbe4
mov esi, edx
mov ebx, eax
test bl, bl
je 0x4070f2
movzx eax, bl
add ax, 0x41
dec eax
mov word [esp], ax
mov word [esp + 2], 0x3a
mov word [esp + 4], 0
lea eax, [esp + 0x212]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryW
push esp
call sub.kernel32.dll_SetCurrentDirectoryW
lea eax, [esp + 8]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryW
test bl, bl
je 0x407112
lea eax, [esp + 0x212]
push eax
call sub.kernel32.dll_SetCurrentDirectoryW
mov eax, esi
lea edx, [esp + 8]
mov ecx, 0x105
call fcn.0040b318
add esp, 0x41c
pop esi
pop ebx
ret

Function at 0x408e18
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.004092d8
mov byte [esp], al
cmp byte [esp], 0
jne 0x408fa1
test edi, edi
je 0x408fa1
mov byte [esp + 1], 0
test ebp, ebp
jle 0x408ee1
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x408ebc
cmp edi, 0xffffffff
je 0x408e7d
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x408e7d
mov byte [esp], 0
jmp 0x408fa1
cmp dword [esi], 1
jg 0x408ebc
cmp dword [esi], 0
jne 0x408eae
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x408eae
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x408fa1
lea eax, [esp + 0xc]
call fcn.00408af8
dec ebp
test ebp, ebp
jg 0x408e62
cmp edi, 0xffffffff
je 0x408ee1
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x408edf
mov byte [esp], 0
jmp 0x408fa1
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x408e26
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x408ee1
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.0040901c
mov edx, eax
mov ebx, dword [0x6d18fc]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x408f45
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x408f43
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x408f45
xor edi, edi
cmp byte [esp], 0
je 0x408f6b
mov ebx, dword [esi]
test bl, 1
jne 0x408f81
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x408f4b
mov byte [esp + 1], 1
jmp 0x408f81
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x408f6b
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x408ef8
cmp byte [esp], 0
je 0x408fa1
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 0x409e60
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x6d105c], 0
je 0x409ec7
cmp word [0x6d1348], 0xd7b2
jne 0x409e89
cmp dword [0x6d1350], 0
jbe 0x409e89
mov eax, 0x6d1344
call dword [0x6d1360]
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, 0x409ef4
call fcn.0040ac70
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x6c7036], 0
jne 0x409ee3
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x40a088
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 [0x6c7038], 0
je 0x40a0b3
mov edx, edi
mov eax, esi
call dword [0x6c7038]
mov ebx, eax
jmp 0x40a0c4
mov eax, 8
call fcn.00406f0c
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x6d105d], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x40a050
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 0x40a0f4
mov eax, ebx
call fcn.00406f28
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x40dc78
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 0x40dddd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040a1c8
cmp si, word [0x6c7a18]
jb 0x40dd10
cmp si, word [0x6c7c18]
ja 0x40dd10
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40dd10
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x6c7a18]
jae 0x40dcea
mov edi, ebx
dec edi
jmp 0x40dd0b
cmp si, word [ebx*8 + 0x6c7a18]
jbe 0x40dcfa
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40dd0b
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x6c7a1c]
call fcn.0040db98
jmp 0x40dd10
cmp edi, dword [ebp - 8]
jae 0x40dcd4
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40ddbf
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40ddbf
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.0040b318
push dword [ebp - 0x160]
push 0x40ddf8
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0040b318
push dword [ebp - 0x164]
push 0x40de08
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040b318
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040b550
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dde4
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.0040a228
ret
Function at 0x40df90
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 0x40e094
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x6d3c14
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x6d3c2c]
jne 0x40dfdc
mov eax, esi
mov edx, 0x6d3c2e
mov ecx, 0x55
call fcn.0040b318
push 0x6d3c14
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40e07e
push 0x6d3c14
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.0040a1c8
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40e04b
cmp byte [0x6d3c10], 0
je 0x40e010
mov edx, esi
mov eax, ebx
call fcn.0040de74
jmp 0x40e04b
mov edx, esi
mov eax, ebx
call fcn.0040dc78
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40e04b
cmp dword [esi], 0
je 0x40e034
mov eax, esi
mov edx, 0x40e0ac
call fcn.0040b470
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040dc78
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040b470
push 0x6d3c14
call sub.kernel32.dll_EnterCriticalSection
mov word [0x6d3c2c], bx
mov eax, dword [esi]
call fcn.0040b278
mov ecx, eax
mov eax, 0x6d3c2e
mov edx, 0xaa
call fcn.0040daf8
push 0x6d3c14
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e09b
lea eax, [ebp - 4]
call fcn.0040a1c8
ret
Function at 0x40e2c4
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.0040a2ac
xor eax, eax
push ebp
push 0x40e4e9
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40e304
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40e31e
mov eax, dword [ebp - 4]
call fcn.0040b278
mov ecx, eax
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040daf8
cmp word [ebp - 0x21a], 0
je 0x40e4d3
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40e4f8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e3ed
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40e4f8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e3ed
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40e534
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e3ed
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40e534
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e3ed
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40e568
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e3ed
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40e59c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40e4d3
xor eax, eax
push ebp
push 0x40e4cc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040e0d4
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 0x40e45c
mov eax, dword [ebp - 0x10]
call fcn.00406f0c
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.0040b2dc
jmp 0x40e4a7
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x40e5dc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40e4a7
mov eax, dword [ebp - 0x10]
call fcn.00406f0c
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x40e5dc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.0040b2dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e4d3
cmp dword [ebp - 8], 0
je 0x40e4c2
mov eax, dword [ebp - 8]
call fcn.00406f28
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 0x40e4f0
lea eax, [ebp - 4]
call fcn.0040a1c8
ret
Function at 0x40e7f0
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.0040a2ac
xor eax, eax
push ebp
push 0x40e8b0
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.0040b318
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040b4c8
mov eax, dword [ebx]
call fcn.0040e6a0
test al, al
jne 0x40e88d
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040b318
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040b4c8
mov eax, dword [ebx]
call fcn.0040e6a0
test al, al
jne 0x40e88d
mov eax, ebx
call fcn.0040a1c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e8b7
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040a228
lea eax, [ebp - 4]
call fcn.0040a1c8
ret

Function at 0x4103b4
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 0x415060
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov edx, ebx
mov eax, esp
call fcn.0041504c
add esp, 0x208
pop ebx
ret

Function at 0x422280
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4222d9
test eax, edx
je 0x4222dc
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x422297
movzx eax, word [eax]
sub eax, ecx
jmp 0x4222be
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 0x4222bf
add ecx, 4
js 0x4222af
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x4222bc
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x4222be
xor eax, eax
ret
test eax, eax
je 0x4222e8
test edx, edx
jne 0x422288
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x4237c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [esi]
add eax, edi
push eax
push ebx
call sub.kernel32.dll_ReadFile
test eax, eax
jne 0x4237ed
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4
Function at 0x4238c0
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.0040b278
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x42392a
test ah, 4
je 0x423923
test bl, bl
jne 0x4238e8
mov al, 1
jmp 0x423951
test al, 0x10
je 0x4238f0
xor eax, eax
jmp 0x423951
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x423914
push eax
call sub.kernel32.dll_CloseHandle
mov al, 1
jmp 0x423951
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x423951
test al, 0x10
sete al
jmp 0x423951
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x42394b
cmp ebx, 3
je 0x42394b
cmp ebx, 0x7b
je 0x42394b
mov eax, esi
call fcn.00423880
test al, al
jne 0x42394f
xor eax, eax
jmp 0x423951
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x423a38
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.0040b278
mov ebp, eax
push ebp
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x423a8d
call sub.kernel32.dll_GetLastError
mov edi, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x423a87
test ah, 4
je 0x423a87
test al, 0x10
je 0x423a87
mov eax, esi
call fcn.0040b278
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x423a8d
push edi
call sub.kernel32.dll_SetLastError
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x427df0
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 0x427e29
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0040a350
jmp 0x427e32
mov eax, ebx
mov edx, esi
call fcn.0040a5a8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x427e3c
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 0x427e5e
movzx eax, word [esp]
jmp 0x427e60
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x428eb0
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 0x428fd5
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00428cb8
mov esi, eax
mov eax, dword [0x6d0008]
cmp byte [eax], 0
je 0x428f7d
mov eax, dword [0x6cfbb0]
call fcn.004076fc
call fcn.00407080
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 [0x428e80]
call fcn.0040d208
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 0x428ff0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x428fb9
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x6cfb00]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x6d4634]
call fcn.0040d79c
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 0x428fdc
lea eax, [ebp - 4]
mov edx, dword [0x428e80]
call fcn.0040d32c
ret
Function at 0x429d98
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 0x429e6e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040a5f0
lea eax, [ebp - 4]
call fcn.0040a784
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040b278
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x429e58
mov eax, ebx
call fcn.00406f0c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x429e51
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.0040b278
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x429e3b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x429e80
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x429e3b
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 0x429e58
mov eax, dword [ebp - 0x10]
call fcn.00406f28
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429e75
lea eax, [ebp - 4]
call fcn.0040a1c8
ret

Function at 0x429e84
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 0x429f84
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040a5f0
lea eax, [ebp - 4]
call fcn.0040a784
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040b278
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x429f6e
mov eax, ebx
call fcn.00406f0c
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x429f67
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.0040b278
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x429f51
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x429f98
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x429f51
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 0x429f6e
mov eax, dword [ebp - 0x10]
call fcn.00406f28
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429f8b
lea eax, [ebp - 4]
call fcn.0040a1c8
ret
Function at 0x42af40
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.0040a6c4
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00410394
mov edi, eax
cmp edi, 0x104
jbe 0x42aeeb
mov eax, edi
add eax, eax
call fcn.00406f0c
mov esi, eax
jmp 0x42aeed
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00410394
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x42af26
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 0x42af10
mov eax, esp
cmp esi, eax
je 0x42af33
mov eax, esi
call fcn.00406f28
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 0x42af6c
cmp bl, 0
je 0x42af68
cmp bl, 0x41
jl 0x42af63
cmp bl, 0x5a
jg 0x42af63
or bl, 0x20
xor al, bl
inc esi
jmp 0x42af47
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x42aeac

Function at 0x42c2ec
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 0x42c30c
sub eax, 4
mov eax, dword [eax]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x42c326
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42c321
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x42c32b
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x42c399
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x42c3e2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x42c357
inc dword [ebp - 0xc]
jmp 0x42c36f
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x42c36f
cmp dword [ebp - 0xc], 0
jle 0x42c36f
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x42c391
xor eax, eax
jmp 0x42c38d
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x42c38c
mov eax, esi
jmp 0x42c3e5
inc eax
cmp eax, ecx
jle 0x42c379
inc esi
cmp esi, dword [ebp - 8]
jl 0x42c343
jmp 0x42c3e2
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x42c3e2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x42c3ba
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x42c3dc
xor eax, eax
jmp 0x42c3d8
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x42c3d7
mov eax, esi
jmp 0x42c3e5
inc eax
cmp eax, ecx
jle 0x42c3c4
inc esi
cmp esi, dword [ebp - 8]
jl 0x42c3a2
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10