joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5a64dc
Capabilities:
Read file via mapping

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, ecx
mov ebp, dword [ecx + 0xc]
test ebp, ebp
je 0x5a650d
mov eax, dword [ecx + 0x10]
mov dword [esp], eax
call sub.KERNEL32.dll_UnmapViewOfFile
push edi
mov dword [ebx + 0x10], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x14], 0
mov esi, dword [ebx + 0x28]
test esi, esi
je 0x5a65dc
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov esi, eax
cmp eax, 0x4000000
jle 0x5a65e4
lea edi, [eax - 0x4000000]
and edi, 0xffff0000
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + 0x10]
mov dword [esp], eax
call sub.msvcrt.dll__get_osfhandle
mov dword [esp], eax
call sub.KERNEL32.dll_FlushFileBuffers
push ecx
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + 0x10]
mov dword [esp], eax
call sub.msvcrt.dll__get_osfhandle
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 2
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.KERNEL32.dll_CreateFileMappingA
sub esp, 0x18
mov ebp, eax
test eax, eax
je 0x5a65dc
mov eax, esi
sub eax, edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov dword [esp], ebp
call sub.KERNEL32.dll_MapViewOfFile
sub esp, 0x14
mov dword [ebx + 0x10], eax
mov dword [ebx + 0xc], eax
test eax, eax
je 0x5a65d3
mov ecx, dword [ebx + 0x18]
lea edx, [eax + ecx]
sub edx, edi
mov dword [ebx + 0xc], edx
sub esi, ecx
mov dword [ebx + 0x14], esi
mov dword [esp], ebp
call sub.KERNEL32.dll_CloseHandle
push edx
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
test eax, eax
jle 0x5a65dc
xor edi, edi
jmp 0x5a6538
Function at 0x5a68e0
Capabilities:
Read file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x7c
mov dword [esp + 0x1c], ecx
mov ebp, dword [esp + 0x90]
lea eax, [esp + 0x2e]
mov esi, str.bitrock_lzma_4.0
mov ecx, 0x11
mov edi, eax
rep movsb byte es:[edi], byte [esi]
lea ebx, [esp + 0x3f]
mov esi, str.XXXXXXXXXXXXXXXXmFC3acAOJrQinu5aEHu0uH7N5XSQ3Z14
mov cl, 0x31
mov edi, ebx
rep movsb byte es:[edi], byte [esi]
mov cl, 0x62
xor edx, edx
jmp 0x5a691f
mov cl, byte [eax + edx]
mov byte [ebx + edx], cl
inc edx
cmp edx, 0x10
jne 0x5a691c
mov eax, dword [esp + 0x98]
add eax, 0x30
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x94]
cmp dword [esp + 0x14], eax
jle 0x5a6947
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.005cdda0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x94]
neg eax
mov dword [esp + 0x10], eax
xor edi, edi
mov esi, 0xa
mov dword [esp + 8], 2
mov eax, dword [esp + 0x10]
mov dword [esp + 4], eax
mov dword [esp], ebp
call sub.msvcrt.dll_fseek
test eax, eax
je 0x5a698a
dec esi
jne 0x5a696b
inc edi
cmp edi, 0xb
jne 0x5a69b0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5a69a4
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.005cdd84
xor eax, eax
add esp, 0x7c
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov dword [esp + 0xc], ebp
mov eax, dword [esp + 0x14]
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call sub.msvcrt.dll_fread
cmp dword [esp + 0x14], eax
jne 0x5a6966
cmp edi, 9
jg 0x5a6990
mov dword [esp + 0xc], 0x30
mov eax, dword [esp + 0x14]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov ecx, dword [esp + 0x1c]
call fcn.005a6858
sub esp, 0x10
mov ebx, eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5a6a18
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.005cdd84
test ebx, ebx
js 0x5a69a4
mov eax, dword [esp + 0x94]
sub eax, ebx
add esp, 0x7c
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
Function at 0x5b2f7c
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x7c
mov dword [esp + 0x28], ecx
mov esi, dword [esp + 0x90]
mov eax, dword [esp + 0x94]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x44], 0
mov byte [esp + 0x48], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x64], 0
mov byte [esp + 0x68], 0
mov dword [esp + 0x60], 0
mov ebp, dword [ecx + 0xc]
test ebp, ebp
jle 0x5b313b
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
nop
mov eax, dword [esi]
mov edx, dword [esp + 0x18]
mov dword [esp], edx
mov ecx, esi
call dword [eax + 0x20]
push edi
mov edx, dword [esi]
lea ecx, [esp + 0x30]
mov dword [esp + 8], ecx
movsx eax, word [eax + 4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov ecx, esi
call dword [edx + 0x38]
sub esp, 0xc
mov ebp, dword [esp + 0x44]
test ebp, ebp
jle 0x5b30cc
mov edx, dword [esp + 0x40]
mov dword [esp + 0x20], edx
mov bl, byte [edx]
movzx eax, bl
shl eax, 7
cmp ebp, 0xc8
jle 0x5b3128
mov dword [esp + 0x24], 0x63
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
jmp 0x5b304e
mov bl, byte [ecx]
lea edx, [eax + eax*4]
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
shl edx, 5
add edx, eax
lea edx, [eax + edx*2]
movzx eax, bl
xor eax, edx
inc ecx
dec edi
jns 0x5b304c
mov edx, dword [esp + 0x24]
test edx, edx
js 0x5b3134
mov ecx, dword [esp + 0x20]
lea edx, [ecx + edx + 1]
cmp ebp, 0xc8
jle 0x5b30bc
lea edx, [edx + ebp - 0xc8]
lea ebx, [edx + 0x64]
nop
lea ecx, [eax + eax*4]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
shl ecx, 5
add ecx, eax
lea ecx, [eax + ecx*2]
movzx eax, byte [edx]
xor eax, ecx
inc edx
cmp edx, ebx
jne 0x5b3098
mov edx, dword [esp + 0x18]
xor dword [esp + 0x1c], edx
xor dword [esp + 0x1c], ebp
xor dword [esp + 0x1c], eax
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
cmp dword [ecx + 0xc], eax
jg 0x5b2fe0
mov eax, dword [esp + 0x60]
mov dl, byte [esp + 0x68]
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x5b3161
test dl, dl
je 0x5b3101
test eax, eax
je 0x5b3101
mov dword [esp], eax
call fcn.005cdd84
mov eax, dword [esp + 0x40]
cmp byte [esp + 0x48], 0
je 0x5b3118
test eax, eax
je 0x5b3118
mov dword [esp], eax
call fcn.005cdd84
mov eax, dword [esp + 0x1c]
add esp, 0x7c
pop ebx
pop esi
pop edi
pop ebp
ret 8
lea ecx, [ebp - 1]
mov dword [esp + 0x24], ecx
jmp 0x5b3040
xor edx, edx
jmp 0x5b307d
mov dword [esp + 0x1c], 0xffffffff
jmp 0x5b3101
mov dword [esp + 0x1c], 0xffffffff
jmp 0x5b30f1
Function at 0x5c1368
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test ecx, ecx
je 0x5c1380
cmp dword [eax + 0x118], 0
jne 0x5c137c
jmp fcn.005bada4
ret
mov dword [eax + 0x118], 1
ret

Function at 0x5c1970
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp dword [ecx], 0x2d
je 0x5c198c
cmp dword [eax + 0x118], 0
jne 0x5c198b
jmp fcn.005bada4
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov edx, dword [ecx + 4]
mov edi, dword [edx + 8]
mov ebp, dword [edx + 4]
test edi, edi
je 0x5c1984
mov edx, dword [eax + 0x100]
xor ebx, ebx
jmp 0x5c19c3
mov esi, edx
inc edx
mov byte [eax + esi], cl
mov dword [eax + 0x100], edx
mov byte [eax + 0x104], cl
inc ebx
cmp edi, ebx
je 0x5c1984
mov cl, byte [ebp + ebx]
cmp edx, 0xff
jne 0x5c19ac
mov byte [eax + 0xff], 0
mov edx, dword [eax + 0x10c]
mov dword [esp + 8], edx
mov dword [esp + 4], 0xff
mov dword [esp], eax
mov dword [esp + 0x18], eax
mov byte [esp + 0x1c], cl
call dword [eax + 0x108]
mov eax, dword [esp + 0x18]
inc dword [eax + 0x120]
mov edx, 1
xor esi, esi
mov cl, byte [esp + 0x1c]
jmp 0x5c19af
Function at 0x5c64d0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x28
mov ebx, dword [sym.imp.msvcrt.dll__iob]
lea eax, [esp + 0x34]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
add ebx, 0x40
mov dword [esp + 0xc], ebx
mov dword [esp], str.Mingw_runtime_failure:_n
mov dword [esp + 0x1c], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x1c]
mov dword [esp], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]
lea edi, [edi]

Function at 0x5c6530
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 0x5c
mov dword [esp + 0x4c], ebx
mov ebx, eax
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
mov dword [esp + 0x50], esi
mov esi, edx
mov dword [esp + 0x54], edi
mov edi, ecx
mov dword [esp + 0x58], ebp
call sub.KERNEL32.dll_VirtualQuery
sub esp, 0xc
test eax, eax
je 0x5c6626
mov eax, dword [esp + 0x38]
cmp eax, 4
jne 0x5c65a0
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.msvcrt.dll_memcpy
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
mov ebp, dword [esp + 0x58]
add esp, 0x5c
ret
cmp eax, 0x40
je 0x5c6575
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
mov eax, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
cmp eax, 0x40
setne byte [esp + 0x1e]
cmp eax, 4
setne byte [esp + 0x1f]
call sub.msvcrt.dll_memcpy
cmp byte [esp + 0x1f], 0
je 0x5c6585
cmp byte [esp + 0x1e], 0
je 0x5c6585
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
jmp 0x5c6585
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.005c64d0
nop

Function at 0x5c68c0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x67c4c4
call sub.KERNEL32.dll_EnterCriticalSection
mov ebx, dword [0x67c4dc]
sub esp, 4
test ebx, ebx
je 0x5c690b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sub.KERNEL32.dll_TlsGetValue
sub esp, 4
mov esi, eax
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x5c6904
test esi, esi
je 0x5c6904
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x5c68e0
mov dword [esp], 0x67c4c4
call sub.KERNEL32.dll_LeaveCriticalSection
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret
Function at 0x5c9550
Capabilities:
Allocate thread local storage

Disassembly:
sub esp, 0x1c
mov dword [0x67c4f8], 0xffffffff
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xffff
mov dword [esp + 4], 0
mov dword [esp], 0
call sub.KERNEL32.dll_CreateSemaphoreA
sub esp, 0x10
mov dword [0x67c4fc], eax
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x5c95b0
mov dword [0x67c504], eax
mov dword [esp + 4], 0x5c9514
mov dword [esp], eax
call fcn.005cca60
test eax, eax
jne 0x5c95b7
add esp, 0x1c
ret
call sub.KERNEL32.dll_GetLastError
jmp 0x5c95a8
call sub.msvcrt.dll_abort
Function at 0x5cf4d0
Capabilities:
Accept command line arguments

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x6c
call fcn.005c68a0
call sub.KERNEL32.dll_GetCommandLineA
mov ebx, eax
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call sub.KERNEL32.dll_GetStartupInfoA
sub esp, 4
test ebx, ebx
jne 0x5cf506
jmp 0x5cf545
add ebx, 1
movzx eax, byte [ebx]
cmp al, 9
je 0x5cf503
cmp al, 0x20
je 0x5cf503
cmp al, 0x22
jne 0x5cf529
jmp 0x5cf594
cmp al, 0x20
lea esi, [esi]
je 0x5cf530
test al, al
je 0x5cf545
add ebx, 1
movzx eax, byte [ebx]
cmp al, 9
jne 0x5cf517
movzx eax, byte [ebx]
cmp al, 0x20
jne 0x5cf5aa
add ebx, 1
movzx eax, byte [ebx]
cmp al, 9
je 0x5cf537
cmp al, 0x20
je 0x5cf537
test byte [ebp - 0x30], 1
mov esi, 0xa
je 0x5cf554
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleHandleA
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00402934
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret
cmp al, 0x22
je 0x5cf59e
add ebx, 1
movzx eax, byte [ebx]
test al, al
jne 0x5cf590
cmp al, 0x22
sete al
movzx eax, al
add ebx, eax
jmp 0x5cf530
cmp al, 9
je 0x5cf537
jmp 0x5cf545
Function at 0x405ba0
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x405d58
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405c01
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x405d74
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405c6e
xor eax, eax
push ebp
push 0x405c67
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405c50
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405d94
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405c6e
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x405d4f
cmp byte [ebp - 0xd], 0
jne 0x405cb0
cmp byte [ebp - 0x12], 0
je 0x405d4f
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405cc9
dec ebx
cmp byte [ebx], 0x2e
je 0x405cd8
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405cc8
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405d4f
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405d05
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405d4f
cmp byte [ebp - 0xd], 0
je 0x405d4f
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405d4f
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x407bf6
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x407c31
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x407c18
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x407c29
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x407c33
inc edi
add eax, 0x28
cmp edi, esi
jb 0x407c0e
xor eax, eax
pop edi
pop esi
ret
Function at 0x408a74
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x230], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
cli
invalid
push ebx
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.00407b94
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
test dword [eax + 0x12fffffc], ebx

Function at 0x408afc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [eax + 0x12fffffc], ebx
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
push dword [eax]
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
invalid
invalid
cmp al, dh
test dword [eax + 0x27fffffc], ebp

Function at 0x40b778
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 0x40b7b1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403cc0
jmp 0x40b7ba
mov eax, ebx
mov edx, esi
call fcn.00403c74
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x419914
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 0x41991a
ret

Function at 0x41bf88
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 0x41bfd9
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41bfc0
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41bfb0
jmp 0x41bfd9
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 0x41bfc1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44797c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4997b0]
cmp dword [eax + 0x24], 0
je 0x447a0c
cmp dword [ebx + 0x7c], 0
jne 0x447a09
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x447910
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x78]
cmp dword [eax + 8], 0
je 0x447a09
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 0x4479d8
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x78]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x447a09
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x78]
call fcn.00410f0c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4479e4
inc dword [ebx + 0x7c]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44835c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x8c], 0
je 0x448391
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403cc0
jmp 0x44839b
mov eax, esi
mov edx, dword [ebx + 0x74]
call fcn.00403c74
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x449288
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x4492c0
mov eax, esi
call fcn.00432500
test al, al
je 0x4492c0
mov eax, dword [ebx + 0x6c]
call fcn.004320d8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4492c0
push 0
mov eax, dword [ebx + 0x6c]
call fcn.004320d8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x479e0c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x479ee4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4998c8], 0
jne 0x479ec8
lea eax, [ebp - 4]
mov edx, 0x479efc
call fcn.00403c74
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040401c
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x479ec8
mov eax, ebx
call fcn.00402778
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x479ec1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x479eab
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x479f0c
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x479eab
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x4998c8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479ec8
mov eax, dword [ebp - 0xc]
call fcn.00402790
ret
mov ebx, dword [0x4998c8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479eeb
lea eax, [ebp - 4]
call fcn.00403bdc
ret
Function at 0x4253f0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
push 4
mov edx, dword [esp + 0xc]
test eax, eax
lea eax, [esp + 0x10]
push eax
push 4
push 0
push edx
je 0x42541c
mov ecx, dword [ecx + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp eax, 1
sbb eax, eax
neg eax
ret 0xc
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp eax, 1
sbb eax, eax
neg eax
ret 0xc

Function at 0x425470
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
test eax, eax
nop
lea eax, [esp]
push ebx
mov dword [esp + 8], 1
lea edx, [esp + 8]
push esi
mov esi, ecx
push eax
mov dword [esp + 0xc], 0xff
lea ecx, [esi + 0x10]
mov eax, dword [esp + 0x1c]
push ecx
push edx
push 0
push eax
je 0x4254aa
mov ecx, dword [esi + 4]
jmp 0x4254ad
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4254c3
lea eax, [esi + 0x10]
pop esi
pop ebx
add esp, 8
ret 8
xor eax, eax
pop esi
pop ebx
add esp, 8
ret 8

Function at 0x4254d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0xc
mov eax, 4
test edx, edx
lea edx, [esp + 8]
push ebx
lea ebx, [esp + 8]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
lea eax, [esp + 4]
push eax
push edx
mov eax, dword [esp + 0x20]
push ebx
push 0
push eax
je 0x425504
mov ecx, dword [ecx + 4]
jmp 0x425507
mov ecx, dword [ecx + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42551d
mov eax, dword [esp + 0xc]
pop ebx
add esp, 0xc
ret 8
mov eax, 0xffffffff
pop ebx
add esp, 0xc
ret 8

Function at 0x42b9c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov eax, dword [ecx + 0xc]
test eax, eax
mov dword [esp], 0
push ebx
push esi
push edi
push ebp
jle 0x42ba63
xor ebp, ebp
mov eax, dword [ecx + 0x8d8c]
xor esi, esi
cmp dword [ecx + 8], esi
mov edi, dword [eax + ebp]
jle 0x42ba4c
mov al, byte [esp + 0x20]
xor edx, edx
shl al, 5
mov byte [esp + 0x14], al
mov byte [edi + 4], dl
mov al, byte [esp + 0x1c]
mov bl, byte [edi + 5]
add edi, 0x18
xor al, bl
inc esi
and al, 0x1f
xor al, bl
mov bl, byte [esp + 0x14]
xor bl, al
mov byte [edi - 0x13], al
and bl, 0x1f
mov al, byte [esp + 0x14]
xor bl, al
mov byte [edi - 0x13], bl
mov al, byte [edi - 0x12]
and al, 0xf0
mov byte [edi - 0x12], al
and al, 0xf
mov byte [edi - 0x12], al
mov word [edi - 0x18], dx
mov word [edi - 0x16], dx
mov byte [edi - 0x11], dl
mov byte [edi - 0x10], 0xff
mov byte [edi - 0xf], dl
mov byte [edi - 0xe], dl
mov byte [edi - 0xd], dl
cmp dword [ecx + 8], esi
jg 0x42b9f9
add ebp, 4
mov eax, dword [esp + 0x10]
inc eax
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x10], eax
cmp edx, eax
jg 0x42b9dc
mov eax, dword [ecx + 0xc]
dec eax
push eax
mov eax, dword [ecx + 8]
dec eax
push eax
push 0
push 0
call fcn.0042bbc0
pop ebp
pop edi
pop esi
pop ebx
add esp, 8
ret 8