joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e350
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x464bfc]
cmp dword [eax + 0x30], 0
je 0x44e3fa
cmp dword [ebx + 0x94], 0
jne 0x44e3f4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44e2e0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44e3f4
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44e3ba
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44e3f4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413690
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44e3c9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44eed8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44ef0d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004042fc
jmp 0x44ef1a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404260
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44ff28
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44ff69
mov eax, esi
call fcn.00436634
test al, al
je 0x44ff69
mov eax, dword [ebx + 0x84]
call fcn.00436330
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44ff69
push 0
mov eax, dword [ebx + 0x84]
call fcn.00436330
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4080a8
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.004084f0
mov byte [esp], al
cmp byte [esp], 0
jne 0x408232
test edi, edi
je 0x408232
mov byte [esp + 1], 0
test ebp, ebp
jle 0x408172
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x40814d
cmp edi, 0xffffffff
je 0x40810d
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x40810d
mov byte [esp], 0
jmp 0x408232
mov ebx, dword [esi]
cmp ebx, 1
jg 0x40814d
test ebx, ebx
jne 0x40813f
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x40813f
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x408232
lea eax, [esp + 0xc]
call fcn.00407d88
dec ebp
test ebp, ebp
jg 0x4080f2
cmp edi, 0xffffffff
je 0x408172
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x408170
mov byte [esp], 0
jmp 0x408232
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x4080b6
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x408172
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.004082a0
mov edx, eax
mov ebx, dword [0x4d58f8]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x4081d6
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x4081d4
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x4081d6
xor edi, edi
cmp byte [esp], 0
je 0x4081fc
mov ebx, dword [esi]
test bl, 1
jne 0x408212
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x4081dc
mov byte [esp + 1], 1
jmp 0x408212
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x4081fc
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x408189
cmp byte [esp], 0
je 0x408232
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 0x40905c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4d5058], 0
je 0x4090c3
cmp word [0x4d5344], 0xd7b2
jne 0x409085
cmp dword [0x4d534c], 0
jbe 0x409085
mov eax, 0x4d5340
call dword [0x4d535c]
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, 0x4090f0
call fcn.00409bec
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4d102e], 0
jne 0x4090df
push 0
push 0x4d19c2
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x40928c
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 [0x4d1030], 0
je 0x4092b7
mov edx, edi
mov eax, esi
call dword [0x4d1030]
mov ebx, eax
jmp 0x4092c8
mov eax, 8
call fcn.004069b8
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x4d5059], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x409254
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 0x4092f8
mov eax, ebx
call fcn.004069d4
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc

Function at 0x40ba4c
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 0x40bbb1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004093cc
cmp si, word [0x4d1a00]
jb 0x40bae4
cmp si, word [0x4d1c00]
ja 0x40bae4
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40bae4
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x4d1a00]
jae 0x40babe
mov edi, ebx
dec edi
jmp 0x40badf
cmp si, word [ebx*8 + 0x4d1a00]
jbe 0x40bace
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40badf
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x4d1a04]
call fcn.0040b96c
jmp 0x40bae4
cmp edi, dword [ebp - 8]
jae 0x40baa8
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40bb93
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40bb93
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.00409f8c
push dword [ebp - 0x160]
push 0x40bbcc
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.00409f8c
push dword [ebp - 0x164]
push 0x40bbdc
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00409f8c
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040a1c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bbb8
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.0040942c
ret
Function at 0x40bd64
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 0x40be68
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4d7b88
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x4d7ba0]
jne 0x40bdb0
mov eax, esi
mov edx, 0x4d7ba2
mov ecx, 0x55
call fcn.00409f8c
push 0x4d7b88
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40be52
push 0x4d7b88
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.004093cc
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40be1f
cmp byte [0x4d7b84], 0
je 0x40bde4
mov edx, esi
mov eax, ebx
call fcn.0040bc48
jmp 0x40be1f
mov edx, esi
mov eax, ebx
call fcn.0040ba4c
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40be1f
cmp dword [esi], 0
je 0x40be08
mov eax, esi
mov edx, 0x40be80
call fcn.0040a0e4
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040ba4c
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040a0e4
push 0x4d7b88
call sub.kernel32.dll_EnterCriticalSection
mov word [0x4d7ba0], bx
mov eax, dword [esi]
call fcn.00409ee8
mov ecx, eax
mov eax, 0x4d7ba2
mov edx, 0xaa
call fcn.0040b8cc
push 0x4d7b88
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40be6f
lea eax, [ebp - 4]
call fcn.004093cc
ret
Function at 0x40c098
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.004094b0
xor eax, eax
push ebp
push 0x40c2bd
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40c0d8
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40c0f2
mov eax, dword [ebp - 4]
call fcn.00409ee8
mov ecx, eax
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040b8cc
cmp word [ebp - 0x21a], 0
je 0x40c2a7
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40c2cc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40c1c1
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40c2cc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40c1c1
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40c308
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40c1c1
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40c308
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40c1c1
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40c33c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40c1c1
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40c370
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40c2a7
xor eax, eax
push ebp
push 0x40c2a0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040bea8
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 0x40c230
mov eax, dword [ebp - 0x10]
call fcn.004069b8
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.00409f50
jmp 0x40c27b
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x40c3b0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40c27b
mov eax, dword [ebp - 0x10]
call fcn.004069b8
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x40c3b0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00409f50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c2a7
cmp dword [ebp - 8], 0
je 0x40c296
mov eax, dword [ebp - 8]
call fcn.004069d4
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 0x40c2c4
lea eax, [ebp - 4]
call fcn.004093cc
ret
Function at 0x40c5ac
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.004094b0
xor eax, eax
push ebp
push 0x40c66c
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.00409f8c
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040a13c
mov eax, dword [ebx]
call fcn.0040c474
test al, al
jne 0x40c649
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00409f8c
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040a13c
mov eax, dword [ebx]
call fcn.0040c474
test al, al
jne 0x40c649
mov eax, ebx
call fcn.004093cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c673
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040942c
lea eax, [ebp - 4]
call fcn.004093cc
ret

Function at 0x40ed2c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov byte [ebp - 5], cl

Function at 0x41d92c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x41d985
test eax, edx
je 0x41d988
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41d943
movzx eax, word [eax]
sub eax, ecx
jmp 0x41d96a
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 0x41d96b
add ecx, 4
js 0x41d95b
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41d968
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41d96a
xor eax, eax
ret
test eax, eax
je 0x41d994
test edx, edx
jne 0x41d934
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

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

Function at 0x422290
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 0x4222c9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00409554
jmp 0x4222d2
mov eax, ebx
mov edx, esi
call fcn.004097ac
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4222dc
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 0x4222fe
movzx eax, word [esp]
jmp 0x422300
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4235f8
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 0x42371d
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00423400
mov esi, eax
mov eax, dword [0x4d49ec]
cmp byte [eax], 0
je 0x4236c5
mov eax, dword [0x4d4848]
call fcn.004070ec
call fcn.00406b0c
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 [0x4235c8]
call fcn.0040b17c
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 0x423738
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x423701
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4d4810]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4d7c50]
call fcn.0040b56c
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 0x423724
lea eax, [ebp - 4]
mov edx, dword [0x4235c8]
call fcn.0040b2a0
ret

Function at 0x4252e4
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.0040989c
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040cef4
mov edi, eax
cmp edi, 0x104
jbe 0x42528f
mov eax, edi
add eax, eax
call fcn.004069b8
mov esi, eax
jmp 0x425291
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040cef4
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x4252ca
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 0x4252b4
mov eax, esp
cmp esi, eax
je 0x4252d7
mov eax, esi
call fcn.004069d4
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 0x425310
cmp bl, 0
je 0x42530c
cmp bl, 0x41
jl 0x425307
cmp bl, 0x5a
jg 0x425307
or bl, 0x20
xor al, bl
inc esi
jmp 0x4252eb
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x425250
Function at 0x425b5c
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.00409f8c
add esp, 0x800
pop ebx
ret
Function at 0x47ce78
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x47ce80
mov eax, edx
pop esi
pop ebx
ret

Function at 0x4ad2d8
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4ad376
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xd]
je 0x4ad33a
cmp byte [ebx + 0x11], 0
jne 0x4ad33a
cmp byte [ebx + 0x3c], 0
jne 0x4ad33a
mov byte [ebx + 0xf], 0
mov byte [ebx + 0xd], 0
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x4ad35b
lea edx, [ebp - 4]
mov eax, dword [0x4d49a8]
call fcn.0040ce60
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4884bc]
call fcn.00423748
call fcn.00408ac8
jmp 0x4ad35b
lea edx, [ebp - 8]
mov eax, dword [0x4d49a8]
call fcn.0040ce60
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4884bc]
call fcn.00423748
call fcn.00408ac8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ad37d
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040942c
ret

Function at 0x4add14
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 + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4add62
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004ad158
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4add7b
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x100013fc
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, ecx
lea ecx, [esi + 4]
call fcn.100013f1
test al, al
je 0x1000140f
xor eax, eax
pop esi
ret
push 1
push 0
push 0
mov ecx, esi
call fcn.100013e0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
ret

Function at 0x100016cc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.10010514
push esi
lea edi, [esi + 0x74]
push 0x3f5
mov ecx, edi
call fcn.1000c6f7
mov ecx, edi
call fcn.100018cf
push 8
call fcn.100010b1
test eax, eax
je 0x10001700
mov ecx, eax
call fcn.1000157a
jmp 0x10001702
xor eax, eax
push 0
push str.Arial
push 0x12c
mov ecx, eax
mov dword [esi + 0xc8], eax
call fcn.1001161e
mov edi, 0x3f6
cmp eax, 1
jne 0x10001740
push edi
mov ecx, esi
call fcn.1000ec11
test eax, eax
je 0x10001740
push 1
push dword [esi + 0xc8]
mov ecx, eax
call fcn.100010d6
push esi
push edi
lea ecx, [esi + 0x138]
call fcn.1000c6f7
push str.HINTDATA
push 0x82
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x10001799
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x10001799
push 0x3f7
mov ecx, esi
call fcn.1000ec11
test eax, eax
je 0x10001799
mov ecx, 0xfeff
mov edx, edi
cmp cx, word [edi]
jne 0x10001791
lea edx, [edi + 2]
push edx
mov ecx, eax
call fcn.1000ed27
push esi
push 0x3e8
lea ecx, [esi + 0xcc]
call fcn.1000c6f7
push 1
mov ecx, esi
call fcn.1000ec11
pop edi
pop esi
test eax, eax
je 0x100017c0
mov ecx, eax
call fcn.1000ee1b
xor eax, eax
ret

Function at 0x1000206a
Capabilities:
Query environment variable

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
ret
jmp 0x10001fa2
Function at 0x1000315a
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x1005a660]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 4
mov eax, 0x10043be7
call fcn.1002e5bb
mov edi, ecx
lea ecx, [edi + 4]
call fcn.10001ea5
push eax
mov esi, 0x104
push esi
lea eax, [ebp]
push eax
call fcn.10002098
lea eax, [ebp]
push 0x5c
push eax
call fcn.10001d37
pop ecx
pop ecx
test eax, eax
je 0x100031ae
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp]
lea ebx, [edi + 0x438]
push eax
mov ecx, ebx
call fcn.10002e2c
mov edi, 0x1004732c
push edi
mov ecx, ebx
call fcn.10002e2c
lea eax, [ebp]
push esi
push eax
call fcn.1002ef09
pop ecx
pop ecx
test eax, eax
je 0x100031ef
lea eax, [ebp]
push eax
mov ecx, ebx
call fcn.10002e2c
push edi
mov ecx, ebx
call fcn.10002e2c
push esi
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp]
push eax
mov ecx, ebx
call fcn.10002e2c
push edi
mov ecx, ebx
call fcn.10002e2c
push esi
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x1000323e
push str.SYSTEM
push esi
lea eax, [ebp]
push eax
call fcn.10002098
lea eax, [ebp]
push eax
mov ecx, ebx
call fcn.10002e2c
push edi
mov ecx, ebx
call fcn.10002e2c
push esi
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x10003260
lea eax, [ebp]
push eax
mov ecx, ebx
call fcn.10002e2c
push edi
mov ecx, ebx
call fcn.10002e2c
lea ecx, [ebp - 0x10]
call fcn.1000138f
and dword [ebp - 4], 0
push str.PATH
lea ecx, [ebp - 0x10]
call fcn.10002706
test eax, eax
je 0x10003288
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
call fcn.10002e1a
lea ecx, [ebp - 0x10]
call fcn.100013a3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.1002e5ac
add ebp, 0x20c
leave
ret