joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409970
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 0x409ad5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00406dd0
cmp si, word [0x5de7dc]
jb 0x409a08
cmp si, word [0x5de9dc]
ja 0x409a08
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x409a08
mov ebx, dword [ebp - 8]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x5de7dc]
jae 0x4099e2
mov edi, ebx
dec edi
jmp 0x409a03
cmp si, word [ebx*8 + 0x5de7dc]
jbe 0x4099f2
inc ebx
mov dword [ebp - 8], ebx
jmp 0x409a03
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x5de7e0]
call fcn.00409880
jmp 0x409a08
cmp edi, dword [ebp - 8]
jae 0x4099cc
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x409ab7
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x409ab7
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.00407dcc
push dword [ebp - 0x160]
push 0x409af0
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.00407dcc
push dword [ebp - 0x164]
push 0x409b00
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00407dcc
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00408004
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409adc
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00406e30
ret
Function at 0x409c88
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 0x409d8b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x5e6b55
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x5e6b6e]
jne 0x409cd4
mov eax, esi
mov edx, 0x5e6b70
mov ecx, 0x55
call fcn.00407dcc
push 0x5e6b55
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x409d75
push 0x5e6b55
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00406dd0
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x409d43
cmp byte [0x5e6b54], 0
je 0x409d08
mov edx, esi
mov eax, ebx
call fcn.00409b6c
jmp 0x409d43
mov edx, esi
mov eax, ebx
call fcn.00409970
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x409d43
cmp dword [esi], 0
je 0x409d2c
mov eax, esi
mov edx, 0x409da4
call fcn.00407f24
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00409970
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00407f24
push 0x5e6b55
call sub.kernel32.dll_EnterCriticalSection
mov word [0x5e6b6e], bx
push 0xaa
mov eax, dword [esi]
call fcn.00407d40
push eax
push 0x5e6b70
call sub.kernel32.dll_lstrcpynW
push 0x5e6b55
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409d92
lea eax, [ebp - 4]
call fcn.00406dd0
ret
Function at 0x409fc0
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.00406eb4
xor eax, eax
push ebp
push 0x40a1e5
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40a000
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40a01a
push 0x105
mov eax, dword [ebp - 4]
call fcn.00407d40
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.kernel32.dll_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x40a1cf
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a1f4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40a0e9
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a1f4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40a0e9
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a230
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40a0e9
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a230
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40a0e9
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a264
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40a0e9
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a298
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40a1cf
xor eax, eax
push ebp
push 0x40a1c8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00409dcc
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 0x40a158
mov eax, dword [ebp - 0x10]
call fcn.00404714
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.00407d90
jmp 0x40a1a3
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x40a2d8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40a1a3
mov eax, dword [ebp - 0x10]
call fcn.00404714
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x40a2d8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00407d90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a1cf
cmp dword [ebp - 8], 0
je 0x40a1be
mov eax, dword [ebp - 8]
call fcn.00404730
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 0x40a1ec
lea eax, [ebp - 4]
call fcn.00406dd0
ret
Function at 0x40a524
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.00406eb4
xor eax, eax
push ebp
push 0x40a5e4
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.00407dcc
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407f7c
mov eax, dword [ebx]
call fcn.0040a3ec
test al, al
jne 0x40a5c1
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00407dcc
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407f7c
mov eax, dword [ebx]
call fcn.0040a3ec
test al, al
jne 0x40a5c1
mov eax, ebx
call fcn.00406dd0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a5eb
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00406e30
lea eax, [ebp - 4]
call fcn.00406dd0
ret

Function at 0x40afa4
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 0x41c7a0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x41c8c9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x218]
push eax
push 0x104
call sub.kernel32.dll_GetLogicalDriveStringsW
mov esi, eax
test esi, esi
jle 0x41c8a3
lea ebx, [ebp - 0x218]
lea eax, [ebx + 4]
mov word [eax], 0
push 0x104
lea eax, [ebp - 0x424]
push eax
push ebx
call sub.kernel32.dll_QueryDosDeviceW
mov esi, eax
test esi, esi
jle 0x41c88c
lea eax, [ebp - 4]
lea edx, [ebp - 0x424]
mov ecx, 0x106
call fcn.00407dcc
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00408258
test eax, eax
jle 0x41c88c
mov eax, dword [ebp - 4]
test eax, eax
je 0x41c840
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov edi, dword [ebp - 8]
test edi, edi
je 0x41c84e
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x428]
push eax
mov ecx, edi
sub ecx, esi
lea edx, [esi + 1]
mov eax, dword [ebp - 8]
call fcn.004080ec
mov eax, dword [ebp - 0x428]
push eax
lea eax, [ebp - 0x42c]
mov edx, ebx
call fcn.00407d90
mov edx, dword [ebp - 0x42c]
mov eax, dword [ebp - 0xc]
pop ecx
call fcn.00407f7c
jmp 0x41c8a3
add ebx, 2
cmp word [ebx], 0
jne 0x41c889
add ebx, 4
test ebx, ebx
je 0x41c89d
cmp word [ebx], 0
jne 0x41c7f2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41c8d0
lea eax, [ebp - 0x42c]
mov edx, 2
call fcn.00406e30
lea eax, [ebp - 4]
call fcn.00406dd0
ret
Function at 0x41c9bc
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdcc
push ebx
xor ebx, ebx
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41cb78
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
call fcn.00406dd0
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetFileSize
test eax, eax
jne 0x41ca20
cmp dword [ebp - 0x14], 0
je 0x41cb0e
push 0
push 1
push 0
push 2
push 0
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CreateFileMappingW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3ee
je 0x41cb0e
xor eax, eax
push ebp
push 0x41cb07
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
push 0
push 4
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x41caf0
xor eax, eax
push ebp
push 0x41cae9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
call sub.kernel32.dll_GetCurrentProcess
lea ecx, [ebp - 0x224]
mov edx, dword [ebp - 0x18]
call fcn.0040e320
test eax, eax
jbe 0x41cad2
lea eax, [ebp - 0x22c]
lea edx, [ebp - 0x224]
mov ecx, 0x106
call fcn.00407dcc
mov eax, dword [ebp - 0x22c]
lea edx, [ebp - 0x228]
call fcn.0041c7a0
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 8]
call fcn.004071b0
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41caf0
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_UnmapViewOfFile
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41cb0e
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
cmp byte [ebp - 9], 0
jne 0x41cb5a
lea edx, [ebp - 0x230]
mov eax, dword [ebp - 4]
call fcn.0041c8d8
mov edx, dword [ebp - 0x230]
mov eax, dword [ebp - 8]
call fcn.004071b0
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x41cb5a
lea edx, [ebp - 0x234]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0041c7a0
mov edx, dword [ebp - 0x234]
mov eax, dword [ebp - 8]
call fcn.004071b0
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41cb7f
lea eax, [ebp - 0x234]
mov edx, 4
call fcn.00406e30
ret
Function at 0x41cb88
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov byte [ebp - 1], 0
xor edx, edx
mov eax, 6
call fcn.00423fc8
test al, al
je 0x41cc30
mov eax, ebx
call fcn.00407d40
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41cc30
test ah, 4
je 0x41cc30
test al, 0x10
je 0x41cbcf
mov edi, 0x2000000
jmp 0x41cbd1
xor edi, edi
push 0
push edi
push 3
push 0
push 1
push 0x80000000
mov eax, ebx
call fcn.00407d40
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x41cc30
xor eax, eax
push ebp
push 0x41cc29
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov ecx, edi
mov eax, dword [ebp - 8]
call fcn.0041c9bc
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41cc30
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x41cee0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x41cf39
test eax, edx
je 0x41cf3c
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41cef7
movzx eax, word [eax]
sub eax, ecx
jmp 0x41cf1e
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 0x41cf1f
add ecx, 4
js 0x41cf0f
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41cf1c
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41cf1e
xor eax, eax
ret
test eax, eax
je 0x41cf48
test edx, edx
jne 0x41cee8
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x41e2b0
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.00407d40
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41e31a
test ah, 4
je 0x41e313
test bl, bl
jne 0x41e2d8
mov al, 1
jmp 0x41e341
test al, 0x10
je 0x41e2e0
xor eax, eax
jmp 0x41e341
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x41e304
push eax
call sub.kernel32.dll_CloseHandle_1
mov al, 1
jmp 0x41e341
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x41e341
test al, 0x10
sete al
jmp 0x41e341
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 2
je 0x41e33b
cmp ebx, 3
je 0x41e33b
cmp ebx, 0x7b
je 0x41e33b
mov eax, esi
call fcn.0041e270
test al, al
jne 0x41e33f
xor eax, eax
jmp 0x41e341
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x422120
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 0x422159
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00406f58
jmp 0x422162
mov eax, ebx
mov edx, esi
call fcn.004071b0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x422e4c
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 0x422f71
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00422c5c
mov esi, eax
mov eax, dword [0x5e3a9c]
cmp byte [eax], 0
je 0x422f19
mov eax, dword [0x5e352c]
call fcn.00404c34
call fcn.00404890
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 [0x422e24]
call fcn.004092a8
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 0x422f8c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x422f55
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x5e3464]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x5e6c38]
call fcn.004094b4
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 0x422f78
lea eax, [ebp - 4]
mov edx, dword [0x422e24]
call fcn.004093cc
ret
Function at 0x423fe8
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 0x4240be
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004071f8
lea eax, [ebp - 4]
call fcn.004073d4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00407d40
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x4240a8
mov eax, ebx
call fcn.00404714
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4240a1
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.00407d40
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x42408b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4240d0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x42408b
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 0x4240a8
mov eax, dword [ebp - 0x10]
call fcn.00404730
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4240c5
lea eax, [ebp - 4]
call fcn.00406dd0
ret

Function at 0x424c48
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.004072e0
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040af84
mov edi, eax
cmp edi, 0x104
jbe 0x424bf3
mov eax, edi
add eax, eax
call fcn.00404714
mov esi, eax
jmp 0x424bf5
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040af84
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x424c2e
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 0x424c18
mov eax, esp
cmp esi, eax
je 0x424c3b
mov eax, esi
call fcn.00404730
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 0x424c74
cmp bl, 0
je 0x424c70
cmp bl, 0x41
jl 0x424c6b
cmp bl, 0x5a
jg 0x424c6b
or bl, 0x20
xor al, bl
inc esi
jmp 0x424c4f
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x424bb4

Function at 0x4255e8
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.00407dcc
add esp, 0x800
pop ebx
ret
Function at 0x4510b4
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x451152
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x451116
cmp byte [ebx + 0x10], 0
jne 0x451116
cmp byte [ebx + 0x3c], 0
jne 0x451116
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 0x451137
lea edx, [ebp - 4]
mov eax, dword [0x5e39d0]
call fcn.0040aef0
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x43f3b4]
call fcn.00422fc8
call fcn.00406504
jmp 0x451137
lea edx, [ebp - 8]
mov eax, dword [0x5e39d0]
call fcn.0040aef0
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x43f3b4]
call fcn.00422fc8
call fcn.00406504
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451159
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406e30
ret

Function at 0x451a60
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 0x451aae
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.00451000
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x451ac7
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x451ad0
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00451000
dec esi
jne 0x451af2
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x4539b8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x5e8ff0
cmp dword [edi], 0
jne 0x453a34
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x5e8fec]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x5df2c0
mov ecx, 2
call fcn.004048e0
mov edx, 0x453990
lea eax, [esi + 5]
call fcn.004539b0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004539b0
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x453a09
mov dword [0x5e8fec], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x455b1c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x455b6e
test eax, edx
je 0x455b71
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x455b31
movzx eax, byte [eax]
sub eax, ecx
ret
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]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x455b57
add ecx, 4
js 0x455b47
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x455b54
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x455b7d
test edx, edx
jne 0x455b24
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret