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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10012b5c
push ebx
push esi
call fcn.10012a88
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10012a1c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10012b09
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10012b5b
push edi
push eax
call fcn.10013a7c
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10012b29
call fcn.10011564
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10012b5a
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10012a1c
add esp, 0x20
test eax, eax
jne 0x10012b48
push edi
call fcn.10011564
jmp 0x10012b50
push ebx
call fcn.10011564
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10012dc9
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001a888
push 0x1001a880
push str.FlsAlloc
push 0x1f
call fcn.10012ce5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10012dfd
push dword [ebp + 8]
mov ecx, esi
call dword [0x10019150]
call esi
jmp 0x10012e03
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10012e47
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001a898
push 0x1001a890
push str.FlsGetValue
push 0x21
call fcn.10012ce5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10012e7e
push dword [ebp + 8]
mov ecx, esi
call dword [0x10019150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10012e86
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001a8a0
push 0x1001a898
push str.FlsSetValue
push 0x22
call fcn.10012ce5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10012ec0
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10019150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10018550
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001857d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001857d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4016bf
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x4016c9
repz ret
jmp fcn.00402184

Function at 0x40a8b8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00405b8c
and dword [ebp - 4], 0
cmp dword [0x411a78], 0
mov ebx, eax
jne 0x40a969
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40aa1a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40aa1a
push eax
call fcn.00405b1a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x411a78], eax
call esi
push eax
call fcn.00405b1a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x411a7c], eax
call esi
push eax
call fcn.00405b1a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x411a80], eax
call esi
push eax
call fcn.00405b1a
pop ecx
mov dword [0x411a88], eax
test eax, eax
je 0x40a969
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00405b1a
pop ecx
mov dword [0x411a84], eax
mov eax, dword [0x411a84]
cmp eax, ebx
je 0x40a9c1
cmp dword [0x411a88], ebx
je 0x40a9c1
push eax
call fcn.00405b95
push dword [0x411a88]
mov esi, eax
call fcn.00405b95
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a9c1
test edi, edi
je 0x40a9c1
call esi
test eax, eax
je 0x40a9b8
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a9b8
test byte [ebp - 0xc], 1
jne 0x40a9c1
or dword [ebp + 0x10], 0x200000
jmp 0x40a9fa
mov eax, dword [0x411a7c]
cmp eax, ebx
je 0x40a9fa
push eax
call fcn.00405b95
pop ecx
test eax, eax
je 0x40a9fa
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a9fa
mov eax, dword [0x411a80]
cmp eax, ebx
je 0x40a9fa
push eax
call fcn.00405b95
pop ecx
test eax, eax
je 0x40a9fa
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x411a78]
call fcn.00405b95
pop ecx
test eax, eax
je 0x40aa1a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40aa1c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100025b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub eax, 0
je 0x100025e4
sub eax, 1
jne 0x100025ea
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
push 0x10001420
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthread]
add esp, 0xc
mov eax, 1
pop ebp
ret 0xc
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
pop ebp
ret 0xc
Function at 0x100041e0
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000c30d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100123d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov esi, dword [ebp + 0xc]
mov bh, 1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], esi
inc esi
push esi
mov dword [ebp - 0x24], eax
call fcn.1000afd0
push esi
mov edi, eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [ebp - 0x18], edi
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
push eax
push esi
push edi
push dword [ebp - 0x24]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
setne bl
test eax, eax
je 0x100042ab
nop dword [eax]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100042ab
mov byte [edi + eax], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x20], edi
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x100042d6
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x20]
push edx
mov eax, dword [eax + 8]
call eax
mov bh, al
test bh, bh
je 0x100042ab
lea eax, [ebp - 0x1c]
push eax
push esi
push edi
push dword [ebp - 0x24]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
setne bl
test eax, eax
jne 0x10004260
push edi
and bl, bh
call fcn.1000afcb
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000af5c
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
Function at 0x10005e00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push 0x1000e340
push 0x64
call fcn.1000b656
mov esi, eax
add esp, 8
test esi, esi
je 0x10005f7b
push 0x63
lea ecx, [esi + 1]
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
lea eax, [esi + 4]
mov byte [esi], 1
push 2
push eax
call sub.MSVCP140.dll__Mtx_init_in_situ
lea eax, [esi + 0x34]
push eax
call sub.MSVCP140.dll__Cnd_init_in_situ
xorps xmm0, xmm0
mov dword [0x10037e2c], esi
add esp, 0x18
movq qword [esi + 0x5c], xmm0
cmp dword [ebp + 0x10], 0
mov esi, dword [ebp + 8]
je 0x10005e7e
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x10005e73
cmp byte [eax], 0
je 0x10005e73
push eax
push esi
call fcn.10006450
jmp 0x10005e7b
push 0
push esi
call fcn.100063d0
add esp, 8
call sub.KERNEL32.dll_GetCurrentProcessId
push 0x10012730
mov dword [0x10037e28], eax
call sub.MSVCP140.dll__Mtx_lock
add esp, 4
test eax, eax
jne 0x10005f8a
cmp dword [0x1001275c], 0x7fffffff
je 0x10005f91
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x10005ec5
movups xmm0, xmmword [eax]
movups xmmword [0x100337d8], xmm0
movq xmm0, qword [eax + 0x10]
jmp 0x10005ecf
xorps xmm0, xmm0
movups xmmword [0x100337d8], xmm0
movq qword [0x100337e8], xmm0
xorps xmm0, xmm0
push 0x10012730
movups xmmword [0x100337f0], xmm0
movq qword [0x10033800], xmm0
call sub.MSVCP140.dll__Mtx_unlock
add esp, 4
cmp dword [0x100337d4], 0
jne 0x10005f85
push esi
call fcn.1000a4e0
mov dword [0x100337d4], eax
mov dword [eax + 8], 0x100046d0
mov eax, dword [0x100337d4]
mov dword [eax + 0xc], 0x100046e0
mov al, 1
mov esi, dword [0x10037e2c]
xchg byte [esi], al
push 4
call fcn.1000af6a
add esp, 8
test eax, eax
je 0x10005f3d
mov dword [eax], esi
jmp 0x10005f3f
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push 0
push eax
push 0x10004730
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ecx, eax
add esp, 0x18
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x10005fa2
cmp dword [esi + 0x60], 0
je 0x10005f6d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
mov eax, dword [ebp - 4]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
pop esi
mov esp, ebp
pop ebp
ret
mov dword [0x10037e2c], 0
pop esi
mov esp, ebp
pop ebp
ret
push 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
push 6
mov dword [0x1001275c], 0x7ffffffe
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
push 6
mov dword [ebp - 4], 0
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x10006450
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa94
mov eax, dword [0x100123d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x84]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
mov edi, dword [ebp + 0xc]
push 0x20
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call esi
push 0x20
lea eax, [ebp - 0x44]
push eax
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call esi
lea eax, [ebp - 0xa90]
push eax
push 0x20019
push 0
push str.SoftwareValveSteam
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x100064c4
push str.Error_opening_Steam_key_n
jmp 0x10006584
lea eax, [ebp - 0xa94]
mov dword [ebp - 0xa94], 0x208
push eax
lea eax, [ebp - 0x28c]
push eax
push 0
push 0
push str.SteamExe
push dword [ebp - 0xa90]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0xa90]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x1000657f
mov ecx, dword [ebp - 0xa94]
cmp ecx, 1
jb 0x1000657f
shr ecx, 1
mov eax, esi
je 0x10006538
lea edx, [esi + 0x5c]
nop word [eax + eax]
cmp word [ebp + eax*2 - 0x28c], 0x2f
jne 0x10006533
mov word [ebp + eax*2 - 0x28c], dx
inc eax
cmp eax, ecx
jb 0x10006520
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x28c]
push eax
push str.__s__steam:__rungameid__s
lea eax, [ebp - 0xa8c]
push 0x800
push eax
call fcn.10006360
lea eax, [ebp - 0xa8c]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.10006070
add esp, 0x1c
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000af5c
mov esp, ebp
pop ebp
ret
push str.Error_reading_SteamExe_key_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.100065c0
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop edi
pop esi
call fcn.1000af5c
mov esp, ebp
pop ebp
ret
Function at 0x10006630
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x100123d4]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [str._pipediscord_ipc_0]
mov eax, dword [0x1000d538]
push ebx
push esi
push edi
push 0
push 0
mov dword [ebp - 0xc], eax
mov esi, ecx
mov ax, word [0x1000d53c]
push 3
movups xmmword [ebp - 0x34], xmm0
push 0
movups xmm0, xmmword [0x1000d520]
mov word [ebp - 8], ax
mov eax, 0x30
push 0
mov word [ebp - 0xa], ax
lea eax, [ebp - 0x34]
movups xmmword [ebp - 0x24], xmm0
push 0xc0000000
movq xmm0, qword [0x1000d530]
push eax
movq qword [ebp - 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x10006700
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
call edi
cmp eax, 2
jne 0x100066c9
mov ax, word [ebp - 0xa]
cmp ax, 0x39
jae 0x10006716
inc ax
mov word [ebp - 0xa], ax
jmp 0x100066df
cmp eax, 0xe7
jne 0x10006716
push 0x2710
lea eax, [ebp - 0x34]
push eax
call ebx
test eax, eax
je 0x10006716
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x100066b0
pop edi
mov byte [esi], 1
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000af5c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000af5c
mov esp, ebp
pop ebp
ret
Function at 0x10023238
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x10023247
pop dword [ebp - 0x2c]
mov eax, 0x89821a69
add eax, 0x868017de
sub dword [ebp - 0x2c], eax
push 0x40
push 0x1000
push 0x5bc66
push 0
mov eax, 0x35164d4f
sub eax, 0x25163c8b
add eax, dword [ebp - 0x2c]
call dword [eax]
mov ecx, 0x9e11334e
add ecx, 0x61ef23a3
mov edx, eax
mov ebx, 0xb7d51fb6
sub ebx, 0xa7c1a7b6
add ebx, dword [ebp - 0x2c]
mov esi, 0xfddc5717
sub esi, 0x4827e44c
add dword [ebp - 4], edx
mov edi, dword [ebx]
mov dword [ebp - 0x18], 0x8ba62f1b
xor edi, esi
add dword [ebp - 0xc], 0x3436f73b
mov dword [edx], edi
mov dword [ebp - 4], 0xa83a4304
add edx, 0x105fcb16
sub edx, 0x105fcb12
add ebx, 0xb79fd177
add ebx, 0x48602e8d
loop 0x100232a6
add eax, 0x14e97
mov ebx, eax
add eax, 0xe2ce6bda
add eax, 0x1d31942b
mov ecx, 0x36959cfb
add ecx, 0xd96a6305
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x4052d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x4052df
pop dword [ebp - 0x48]
mov eax, 0x4052df
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x574296e0
add dword [ebp - 0x58], 0xf70fae6b
mov dword [ebp - 0x54], 0x57be82fc
add dword [ebp - 0x54], 0xda74c949
mov dword [ebp - 0x50], 0x69f8b85a
sub dword [ebp - 0x50], 0x1dac742c
mov dword [ebp - 0x4c], 0xe8d9ded6
sub dword [ebp - 0x4c], 0xe8d9ded6
lea eax, [ebp - 0x58]
push eax
mov eax, 0x6fe49d44
add eax, 0x905ca34c
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0xc22a9c04
sub dword [ebp - 0x58], 0x4db832ae
mov dword [ebp - 0x54], 0x5450dd0d
add dword [ebp - 0x54], 0xed1b8468
mov dword [ebp - 0x50], 0x8eb64f23
add dword [ebp - 0x50], 0xd4b91d49
mov dword [ebp - 0x4c], 0x59b081b1
sub dword [ebp - 0x4c], 0x59b081b1
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0x340f8a64
add eax, 0xcc31b5d8
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x3d793
push 0
call eax
mov ecx, 0x52ca
xor edx, edx
add edx, eax
mov ebx, 0xe0f5f2a9
add ebx, 0x1f4bcd57
add ebx, dword [ebp - 0x48]
mov edi, 0x5a37e3d3
xor dword [ebp - 0x34], 0x248fba2a
mov esi, dword [ebx]
sub dword [ebp - 0x30], 0x45950597
xor esi, edi
add dword [ebp - 0x24], 0x78097040
mov dword [edx], esi
mov dword [ebp - 0x38], 0xde669a48
add edx, 0x2746df57
sub edx, 0x2746df53
add ebx, 4
loop 0x4053f2
add eax, 0x5e8fe78d
sub eax, 0x5e8ea992
xor ebx, ebx
add ebx, eax
add eax, 0xaa05987c
sub eax, 0xaa059877
mov ecx, 0x13fc7990
add ecx, 0xec438670
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x410b90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 4
mov esi, ecx
call main
pop ecx
xor ecx, ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x410bac
mov dword [eax], ecx
jmp 0x410bae
mov eax, ecx
push ecx
push ecx
push esi
push 0x410c20
push ecx
push ecx
mov dword [esi + 0x10], eax
call dword [sym.imp.kernel32.dll_CreateThread]
mov ecx, dword [esi + 0x10]
pop esi
mov dword [ecx], eax
leave
ret

Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x3091763b
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x4dff6ac3
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x4010d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4335cd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea eax, [esi + 0x5c]
lea ecx, [esi + 0x24]
mov dword [esi + 0x14], eax
lea eax, [esi + 0x74]
mov dword [esi + 0x18], eax
lea eax, [esi + 0x78]
mov dword [esi + 0x1c], eax
lea edi, [esi + 0x28]
lea ebx, [esi + 0x30]
lea ebp, [esi + 0x58]
lea eax, [esi + 0x80]
mov dword [esi + 4], ecx
mov dword [esi + 8], edi
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebp
mov dword [esi + 0x20], eax
call fcn.0041acb0
mov ecx, edi
mov dword [esp + 0x1c], 0
call fcn.00419380
mov ecx, ebx
mov byte [esp + 0x1c], 1
call fcn.00417eb0
mov ecx, ebp
mov byte [esp + 0x1c], 2
call fcn.004176c0
lea ecx, [esi + 0x5c]
mov byte [esp + 0x1c], 3
call fcn.00416f5c
lea ecx, [esi + 0x74]
mov byte [esp + 0x1c], 4
call fcn.00416af0
lea ecx, [esi + 0x78]
mov byte [esp + 0x1c], 5
call fcn.00416990
lea ecx, [esi + 0x80]
mov byte [esp + 0x1c], 6
call fcn.0041bd10
mov ecx, dword [esp + 0x14]
mov dword [esi], 0x43620c
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x404a90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x94
mov al, 0xaf
push esi
mov byte [esp + 0x14], al
mov byte [esp + 0x15], al
mov byte [esp + 0x16], al
mov byte [esp + 0x17], al
mov byte [esp + 0x18], al
mov byte [esp + 0x19], al
mov byte [esp + 0x1a], al
mov byte [esp + 0x1b], al
mov al, 0x41
mov esi, ecx
mov byte [esp + 0x21], al
mov byte [esp + 0x24], al
xor al, al
mov cl, 0x10
mov byte [esp + 0x25], al
mov byte [esp + 0x2e], al
mov byte [esp + 0x30], al
xor eax, eax
mov dword [esp + 0x31], eax
mov dl, 0xab
mov dword [esp + 0x35], eax
mov byte [esp + 0x13], cl
mov dword [esp + 0x39], eax
mov byte [esp + 0x2f], cl
mov ecx, dword [esp + 0xa8]
mov word [esp + 0x3d], ax
mov byte [esp + 4], 1
mov byte [esp + 5], 0x23
mov byte [esp + 6], 0x45
mov byte [esp + 7], 0x67
mov byte [esp + 8], 0x89
mov byte [esp + 9], dl
mov byte [esp + 0xa], 0xcd
mov byte [esp + 0xb], 0xef
mov byte [esp + 0xc], 0xfe
mov byte [esp + 0xd], 0xdc
mov byte [esp + 0xe], 0xba
mov byte [esp + 0xf], 0x98
mov byte [esp + 0x10], 0x76
mov byte [esp + 0x11], 0x54
mov byte [esp + 0x12], 0x32
mov byte [esp + 0x1c], 0x50
mov byte [esp + 0x1d], 0x43
mov byte [esp + 0x1e], 0x4d
mov byte [esp + 0x1f], 0x46
mov byte [esp + 0x20], 0x4c
mov byte [esp + 0x22], 0x53
mov byte [esp + 0x23], 0x48
mov byte [esp + 0x26], 0xb
mov byte [esp + 0x27], 9
mov byte [esp + 0x28], 0x16
mov byte [esp + 0x29], 0xa0
mov byte [esp + 0x2a], dl
mov byte [esp + 0x2b], 0x8f
mov byte [esp + 0x2c], 0x74
mov byte [esp + 0x2d], 8
mov byte [esp + 0x3f], al
call fcn.0041d6b4
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x40]
mov edx, dword [eax + 4]
push ecx
mov dword [esp + 0x2c], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x30], eax
call fcn.0040ec10
lea edx, [esp + 8]
push 0x2c
lea eax, [esp + 0x48]
push edx
push eax
call fcn.0040ec40
lea ecx, [esp + 0x40]
lea edx, [esp + 0x50]
push ecx
push edx
call fcn.0040ed00
add esp, 0x18
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00404c10
mov al, 1
pop esi
add esp, 0x94
ret 0x10

Function at 0x404c10
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
xor eax, ecx
test edx, edx
je 0x404c3d
mov ecx, dword [esp + 0xc]
push ebx
imul eax, eax, 0x19660d
mov bl, byte [ecx]
add eax, 0x3c6ef35f
xor bl, al
mov byte [ecx], bl
inc ecx
dec edx
jne 0x404c27
pop ebx
ret 0x10
Function at 0x404c40
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov eax, dword [esp + 0x14]
cdq
and edx, 7
mov dword [esp + 0x14], ecx
add eax, edx
sar eax, 3
je 0x404d68
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
push edi
mov esi, dword [ecx]
mov edx, dword [ecx + 4]
dec eax
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, ecx
mov ebp, esi
and eax, 3
shl ebp, 6
mov edi, dword [ebx + eax*4]
mov eax, esi
shr eax, 8
xor eax, ebp
mov dword [esp + 0x20], edi
add eax, edi
movsx edi, cl
add eax, ecx
add eax, edx
lea edx, [edi + 1]
and edx, 3
add eax, esi
mov ebp, eax
mov edx, dword [ebx + edx*4]
mov dword [esp + 0x1c], edx
mov edx, eax
shr edx, 8
shl ebp, 6
xor edx, ebp
mov ebp, dword [esp + 0x1c]
add edx, ebp
add edx, eax
add edx, ecx
lea edx, [edx + esi + 1]
mov esi, edx
mov ebp, edx
shr esi, 8
shl ebp, 6
xor esi, ebp
lea ebp, [edi - 2]
and ebp, 3
add esi, dword [ebx + ebp*4]
add esi, edx
add esi, eax
lea eax, [esi + ecx + 2]
mov esi, eax
mov ebp, eax
shr esi, 8
shl ebp, 6
xor esi, ebp
dec edi
and edi, 3
mov ebp, dword [ebx + edi*4]
add esi, ebp
mov ebp, dword [esp + 0x20]
add esi, eax
add esi, edx
lea esi, [esi + ecx + 3]
mov edx, esi
mov edi, esi
shr edx, 8
shl edi, 6
xor edx, edi
add edx, esi
add edx, eax
add edx, ebp
mov ebp, dword [esp + 0x1c]
lea edx, [edx + ecx + 4]
mov eax, edx
mov edi, edx
shr eax, 8
shl edi, 6
xor eax, edi
add eax, edx
add eax, esi
add eax, ebp
lea esi, [eax + ecx + 5]
add ecx, 6
cmp ecx, 0x30
jl 0x404c78
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], edx
add ecx, 8
test eax, eax
mov dword [esp + 0x10], ecx
je 0x404d64
mov ecx, dword [esp + 0x24]
add ecx, 8
mov dword [esp + 0x24], ecx
jmp 0x404c6c
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10

Function at 0x407410
Capabilities:
Create directory

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
xor ebx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x407468
mov ebp, dword [sym.imp.MSVCRT.dll__access]
cmp byte [ebx + esi], 0x5c
jne 0x407457
push 0
push esi
mov byte [ebx + esi], 0
call ebp
add esp, 8
test eax, eax
je 0x407453
push esi
call dword [sym.imp.MSVCRT.dll__mkdir]
add esp, 4
cmp eax, 0xffffffff
je 0x407472
mov byte [ebx + esi], 0x5c
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
inc ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ebx, ecx
jb 0x40742e
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
ret 4
pop edi
pop esi
pop ebp
or ax, 0xffff
pop ebx
ret 4