joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5e6172
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
pushal
mov edx, dword [ebp + 8]
mov ax, word [edx]
cmp ax, 0x5a4d
jne 0x5e61a1
mov eax, dword [edx + 0x3c]
add edx, eax
mov eax, dword [edx]
cmp eax, 0x4550
jne 0x5e61a1
add edx, 4
mov dword [ebp - 4], edx
popal
mov eax, dword [ebp - 4]
leave
ret 8
popal
sub eax, eax
leave
ret 8

Function at 0x5e6dff
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov ecx, 3
mov edx, 1
push ecx
push dword [ebp + 8]
call fcn.005e6f04
rol eax, 8
push dword [ebp + 0xc]
push eax
call fcn.005e6f20
push edx
push dword [ebp + 0x10]
push eax
call fcn.005e6eec
inc edx
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.005e6f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.005e6ecb
push ecx
push dword [ebp + 8]
call fcn.005e6f04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.005e6f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.005e6ecb
push ecx
push dword [ebp + 8]
call fcn.005e6f04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.005e6f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.005e6ecb
push ecx
push dword [ebp + 8]
call fcn.005e6f04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.005e6f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.005e6ecb
cmp ecx, 0x2b
jne 0x5e6e0f
leave
ret 0xc

Function at 0x5e84b4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov byte [ebp - 0x118], 0x42
mov byte [ebp - 0x117], 0x72
mov byte [ebp - 0x116], 0x75
mov byte [ebp - 0x115], 0x74
mov byte [ebp - 0x114], 0x65
mov byte [ebp - 0x113], 0x66
mov byte [ebp - 0x112], 0x6f
mov byte [ebp - 0x111], 0x72
mov byte [ebp - 0x110], 0x63
mov byte [ebp - 0x10f], 0x69
mov byte [ebp - 0x10e], 0x6e
mov byte [ebp - 0x10d], 0x67
mov byte [ebp - 0x10c], 0x20
mov byte [ebp - 0x10b], 0x4b
mov byte [ebp - 0x10a], 0x65
mov byte [ebp - 0x109], 0x79
mov byte [ebp - 0x108], 0
mov eax, 1
lea edi, [ebp - 0x14]
mov ecx, 0x10
mov al, 0
mov byte [edi], al
inc edi
dec ecx
jne 0x5e8544
mov eax, dword [ebp + 8]
push 4
push 0x3000
push 0x1cca70
push 0
call dword [eax + 0x20]
test eax, eax
je 0x5e85d6
mov dword [ebp - 4], eax
mov edi, eax
mov esi, dword [ebp + 0xc]
mov ecx, 0x1cca70
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push 0x1cca70
call fcn.005e83fa
push 0x1cca70
push dword [ebp + 0xc]
call fcn.005e61a8
test eax, eax
jne 0x5e85b8
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0xc]
mov ecx, 0x1cca70
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
call fcn.005e85dd
test eax, eax
je 0x5e85d6
jmp 0x5e8574
mov eax, dword [ebp + 8]
push 0x8000
push 0
push dword [ebp - 4]
call dword [eax + 0x28]
test eax, eax
je 0x5e85d6
popal
mov eax, 1
leave
ret 8
popal
sub eax, eax
leave
ret 8
Function at 0x5e860b
Capabilities:
Terminate process

Disassembly:
call fcn.005e8618
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x40625c
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.0040671c
mov byte [esp], al
cmp byte [esp], 0
jne 0x4063e5
test edi, edi
je 0x4063e5
mov byte [esp + 1], 0
test ebp, ebp
jle 0x406325
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x406300
cmp edi, 0xffffffff
je 0x4062c1
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x4062c1
mov byte [esp], 0
jmp 0x4063e5
cmp dword [esi], 1
jg 0x406300
cmp dword [esi], 0
jne 0x4062f2
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x4062f2
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x4063e5
lea eax, [esp + 0xc]
call fcn.00405f18
dec ebp
test ebp, ebp
jg 0x4062a6
cmp edi, 0xffffffff
je 0x406325
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x406323
mov byte [esp], 0
jmp 0x4063e5
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x40626a
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x406325
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00406460
mov edx, eax
mov ebx, dword [0x4228f4]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x406389
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x406387
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x406389
xor edi, edi
cmp byte [esp], 0
je 0x4063af
mov ebx, dword [esi]
test bl, 1
jne 0x4063c5
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x40638f
mov byte [esp + 1], 1
jmp 0x4063c5
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x4063af
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x40633c
cmp byte [esp], 0
je 0x4063e5
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 0x4072a4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x422054], 0
je 0x40730b
cmp word [0x422340], 0xd7b2
jne 0x4072cd
cmp dword [0x422348], 0
jbe 0x4072cd
mov eax, 0x42233c
call dword [0x422358]
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, 0x407338
call fcn.00407a84
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x420022], 0
jne 0x407327
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x409bf8
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 0x409d5d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00407528
cmp si, word [0x4209f0]
jb 0x409c90
cmp si, word [0x420bf0]
ja 0x409c90
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x409c90
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x4209f0]
jae 0x409c6a
mov edi, ebx
dec edi
jmp 0x409c8b
cmp si, word [ebx*8 + 0x4209f0]
jbe 0x409c7a
inc ebx
mov dword [ebp - 8], ebx
jmp 0x409c8b
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x4209f4]
call fcn.00409b18
jmp 0x409c90
cmp edi, dword [ebp - 8]
jae 0x409c54
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x409d3f
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x409d3f
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.00407bb8
push dword [ebp - 0x160]
push 0x409d78
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.00407bb8
push dword [ebp - 0x164]
push 0x409d88
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00407bb8
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00407d70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409d64
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00407588
ret
Function at 0x409f10
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 0x40a014
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x424c0c
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x424c24]
jne 0x409f5c
mov eax, esi
mov edx, 0x424c26
mov ecx, 0x55
call fcn.00407bb8
push 0x424c0c
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x409ffe
push 0x424c0c
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00407528
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x409fcb
cmp byte [0x424c08], 0
je 0x409f90
mov edx, esi
mov eax, ebx
call fcn.00409df4
jmp 0x409fcb
mov edx, esi
mov eax, ebx
call fcn.00409bf8
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x409fcb
cmp dword [esi], 0
je 0x409fb4
mov eax, esi
mov edx, 0x40a02c
call fcn.00407c90
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00409bf8
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00407c90
push 0x424c0c
call sub.kernel32.dll_EnterCriticalSection
mov word [0x424c24], bx
mov eax, dword [esi]
call fcn.00407b28
mov ecx, eax
mov eax, 0x424c26
mov edx, 0xaa
call fcn.00409a78
push 0x424c0c
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a01b
lea eax, [ebp - 4]
call fcn.00407528
ret
Function at 0x40a244
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.0040760c
xor eax, eax
push ebp
push 0x40a469
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40a284
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40a29e
mov eax, dword [ebp - 4]
call fcn.00407b28
mov ecx, eax
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00409a78
cmp word [ebp - 0x21a], 0
je 0x40a453
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a478
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40a36d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a478
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40a36d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a4b4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40a36d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a4b4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40a36d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a4e8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40a36d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a51c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40a453
xor eax, eax
push ebp
push 0x40a44c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040a054
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 0x40a3dc
mov eax, dword [ebp - 0x10]
call fcn.00404528
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.00407b7c
jmp 0x40a427
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x40a55c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40a427
mov eax, dword [ebp - 0x10]
call fcn.00404528
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x40a55c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00407b7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a453
cmp dword [ebp - 8], 0
je 0x40a442
mov eax, dword [ebp - 8]
call fcn.00404544
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 0x40a470
lea eax, [ebp - 4]
call fcn.00407528
ret
Function at 0x40a770
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.0040760c
xor eax, eax
push ebp
push 0x40a830
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.00407bb8
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407ce8
mov eax, dword [ebx]
call fcn.0040a620
test al, al
jne 0x40a80d
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00407bb8
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407ce8
mov eax, dword [ebx]
call fcn.0040a620
test al, al
jne 0x40a80d
mov eax, ebx
call fcn.00407528
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a837
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00407588
lea eax, [ebp - 4]
call fcn.00407528
ret

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

Disassembly:
cmp eax, edx
je 0x416071
test eax, edx
je 0x416074
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41602f
movzx eax, word [eax]
sub eax, ecx
jmp 0x416056
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 0x416057
add ecx, 4
js 0x416047
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x416054
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x416056
xor eax, eax
ret
test eax, eax
je 0x416080
test edx, edx
jne 0x416020
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x4183c0
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 0x4183f9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00407664
jmp 0x418402
mov eax, ebx
mov edx, esi
call fcn.004077e0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41840c
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 0x41842e
movzx eax, word [esp]
jmp 0x418430
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x419718
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 0x41983d
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00419520
mov esi, eax
mov eax, dword [0x4216a4]
cmp byte [eax], 0
je 0x4197e5
mov eax, dword [0x4215b4]
call fcn.00404d10
call fcn.0040467c
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 [0x4196e8]
call fcn.00409530
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 0x419858
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x419821
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x42158c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x42562c]
call fcn.0040971c
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 0x419844
lea eax, [ebp - 4]
mov edx, dword [0x4196e8]
call fcn.00409654
ret
Function at 0x41aa2c
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 0x41ab2c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00407828
lea eax, [ebp - 4]
call fcn.00407994
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00407b28
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x41ab16
mov eax, ebx
call fcn.00404528
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x41ab0f
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.00407b28
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x41aaf9
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x41ab40
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x41aaf9
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 0x41ab16
mov eax, dword [ebp - 0x10]
call fcn.00404544
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41ab33
lea eax, [ebp - 4]
call fcn.00407528
ret

Function at 0x41b784
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.004078dc
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040c280
mov edi, eax
cmp edi, 0x104
jbe 0x41b72f
mov eax, edi
add eax, eax
call fcn.00404528
mov esi, eax
jmp 0x41b731
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040c280
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x41b76a
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 0x41b754
mov eax, esp
cmp esi, eax
je 0x41b777
mov eax, esi
call fcn.00404544
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 0x41b7b0
cmp bl, 0
je 0x41b7ac
cmp bl, 0x41
jl 0x41b7a7
cmp bl, 0x5a
jg 0x41b7a7
or bl, 0x20
xor al, bl
inc esi
jmp 0x41b78b
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x41b6f0

Function at 0x41ba50
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.00407bb8
add esp, 0x800
pop ebx
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x4019bc
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
lea eax, [0x4031e2]
push eax
push esp
mov eax, esp
push eax
push 0x40
push 0x9a0
push 0x40300a
call fcn.00401c40
pop edx
pop eax
mov ebx, 0x40340a
mov dword [eax - 0x34], ebx
lea esi, [ebx + 0x118]
mov ebx, 0x401021
mov edx, 0x5a0
add ebx, 4
mov edi, dword [ebx - 4]
mov dword [esi - 0x118], edi
add esi, 4
sub dword [esi - 0x11c], 0x78973532
xor dword [esi - 0x11c], 0x29375ea2
sub edx, 4
cmp edx, 0
jne 0x4019f5
push eax
push 0
call fcn.00401bf8
pop eax
pop ebp
ret 0x10
Function at 0x401036
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x14], ecx
lea ecx, [esi + 0xc]
push ecx
movzx ecx, byte [esp + 0x10]
neg ecx
sbb ecx, ecx
and ecx, 4
push ecx
lea eax, [esi + 0x10]
push eax
push section..text
push 0
push 0
mov dword [eax], esi
call fcn.0043d57a
add esp, 0x18
xor ecx, ecx
test eax, eax
mov dword [esi + 4], eax
setne cl
mov al, cl
pop esi
ret 8

Function at 0x401078
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x40109a
cmp byte [esi + 0x1c], 0
je 0x40108f
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
ret

Function at 0x402d41
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x478a78]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x20]
lea eax, [ebp - 0x20]
push edi
push eax
mov dword [esi], 0x4603e4
call fcn.0040b36e
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
pop ecx
pop ecx
jae 0x402d76
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.00402515
push 0
push 1
mov ecx, edi
call fcn.00402515
mov ecx, esi
call fcn.004010c5
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0043dae6
leave
ret