joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a444
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x7f705c], 0
je 0x40a4ab
cmp word [0x7f7348], 0xd7b2
jne 0x40a46d
cmp dword [0x7f7350], 0
jbe 0x40a46d
mov eax, 0x7f7344
call dword [0x7f7360]
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, 0x40a4d8
call fcn.0040afe0
push eax
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x7d1036], 0
jne 0x40a4c7
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x40a66c
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 [0x7d1038], 0
je 0x40a697
mov edx, edi
mov eax, esi
call dword [0x7d1038]
mov ebx, eax
jmp 0x40a6a8
mov eax, 8
call fcn.00406f18
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x7f705d], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x40a634
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 0x40a6d8
mov eax, ebx
call fcn.00406f34
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x40dbd0
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 0x40dd37
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040a7ac
cmp si, word [0x7d1a18]
jb 0x40dc68
cmp si, word [0x7d1c18]
ja 0x40dc68
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40dc68
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x7d1a18]
jae 0x40dc42
mov edi, ebx
dec edi
jmp 0x40dc63
cmp si, word [ebx*8 + 0x7d1a18]
jbe 0x40dc52
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40dc63
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x7d1a1c]
call fcn.0040daec
jmp 0x40dc68
cmp edi, dword [ebp - 8]
jae 0x40dc2c
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40dd17
push 2
movzx eax, si
push eax
call sub.KERNEL32.DLL_IsValidLocale
test eax, eax
je 0x40dd17
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.0040b2e8
push dword [ebp - 0x160]
push 0x40dd54
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0040b2e8
push dword [ebp - 0x164]
push 0x40dd64
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040b2e8
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040b520
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dd3e
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.0040a80c
pop eax
jmp eax
Function at 0x40deec
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 0x40dff2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x7f9c14
call sub.KERNEL32.DLL_EnterCriticalSection
cmp bx, word [0x7f9c2c]
jne 0x40df38
mov eax, esi
mov edx, 0x7f9c2e
mov ecx, 0x55
call fcn.0040b2e8
push 0x7f9c14
call sub.KERNEL32.DLL_LeaveCriticalSection
jmp 0x40dfda
push 0x7f9c14
call sub.KERNEL32.DLL_LeaveCriticalSection
mov eax, esi
call fcn.0040a7ac
push 2
movzx eax, bx
push eax
call sub.KERNEL32.DLL_IsValidLocale
test eax, eax
je 0x40dfa7
cmp byte [0x7f9c10], 0
je 0x40df6c
mov edx, esi
mov eax, ebx
call fcn.0040ddd0
jmp 0x40dfa7
mov edx, esi
mov eax, ebx
call fcn.0040dbd0
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40dfa7
cmp dword [esi], 0
je 0x40df90
mov eax, esi
mov edx, 0x40e00c
call fcn.0040b440
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040dbd0
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040b440
push 0x7f9c14
call sub.KERNEL32.DLL_EnterCriticalSection
mov word [0x7f9c2c], bx
mov eax, dword [esi]
call fcn.0040b230
mov ecx, eax
mov eax, 0x7f9c2e
mov edx, 0xaa
call fcn.0040da4c
push 0x7f9c14
call sub.KERNEL32.DLL_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dff9
lea eax, [ebp - 4]
call fcn.0040a7ac
pop eax
jmp eax
Function at 0x40e224
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.0040a890
xor eax, eax
push ebp
push 0x40e44d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40e264
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameW
jmp 0x40e27e
mov eax, dword [ebp - 4]
call fcn.0040b230
mov ecx, eax
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040da4c
cmp word [ebp - 0x21a], 0
je 0x40e435
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40e45c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e34d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40e45c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e34d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40e498
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e34d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40e498
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e34d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40e4cc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e34d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40e500
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40e435
xor eax, eax
push ebp
push 0x40e42e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040e034
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 0x40e3bc
mov eax, dword [ebp - 0x10]
call fcn.00406f18
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.0040b294
jmp 0x40e407
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x40e540
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40e407
mov eax, dword [ebp - 0x10]
call fcn.00406f18
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x40e540
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.0040b294
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e435
cmp dword [ebp - 8], 0
je 0x40e422
mov eax, dword [ebp - 8]
call fcn.00406f34
mov eax, dword [ebp - 0xc]
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 0x40e454
lea eax, [ebp - 4]
call fcn.0040a7ac
pop eax
jmp eax
Function at 0x40e760
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.0040a890
xor eax, eax
push ebp
push 0x40e822
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.0040b2e8
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040b498
mov eax, dword [ebx]
call fcn.0040e608
test al, al
jne 0x40e7fd
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040b2e8
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040b498
mov eax, dword [ebx]
call fcn.0040e608
test al, al
jne 0x40e7fd
mov eax, ebx
call fcn.0040a7ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e829
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040a80c
lea eax, [ebp - 4]
call fcn.0040a7ac
pop eax
jmp eax

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

Disassembly:
cmp eax, edx
je 0x425591
test eax, edx
je 0x425594
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x42554f
movzx eax, word [eax]
sub eax, ecx
jmp 0x425576
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 0x425577
add ecx, 4
js 0x425567
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x425574
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x425576
xor eax, eax
ret
test eax, eax
je 0x4255a0
test edx, edx
jne 0x425540
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x426a14
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 0x426a41
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x426b14
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.0040b230
mov edi, eax
push edi
call sub.KERNEL32.DLL_GetFileAttributesW
cmp eax, 0xffffffff
je 0x426b7e
test ah, 4
je 0x426b77
test bl, bl
jne 0x426b3c
mov al, 1
jmp 0x426ba5
test al, 0x10
je 0x426b44
xor eax, eax
jmp 0x426ba5
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.KERNEL32.DLL_CreateFileW
cmp eax, 0xffffffff
je 0x426b68
push eax
call sub.KERNEL32.DLL_CloseHandle
mov al, 1
jmp 0x426ba5
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x426ba5
test al, 0x10
sete al
jmp 0x426ba5
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x426b9f
cmp ebx, 3
je 0x426b9f
cmp ebx, 0x7b
je 0x426b9f
mov eax, esi
call fcn.00426ad4
test al, al
jne 0x426ba3
xor eax, eax
jmp 0x426ba5
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x426bac
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.0040b230
mov ebp, eax
push ebp
call sub.KERNEL32.DLL_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x426c4a
test esi, 0x400
jne 0x426be1
test esi, 0x10
setne bl
jmp 0x426c4a
cmp byte [esp], 0
je 0x426c15
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.KERNEL32.DLL_CreateFileW
cmp eax, 0xffffffff
je 0x426c4a
push eax
call sub.KERNEL32.DLL_CloseHandle
test esi, 0x10
setne bl
jmp 0x426c4a
test esi, 0x10
je 0x426c21
mov bl, 1
jmp 0x426c4a
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.KERNEL32.DLL_CreateFileW
cmp eax, 0xffffffff
je 0x426c48
push eax
call sub.KERNEL32.DLL_CloseHandle
xor ebx, ebx
jmp 0x426c4a
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x426e7c
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.0040b230
mov ebp, eax
push ebp
call sub.KERNEL32.DLL_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x426ed1
call sub.KERNEL32.DLL_GetLastError
mov edi, eax
push ebp
call sub.KERNEL32.DLL_GetFileAttributesW
cmp eax, 0xffffffff
je 0x426ecb
test ah, 4
je 0x426ecb
test al, 0x10
je 0x426ecb
mov eax, esi
call fcn.0040b230
push eax
call sub.KERNEL32.DLL_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x426ed1
push edi
call sub.KERNEL32.DLL_SetLastError
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x42b0dc
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 0x42b115
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0040a934
jmp 0x42b11e
mov eax, ebx
mov edx, esi
call fcn.0040ab8c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x42c44c
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 0x42c573
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0042c254
mov esi, eax
mov eax, dword [0x7f645c]
cmp byte [eax], 0
je 0x42c519
mov eax, dword [0x7f5cc4]
call fcn.00407e68
call fcn.0040708c
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 [0x42c41c]
call fcn.0040d2d0
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 0x42c58c
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x42c555
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x7f5bb0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x7fa634]
call fcn.0040d6f0
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 0x42c57a
lea eax, [ebp - 4]
mov edx, dword [0x42c41c]
call fcn.0040d3f4
pop eax
jmp eax
Function at 0x42d7bc
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 0x42d896
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040abd4
lea eax, [ebp - 4]
call fcn.0040ad58
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040b230
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x42d87e
mov eax, ebx
call fcn.00406f18
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x42d877
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.0040b230
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x42d85f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x42d8a8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x42d85f
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 0x42d87e
mov eax, dword [ebp - 0x10]
call fcn.00406f34
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d89d
lea eax, [ebp - 4]
call fcn.0040a7ac
pop eax
jmp eax

Function at 0x42d8ac
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 0x42d9b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040abd4
lea eax, [ebp - 4]
call fcn.0040ad58
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040b230
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x42d998
mov eax, ebx
call fcn.00406f18
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x42d991
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.0040b230
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x42d979
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x42d9c4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x42d979
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 0x42d998
mov eax, dword [ebp - 0x10]
call fcn.00406f34
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d9b7
lea eax, [ebp - 4]
call fcn.0040a7ac
pop eax
jmp eax
Function at 0x42ea74
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.0040ac98
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00410524
mov edi, eax
cmp edi, 0x104
jbe 0x42ea1f
mov eax, edi
add eax, eax
call fcn.00406f18
mov esi, eax
jmp 0x42ea21
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00410524
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x42ea5a
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 0x42ea44
mov eax, esp
cmp esi, eax
je 0x42ea67
mov eax, esi
call fcn.00406f34
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 0x42eaa0
cmp bl, 0
je 0x42ea9c
cmp bl, 0x41
jl 0x42ea97
cmp bl, 0x5a
jg 0x42ea97
or bl, 0x20
xor al, bl
inc esi
jmp 0x42ea7b
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x42e9e0

Function at 0x42f414
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
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.0040b2e8
add esp, 0x800
pop ebx
ret

Function at 0x42fa2c
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.0040a7ac
push 0x400
lea eax, [esp + 4]
push eax
mov eax, edi
call fcn.0040b230
mov ebp, eax
push ebp
call sub.KERNEL32.DLL_GetEnvironmentVariableW
mov ebx, eax
cmp ebx, 0x400
jge 0x42fa71
mov edx, esp
mov eax, esi
mov ecx, ebx
call fcn.0040a934
jmp 0x42fa8a
mov edx, ebx
dec edx
mov eax, esi
call fcn.0040b3c0
push ebx
mov eax, dword [esi]
call fcn.0040b230
push eax
push ebp
call sub.KERNEL32.DLL_GetEnvironmentVariableW
add esp, 0x800
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4321c8
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 0x4321e8
sub eax, 4
mov eax, dword [eax]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x432202
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x4321fd
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x432207
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x432275
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x4322be
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x432233
inc dword [ebp - 0xc]
jmp 0x43224b
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x43224b
cmp dword [ebp - 0xc], 0
jle 0x43224b
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x43226d
xor eax, eax
jmp 0x432269
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x432268
mov eax, esi
jmp 0x4322c1
inc eax
cmp eax, ecx
jle 0x432255
inc esi
cmp esi, dword [ebp - 8]
jl 0x43221f
jmp 0x4322be
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x4322be
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x432296
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x4322b8
xor eax, eax
jmp 0x4322b4
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x4322b3
mov eax, esi
jmp 0x4322c1
inc eax
cmp eax, ecx
jle 0x4322a0
inc esi
cmp esi, dword [ebp - 8]
jl 0x43227e
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10