joyce8/EMBER2024-capa huggingface dataset:
Function at 0x656e50
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b4040
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
cmp dword [0x7890e4], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
je 0x656ee1
mov ecx, dword [0x7890e8]
mov dword [ebp - 4], 0
call fcn.0045a200
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x104]
test ecx, ecx
jne 0x656ea6
mov ebx, dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x656f31
cmp ecx, 1
jne 0x656ecc
mov ebx, dword [ebp + 0xc]
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x656eb3
sub esi, ecx
call fcn.006574b0
push esi
push ebx
mov ecx, eax
call fcn.00657530
jmp 0x656f31
cmp ecx, 2
jne 0x656f2e
cmp byte [eax], 0
jne 0x656ef2
mov ecx, dword [0x7890e8]
call fcn.0045a2d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x6f3260
push eax
call fcn.00671539
mov esi, eax
add esp, 8
test esi, esi
je 0x656f2e
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x656f10
push esi
sub ecx, edx
push ecx
push 1
push ebx
call fcn.00673e65
push esi
call fcn.006712b9
add esp, 0x14
jmp 0x656f31
mov ebx, dword [ebp + 0xc]
mov edi, dword [0x7890ec]
test edi, edi
je 0x656f8c
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x656f40
sub ecx, edx
mov edx, dword [0x7890f0]
add edx, ecx
cmp edx, 0x19000
jae 0x656f8c
mov esi, ebx
jmp 0x656f60
mov al, byte [ebx]
inc ebx
test al, al
jne 0x656f60
sub ebx, esi
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x656f70
mov ecx, ebx
mov dword [0x7890f0], edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x7890e8]
mov eax, accept
lock xadd dword [ecx], eax
test eax, 0x40000000
jne 0x656ee1
cmp eax, 0x80000000
jle 0x656ee1
lock bts dword [ecx], 0x1e
jb 0x656ee1
call fcn.0045a300
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x6574e0
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
cmp dword [0x7780cc], 0xffffffff
jne 0x65752b
call dword [sym.imp.KERNEL32.dll_AllocConsole]
push str.Debug
lea eax, [ebp - 0x100]
push str._s___Diagnostic_Console
push eax
call fcn.0066d97a
add esp, 0xc
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [0x7780cc], eax
mov esp, ebp
pop ebp
ret
Function at 0x693e30
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x778400]
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
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0067a388
mov dword [ebp - 0x14], eax
cmp dword [0x78a45c], esi
jne 0x693f23
push 0x800
push esi
push 0x73cb98
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x693eb0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x694003
push esi
push esi
push 0x73cb98
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x694003
push 0x73cbb0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x694003
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x78a45c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x78a460], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x73cbe0
push edi
mov dword [0x78a464], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x78a46c], eax
test eax, eax
je 0x693f20
push 0x73cbfc
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x78a468], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x693f48
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x693f3b
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x693f5d
push 4
pop eax
jmp 0x694005
cmp dword [ebp - 0x14], esi
je 0x693f5d
push dword [0x78a45c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x693f42
mov eax, dword [0x78a468]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x693fbb
cmp dword [0x78a46c], edi
je 0x693fbb
push eax
call ebx
push dword [0x78a46c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x693fbb
test eax, eax
je 0x693fbb
call ecx
test eax, eax
je 0x693fb0
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 0x693fb0
test byte [ebp - 8], 1
jne 0x693fbb
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x693feb
mov eax, dword [0x78a460]
cmp eax, edi
je 0x693fe8
push eax
call ebx
test eax, eax
je 0x693fe8
call eax
mov esi, eax
test esi, esi
je 0x693fe8
mov eax, dword [0x78a464]
cmp eax, edi
je 0x693fe8
push eax
call ebx
test eax, eax
je 0x693fe8
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x78a45c]
call ebx
test eax, eax
je 0x694003
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x694005
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0066c98d
mov esp, ebp
pop ebp
ret
Function at 0x699dc0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x6b5230
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x778400]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x778400]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x54]
cmp dword [edi + 0x14], 8
jb 0x699e08
mov eax, dword [edi]
jmp 0x699e0a
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
jne 0x699e2a
push ebp
push edi
push ebx
call fcn.00699c60
add esp, 0xc
jmp 0x699f40
test eax, 0x400
je 0x699ef9
cmp dword [edi + 0x14], 8
jb 0x699e3f
mov eax, dword [edi]
jmp 0x699e41
mov eax, edi
push eax
lea ecx, [esp + 0x24]
call fcn.006995b0
cmp dword [esp + 0x34], 8
lea eax, [esp + 0x20]
push 0
cmovae eax, dword [esp + 0x24]
push 0x2000000
push 3
push 0
push 7
push 0
push eax
mov dword [esp + 0x60], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [esp + 0x14], esi
cmp dword [esp + 0x34], 8
mov byte [esp + 0x44], 2
jb 0x699e95
push dword [esp + 0x20]
call fcn.00480130
add esp, 4
xor eax, eax
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
cmp esi, 0xffffffff
je 0x699e1a
push edi
call fcn.006997c0
add esp, 4
test al, al
jne 0x699eea
mov eax, dword [esp + 0x1c]
push eax
push edi
call fcn.006998b0
add esp, 8
mov dword [ebx], 9
mov dword [ebx + 4], eax
mov dword [esp + 0x44], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x699f40
push esi
mov dword [esp + 0x48], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebp, ebp
je 0x699f0c
mov dword [ebp], 0
call fcn.0069ccc0
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], 3
push eax
push edi
test al, 0x10
jne 0x699f26
mov dword [esp + 0x1c], 2
call fcn.006998b0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], eax
mov eax, dword [ecx]
add esp, 8
mov dword [ebx], eax
mov eax, dword [ecx + 4]
mov dword [ebx + 4], eax
mov eax, ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0066c98d
add esp, 0x34
ret
Function at 0x69a350
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x6b5330
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
mov eax, dword [0x778400]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x7c]
mov dword [esi + 4], eax
push 0x702ccc
lea ecx, [esp + 0x3c]
mov dword [esp + 0x78], 0
mov dword [esi], vtable.std::codecvt_wchar_t__char__int_.0
call fcn.004268f0
lea eax, [esp + 0xc]
mov byte [esp + 0x74], 1
push eax
call fcn.00657f48
add esp, 4
lea ecx, [esp + 0x38]
movdqu xmm0, xmmword [eax]
movdqu xmmword [esi + 8], xmm0
movdqu xmm0, xmmword [eax + 0x10]
movdqu xmmword [esi + 0x18], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [esi + 0x28], xmm0
mov eax, dword [eax + 0x28]
mov dword [esi + 0x30], eax
call fcn.00426a90
mov eax, esi
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x70
ret 4
Function at 0x69b000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x6b55a0
mov eax, dword fs:[0]
push eax
push ebx
push ebp
mov eax, dword [0x778400]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 0x14], 3
lea ebx, [ebx]
mov ebp, dword [esp + 0x34]
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x74]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x38]
cmp ebp, dword [esp + 0x54]
jne 0x69b051
cmp ecx, eax
je 0x69b0cc
cmp ebx, dword [esp + 0x94]
jne 0x69b060
cmp dword [esp + 0x78], edx
je 0x69b0cc
cmp dword [esp + 0x70], 8
lea eax, [esp + 0x5c]
push dword [esp + 0x6c]
cmovae eax, dword [esp + 0x60]
lea ecx, [esp + 0x20]
push eax
push dword [esp + 0x34]
push 0
call fcn.00429350
test eax, eax
js 0x69b11b
cmp dword [esp + 0x30], 8
lea eax, [esp + 0x1c]
push dword [esp + 0x2c]
cmovae eax, dword [esp + 0x20]
lea ecx, [esp + 0x60]
push eax
push dword [esp + 0x74]
push 0
call fcn.00429350
test eax, eax
js 0x69b114
lea eax, [esp + 0x1c]
push eax
call fcn.0069b1d0
lea eax, [esp + 0x60]
push eax
call fcn.0069b1d0
add esp, 8
jmp 0x69b030
cmp ebp, dword [esp + 0x54]
jne 0x69b102
cmp ecx, eax
jne 0x69b102
cmp ebx, dword [esp + 0x94]
jne 0x69b0e9
cmp dword [esp + 0x78], edx
jne 0x69b0e9
xor ebx, ebx
jmp 0x69b11e
cmp ecx, eax
jne 0x69b102
xor ebx, ebx
mov eax, 1
test al, al
sete bl
lea ebx, [ebx*2 - 1]
jmp 0x69b11e
xor ebx, ebx
xor eax, eax
test al, al
sete bl
lea ebx, [ebx*2 - 1]
jmp 0x69b11e
mov ebx, 1
jmp 0x69b11e
or ebx, 0xffffffff
cmp dword [esp + 0x30], 8
jb 0x69b131
push dword [esp + 0x1c]
call fcn.00480130
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
cmp dword [esp + 0x50], 8
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
jb 0x69b15b
push dword [esp + 0x3c]
call fcn.00480130
add esp, 4
xor eax, eax
mov dword [esp + 0x50], 7
cmp dword [esp + 0x70], 8
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], ax
jb 0x69b185
push dword [esp + 0x5c]
call fcn.00480130
add esp, 4
xor eax, eax
mov dword [esp + 0x70], 7
cmp dword [esp + 0x90], 8
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], ax
jb 0x69b1b2
push dword [esp + 0x7c]
call fcn.00480130
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x69d1b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6b5990
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x778400]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.0066d677
mov dword [esi], vtable.boost::system::system_error.0
lea ecx, [esi + 0x14]
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
lea eax, [edi + 0x14]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov dword [esp + 0x24], 0
mov byte [ecx], 0
call fcn.00419810
mov dword [esi], vtable.boost::lock_error.0
mov dword [esi + 0x2c], vtable.boost::exception.0
mov ecx, dword [edi + 0x30]
mov dword [esp + 0x18], 1
mov dword [esi + 0x30], ecx
test ecx, ecx
je 0x69d242
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, esi
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.0
mov dword [esi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.1.0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x69d280
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6b59b8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x778400]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov esi, dword [esp + 0x20]
push esi
call fcn.0066d677
mov dword [edi], vtable.boost::system::system_error.0
lea ecx, [edi + 0x14]
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
lea eax, [esi + 0x14]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov dword [esp + 0x24], 0
mov byte [ecx], 0
call fcn.00419810
mov dword [edi + 0x2c], vtable.boost::exception.0
mov eax, edi
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0xffffffff
mov dword [edi], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.0
mov dword [edi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.1.0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x69e2e0
Capabilities:
Get thread local storage value

Disassembly:
push ecx
mov eax, dword [0x779748]
cmp eax, 0xffffffff
je 0x69e354
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call esi
test eax, eax
je 0x69e353
mov eax, dword [0x779748]
cmp eax, 0xffffffff
jne 0x69e307
xor ecx, ecx
jmp 0x69e311
push eax
call esi
mov ecx, eax
mov eax, dword [0x779748]
cmp byte [ecx + 0x38], 0
je 0x69e353
cmp eax, 0xffffffff
je 0x69e353
push eax
call esi
test eax, eax
je 0x69e353
mov eax, dword [0x779748]
cmp eax, 0xffffffff
jne 0x69e331
xor eax, eax
jmp 0x69e334
push eax
call esi
push 0
push 0
push dword [eax + 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
test eax, eax
jne 0x69e353
mov eax, dword [0x779748]
cmp eax, 0xffffffff
jne 0x69e356
xor eax, eax
jmp 0x69e359
pop esi
pop ecx
ret
push eax
call esi
push dword [eax + 0x34]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0x76b304
lea eax, [esp + 0xb]
mov byte [esp + 0xb], 0
push eax
call fcn.00671074
int3

Function at 0x69eae0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x6b5c58
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x778400]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov eax, dword [0x779748]
cmp eax, 0xffffffff
jne 0x69eb15
xor ebx, ebx
jmp 0x69eb1e
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov dword [esp + 0x14], ebx
mov ebp, dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esp + 0x24], 0
test ebx, ebx
je 0x69eb65
cmp dword [ebx + 0x18], 0
mov esi, dword [ebx + 0xc]
jne 0x69eba5
test esi, esi
jne 0x69ebb0
push 0x69da70
push 0x78a640
call fcn.0069d7b0
mov eax, dword [0x779748]
add esp, 8
cmp eax, 0xffffffff
je 0x69eb65
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esp + 0x24], 0xffffffff
test ebx, ebx
je 0x69eb91
lea eax, [ebx + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x69eb91
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax]
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
test esi, esi
je 0x69ebea
lea esp, [esp]
mov eax, dword [esi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x69ebd7
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esi]
mov ecx, edi
push 0
mov eax, dword [edi]
call dword [eax]
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
mov esi, dword [ebx + 0xc]
test esi, esi
jne 0x69ebb0
cmp dword [ebx + 0x18], 0
je 0x69eb34
mov esi, dword [ebx + 0x14]
mov esi, dword [esi]
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x69ec0d
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x69ec0d
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push esi
lea eax, [esp + 0x1c]
push eax
lea ecx, [ebx + 0x14]
call fcn.00461df0
cmp dword [ebx + 0x18], 0
jne 0x69ebf4
jmp 0x69eb34
Function at 0x69ec30
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push esi
mov esi, ecx
mov edx, dword [esi]
lea eax, [edx + 0x10]
push eax
push 4
push edx
push 0x69eca0
push 0
push 0
call fcn.0066da1a
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x69ec59
pop esi
xor al, al
pop ebx
ret
mov ecx, dword [esi]
mov eax, 1
push edi
add ecx, 4
lock xadd dword [ecx], eax
mov edi, dword [esi]
mov eax, dword [edi + 8]
test eax, eax
je 0x69ec7d
cmp eax, 0xffffffff
je 0x69ec7d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 8], ebx
mov eax, dword [esi]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop esi
mov al, 1
pop ebx
ret
Function at 0x402510
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0xc], 0
xor ecx, ecx
mov word [esp + 0xc], ax
mov word [esp + 0xc], cx
push edi
call fcn.0040b759
mov ebx, dword [esp + 0x18]
push edi
mov esi, eax
push ebx
push esi
call fcn.0040b830
fld dword [0x423ea8]
fsub qword [0x41f448]
add edi, esi
add esp, 0x10
mov eax, esi
fsub dword [0x425ff4]
fmul qword [0x423d38]
mov edx, dword [0x4278e4]
lea ecx, [edx + ebx]
sub ecx, 0x423004
fstp qword [0x423d38]
movzx edx, word [0x425e24]
movsx edx, dx
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fadd dword [0x423d64]
fstp dword [0x423d64]
dec word [0x425e24]
movzx edx, word [esp + 0xc]
add edx, 0x10d93243
mov word [esp + 0xc], dx
cmp esi, edi
je 0x4025ce
nop
mov dl, byte [ecx]
xor byte [eax], dl
movzx edx, word [0x425dc4]
add edx, 0x6bccc939
inc eax
inc ecx
mov word [esp + 0xc], dx
cmp eax, edi
jne 0x4025b0
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x402660
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x68
fldz
xor eax, eax
mov word [esp], ax
xor ecx, ecx
mov word [esp + 4], cx
fstp qword [esp + 0xc]
fld qword [esp + 0xc]
mov dx, word [esp + 4]
mov cx, word [esp]
fsub qword [0x41f460]
movsx eax, dx
movsx edx, cx
fsub qword [0x41f458]
lea eax, [eax + edx + 0x49b7e977]
mov dword [esp + 8], eax
mov ecx, 0xffffffff
add dword [esp + 4], ecx
fild dword [esp + 8]
add dword [esp], ecx
fcompp
fnstsw ax
test ah, 1
jne 0x40270a
mov dx, word [0x423ed8]
movsx eax, dx
mov edx, dword [0x42467c]
add dword [0x42467c], ecx
inc word [0x423ed8]
lea eax, [edx + eax + 0x7c0b4052]
cmp eax, 0x8053ac02
jne 0x40270a
mov dx, word [esp]
fld qword [esp + 0xc]
fstp st(0)
fld qword [esp + 0xc]
mov eax, dword [0x423d74]
add dword [esp], ecx
fstp st(0)
fld qword [esp + 0xc]
fadd qword [0x41f348]
fstp qword [esp + 0xc]
fld dword [0x41f450]
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], 0x44
fstp dword [0x424684]
movzx edx, word [esp + 4]
xor ecx, ecx
mov word [esp + 0x56], cx
movsx ecx, dx
add ecx, 0x182af1a1
mov dword [esp + 8], ecx
mov edx, 1
lea ecx, [esp + 0x14]
fild dword [esp + 8]
push ecx
mov ecx, dword [esp + 0x70]
mov word [esp + 0x58], dx
lea edx, [esp + 0x28]
push edx
push eax
push eax
push 8
push eax
push eax
push eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x90]
push eax
mov dword [esp + 0x74], 1
push ecx
fstp qword [0x425938]
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
movzx edx, word [0x423ed8]
movzx ecx, word [esp]
movsx eax, dx
imul ecx, eax
mov word [0x423ed8], cx
inc dword [esp]
add esp, 0x68
ret
Function at 0x4035a0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x10
fldz
push ebx
push esi
fst dword [esp + 8]
push edi
fstp dword [esp + 0x10]
fldz
push 3
fstp qword [esp + 0x18]
push 0x4246d8
call fcn.00402510
mov ebx, dword [esp + 0x28]
mov esi, eax
push esi
push ebx
call fcn.0040c2ed
mov edi, eax
mov ax, word [0x4246f4]
inc word [0x4246f4]
movsx ecx, ax
add esp, 0x10
cmp ecx, 0x11dcaea5
jge 0x4035fc
fld dword [esp + 0x10]
fadd qword [0x425f90]
fstp qword [0x425f90]
test edi, edi
jne 0x40364d
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push ebx
call fcn.0040c2ed
fld dword [esp + 0x14]
fadd qword [0x41f348]
add esp, 8
mov edi, eax
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
mov edx, dword [0x424774]
fsub qword [0x41f4c8]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
faddp st(1)
call fcn.0040b550
mov dword [0x424774], eax
test edi, edi
je 0x403665
push edi
push 1
lea eax, [esp + 0x2c]
push 4
push eax
call fcn.0040c515
push edi
call fcn.0040be93
add esp, 0x14
xor eax, eax
xor ecx, ecx
xor edx, edx
mov word [esp + 0xc], cx
mov word [esi], ax
mov word [esp + 0xc], dx
push esi
mov byte [esi + 2], al
call fcn.0040b5fb
fld qword [esp + 0x18]
mov ax, word [0x4259ac]
add esp, 4
movsx ecx, ax
mov edx, 0xe1d93dca
sub edx, ecx
mov dword [esp + 0x10], edx
pop edi
pop esi
fild dword [esp + 8]
pop ebx
fsubp st(1)
fstp qword [esp + 8]
add esp, 0x10
ret
Function at 0x403e00
Capabilities:
Set registry value

Disassembly:
sub esp, 0x14
fldz
push ebx
xor eax, eax
mov word [esp + 4], ax
fstp qword [esp + 0xc]
xor ecx, ecx
push 0x2e
mov word [esp + 0xc], cx
push 0x425d6c
call fcn.00402510
inc word [0x423d34]
fld dword [0x4246d4]
fld dword [0x423df4]
mov dx, word [0x423d34]
fadd qword [0x41f518]
mov ebx, eax
movsx eax, dx
mov dword [esp + 0x14], eax
add esp, 8
lea ecx, [esp + 0x14]
fild dword [esp + 0xc]
push ecx
push ebx
push connect
fsubp st(1)
fsubp st(1)
fstp dword [0x4246d4]
fld dword [0x423df4]
fadd qword [0x41f348]
fstp dword [0x423df4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x403ede
push esi
push edi
push 0x34
push 0x4259b0
call fcn.00402510
mov edx, dword [esp + 0x2c]
mov esi, eax
mov eax, edx
add esp, 8
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403ea1
sub eax, edi
push eax
push edx
mov edx, dword [esp + 0x24]
push 1
push 0
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor ecx, ecx
push 0x34
xor eax, eax
push ecx
mov word [esp + 0x1c], ax
push esi
mov word [esp + 0x20], cx
call fcn.0040b690
push esi
call fcn.0040b5fb
add esp, 0x10
pop edi
pop esi
xor eax, eax
push 0x2e
xor edx, edx
push eax
mov word [esp + 0x14], dx
mov word [esp + 0x14], ax
push ebx
call fcn.0040b690
push ebx
call fcn.0040b5fb
mov cx, word [esp + 0x14]
movsx edx, cx
add edx, 0x4fedbee9
mov dword [esp + 0x1c], edx
add esp, 0x10
pop ebx
fild dword [esp + 8]
fld dword [0x423e54]
fsubr qword [0x41f510]
fucompp
fnstsw ax
fld dword [0x423e54]
fadd qword [0x41f348]
fstp dword [0x423e54]
test ah, 0x44
jp 0x403f56
mov ax, word [esp + 4]
movsx ecx, ax
sub ecx, 0x61bb3c91
mov dword [esp + 8], ecx
fild dword [esp + 8]
fstp qword [esp + 8]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x14
ret