joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f9d0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42a9c8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4392c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, edx
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
push 0
push 0
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x40fa5e
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [eax + 1]
cmp ecx, eax
jae 0x40fa79
mov al, byte [ebp - 0x12]
mov byte [ebp - 0x11], al
push 0x436504
lea eax, [ebp - 0x11]
push eax
call fcn.0041877b
push ecx
mov eax, esp
mov dword [eax], ecx
lea ecx, [ebp - 0x2c]
call fcn.0040fb50
push dword [ebp - 0x24]
mov edi, dword [ebp - 0x2c]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x40fab7
cmp eax, dword [ebp - 0x24]
ja 0x40fab7
cmp eax, dword [ebp - 0x28]
je 0x40faad
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x28], eax
call fcn.00405eb0
push edi
mov ecx, esi
call fcn.004057d0
jmp 0x40fac9
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
test edi, edi
je 0x40fad6
push edi
call fcn.00416924
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40fc70
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x4392c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
cmp ecx, 0xffffffff
je 0x40fce3
lea eax, [ebp - 0x50]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x40fcb6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415eda
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
test ecx, ecx
jg 0x40fcc6
jl 0x40fd1e
test eax, eax
jb 0x40fd1e
mov dword [edi], eax
mov dword [edi + 4], ecx
mov dword [esi], 0
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415eda
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x40]
push eax
push dword [edx]
call fcn.00417a95
add esp, 8
test eax, eax
jne 0x40fd03
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
test ecx, ecx
jg 0x40fcc6
jl 0x40fd1e
jmp 0x40fcc2
call fcn.00417938
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
mov dword [esi], eax
pop edi
xor ecx, ebp
xor al, al
pop esi
call fcn.00415eda
mov esp, ebp
pop ebp
ret
mov al, byte [ebp - 0x41]
mov byte [ebp - 0x41], al
push 0x436504
lea eax, [ebp - 0x41]
push eax
call fcn.0041877b
int3
Function at 0x4102a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42a9f0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4392c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, edx
mov dword [ebp - 0x24], edi
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 0
mov dword [ebx], 0
mov dword [ebx + 4], 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 8]
call fcn.00407680
push 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x410338
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
add ecx, edi
adc edx, 0
cmp edx, dword [ebx + 4]
ja 0x41036b
jb 0x410357
cmp ecx, dword [ebx]
jae 0x41036b
mov al, byte [ebp + 0xb]
mov byte [ebp - 0x11], al
push 0x436504
lea eax, [ebp - 0x11]
push eax
call fcn.0041877b
lea eax, [ebp - 0x2c]
mov dword [ebx], ecx
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebx + 4], edx
call fcn.00407680
mov eax, dword [ebp - 0x1c]
cmp edi, eax
jbe 0x410397
mov al, byte [ebp + 0xb]
mov byte [ebp - 0x12], al
push 0x436504
lea eax, [ebp - 0x12]
push eax
call fcn.0041877b
sub eax, edi
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
add esi, edi
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
call fcn.00407680
cmp dword [ebp - 0x20], 0
mov edi, dword [ebp - 0x24]
ja 0x4102f8
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x412950
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x41295b
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.00412970

Function at 0x413420
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 0x2c]
jmp 0x413430
mov ebx, dword [edi + 0x3c]
mov eax, dword [edi + 0x2c]
sub ebx, dword [edi + 0x74]
add eax, 0xfffffefa
sub ebx, dword [edi + 0x6c]
add eax, esi
cmp dword [edi + 0x6c], eax
jb 0x4134a9
mov ecx, dword [edi + 0x38]
push esi
lea eax, [ecx + esi]
push eax
push ecx
call fcn.004180a0
mov edx, dword [edi + 0x4c]
mov eax, dword [edi + 0x44]
sub dword [edi + 0x70], esi
sub dword [edi + 0x6c], esi
add esp, 0xc
sub dword [edi + 0x5c], esi
lea ecx, [eax + edx*2]
jmp 0x413470
movzx eax, word [ecx - 2]
lea ecx, [ecx - 2]
cmp eax, esi
jb 0x41347f
sub eax, esi
jmp 0x413481
xor eax, eax
mov word [ecx], ax
dec edx
jne 0x413470
mov eax, dword [edi + 0x40]
mov edx, esi
lea ecx, [eax + esi*2]
nop
movzx eax, word [ecx - 2]
lea ecx, [ecx - 2]
cmp eax, esi
jb 0x41349f
sub eax, esi
jmp 0x4134a1
xor eax, eax
mov word [ecx], ax
dec edx
jne 0x413490
add ebx, esi
mov ecx, dword [edi]
cmp dword [ecx + 4], 0
je 0x4134ff
mov edx, dword [edi + 0x74]
add edx, dword [edi + 0x6c]
push ebx
add edx, dword [edi + 0x38]
call fcn.00413180
add dword [edi + 0x74], eax
mov ebx, dword [edi + 0x74]
add esp, 4
cmp ebx, 3
jb 0x4134eb
mov eax, dword [edi + 0x38]
add eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x58]
movzx edx, byte [eax]
mov dword [edi + 0x48], edx
movzx eax, byte [eax + 1]
shl edx, cl
xor edx, eax
and edx, dword [edi + 0x54]
mov dword [edi + 0x48], edx
cmp ebx, 0x106
jae 0x4134ff
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x413430
pop edi
pop esi
pop ebx
ret
Function at 0x422392
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4392c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0041cc66
mov dword [ebp - 0x14], eax
cmp dword [0x43b9a0], edi
jne 0x422483
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x422410
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x422563
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x422563
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x422563
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x43b9a0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x43b9a4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x43b9a8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43b9b0], eax
test eax, eax
je 0x422480
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43b9ac], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4224a8
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42249b
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x4224bd
push 4
pop eax
jmp 0x422565
cmp dword [ebp - 0x14], edi
je 0x4224bd
push dword [0x43b9a0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4224a2
mov eax, dword [0x43b9ac]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x42251b
cmp dword [0x43b9b0], esi
je 0x42251b
push eax
call ebx
push dword [0x43b9b0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x42251b
test eax, eax
je 0x42251b
call ecx
test eax, eax
je 0x422510
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x422510
test byte [ebp - 8], 1
jne 0x42251b
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x42254b
mov eax, dword [0x43b9a4]
cmp eax, esi
je 0x422548
push eax
call ebx
test eax, eax
je 0x422548
call eax
mov edi, eax
test edi, edi
je 0x422548
mov eax, dword [0x43b9a8]
cmp eax, esi
je 0x422548
push eax
call ebx
test eax, eax
je 0x422548
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x43b9a0]
call ebx
test eax, eax
je 0x422563
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x422565
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00415eda
leave
ret
Function at 0x402f14
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x402f6d
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.kernel32.dll_GetCommandLineA
lea edx, [ebp - 8]
call fcn.00402db0
mov dword [ebp - 4], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00402db0
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x402f57
inc ebx
jmp 0x402f40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402f74
lea eax, [ebp - 8]
call fcn.00404764
ret

Function at 0x402f7c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404764
test esi, esi
jne 0x402fb3
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00404854
jmp 0x402fd4
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402db0
mov dword [esp], eax
test esi, esi
je 0x402fd4
cmp dword [ebx], 0
je 0x402fd4
dec esi
jmp 0x402fbb
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x4036d4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4b9020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40376c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40374c
xor eax, eax
push ebp
push 0x403745
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403788
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40374c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4b9020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4b9020], ax
mov esp, ebp
pop ebp
ret

Function at 0x40453c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4be04c], 0
je 0x40459d
cmp word [0x4be220], 0xd7b2
jne 0x404565
cmp dword [0x4be228], 0
jbe 0x404565
mov eax, 0x4be21c
call dword [0x4be238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4b906c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4045c4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4b9030], 0
jne 0x4045b9
push 0
push 0x4b9064
push 0x4b906c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x404718
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402b50
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4be04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4046e0
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406760
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4067c6
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004049d4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403268
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4067b0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4067cd
lea eax, [ebp - 0x10]
call fcn.00404764
ret

Function at 0x4095d4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404c24
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4095ed
test al, 0x10
jne 0x4095f1
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40ca68
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40caa1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404854
jmp 0x40caaa
mov eax, ebx
mov edx, esi
call fcn.004047b8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40cab4
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40cad5
mov al, byte [esp]
jmp 0x40cad7
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40d16c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40cfd4
mov eax, dword [0x4bcff4]
cmp byte [eax], 0
je 0x40d1e8
mov eax, dword [0x4bcbf4]
call fcn.00403098
call fcn.00402cdc
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004099a4
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40d230
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40d21e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4bcb50]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4be668]
call fcn.00405b80
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40db04
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40dbda
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004047fc
lea eax, [ebp - 8]
call fcn.00404c74
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404c24
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40dbc4
mov eax, ebx
call fcn.00402b50
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40dbbd
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 - 8]
call fcn.00404c24
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40dba7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40dbec
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40dba7
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dbc4
mov eax, dword [ebp - 0x10]
call fcn.00402b80
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dbe1
lea eax, [ebp - 8]
call fcn.00404764
ret

Function at 0x40e200
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40e264
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004049d4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409200
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e26b
lea eax, [ebp - 0xc]
call fcn.00404764
ret

Function at 0x420618
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.00420470
dec esi
jne 0x42063a
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x42177c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4be88c
cmp dword [edi], 0
jne 0x4217f8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4be888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4b93fc
mov ecx, 2
call fcn.00402d70
mov edx, 0x421754
lea eax, [esi + 5]
call fcn.00421774
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00421774
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 0x4217cd
mov dword [0x4be888], 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 0x422e24
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x422e2a
ret

Function at 0x4252f0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x425341
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x425328
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x425318
jmp 0x425341
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x425329
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42e8bc
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404c14
xor eax, eax
push ebp
push 0x42e9ea
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42e9bd
xor eax, eax
push ebp
push 0x42e9b6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404a24
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42e98b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x42e97a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404a24
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404c24
mov edx, ebx
pop ecx
call fcn.00402d70
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e981
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4bca68]
mov dl, 1
mov eax, dword [0x407c6c]
call fcn.0040d320
call fcn.004040d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e9f1
lea eax, [ebp - 4]
call fcn.00404764
ret
Function at 0x42e9f8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42eba9
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404e14
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x42ebc0
call fcn.00404a70
mov eax, ebx
call fcn.00420d10
mov edi, eax
dec edi
test edi, edi
jl 0x42eab0
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00420ce4
mov edx, dword [0x433b00]
call fcn.00403a08
test al, al
je 0x42eaac
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00420ce4
lea edx, [ebp - 0x14]
call fcn.0043b92c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404e14
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404ae4
inc esi
dec edi
jne 0x42ea5e
mov al, byte [0x42ebc4]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42ebd0
mov eax, dword [ebp - 0xc]
call fcn.0040e7dc
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.004047fc
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0043b92c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42ebc0
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.0043b92c
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42ebc0
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x42ebc0
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x42ebdc
call fcn.0040a460
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ebb0
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404788
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404788
lea eax, [ebp - 0x14]
call fcn.00404764
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404788
ret