joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6ae08c80
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x1c
cmp dword [0x6ae6828c], 1
je 0x6ae08c91
call fcn.6ae07c50
mov eax, dword [0x6ae0f330]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x6ae08cb0
mov eax, dword [eax + 0x18]
add esp, 0x1c
ret
call fcn.6ae07cf0
test eax, eax
jne 0x6ae08ca6
add esp, 0x1c
ret

Function at 0x6ae08d10
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x1c
cmp dword [0x6ae6828c], 1
je 0x6ae08d21
call fcn.6ae07c50
mov eax, dword [0x6ae0f330]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x6ae08d40
add eax, 0xc
add esp, 0x1c
ret
call fcn.6ae07cf0
test eax, eax
jne 0x6ae08d36
jmp 0x6ae08d39

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

Disassembly:
push esi
push ebx
sub esp, 0x14
mov esi, dword [esp + 0x20]
call fcn.6ae07e40
mov dword [eax + 4], esi
mov ebx, eax
mov eax, dword [eax + 0xb4]
test eax, eax
je 0x6ae08d92
call fcn.6ae07e80
test byte [ebx + 0x20], 0x30
jne 0x6ae08dac
add ebx, 0x70
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.msvcrt.dll_longjmp]
mov eax, dword [0x6ae0f330]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
push edx
test eax, eax
je 0x6ae08def
cmp dword [ebx + 0x14], 0
mov eax, dword [eax + 0x18]
je 0x6ae08e33
mov dword [ebx + 0x68], 1
mov esi, dword [ebx + 4]
test eax, eax
je 0x6ae08de2
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
mov dword [ebx + 0x18], 0
test byte [ebx + 0x24], 4
jne 0x6ae08df8
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll__endthreadex]
mov eax, dword [ebx + 0x14]
mov dword [ebx], 0xdeadbeef
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
mov dword [ebx + 0x14], 0
mov eax, ebx
call fcn.6ae07c30
mov eax, dword [0x6ae0f330]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push eax
push eax
jmp 0x6ae08def
mov dword [ebx], 0xdeadbeef
test eax, eax
je 0x6ae08e47
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
mov dword [ebx + 0x18], 0
mov esi, dword [ebx + 4]
jmp 0x6ae08e12

Function at 0x6ae08e60
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x6ae68294]
test eax, eax
jne 0x6ae08e70
xor eax, eax
ret
sub esp, 0x1c
cmp dword [0x6ae6828c], 1
je 0x6ae08e81
call fcn.6ae07c50
mov eax, dword [0x6ae0f330]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x6ae08ec0
mov edx, dword [eax + 0x10]
test edx, edx
jle 0x6ae08ea8
xor eax, eax
add esp, 0x1c
ret
test byte [eax + 0x20], 3
je 0x6ae08e9d
mov eax, dword [eax + 0x24]
and eax, 1
jmp 0x6ae08e9f
call fcn.6ae07cf0
test eax, eax
je 0x6ae08e9d
jmp 0x6ae08e96
Function at 0x6ae08ed0
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x1c
cmp dword [0x6ae6828c], 1
je 0x6ae08ee1
call fcn.6ae07c50
mov eax, dword [0x6ae0f330]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x6ae08f20
mov edx, dword [esp + 0x20]
add eax, 0x10
test edx, edx
jle 0x6ae08f10
lock add dword [eax], 1
add esp, 0x1c
ret
lock sub dword [eax], 1
add esp, 0x1c
ret
call fcn.6ae07cf0
test eax, eax
jne 0x6ae08ef6
add esp, 0x1c
ret

Function at 0x6ae09020
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
cmp dword [0x6ae6828c], 1
je 0x6ae09033
call fcn.6ae07c50
mov eax, dword [0x6ae0f330]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x6ae09090
test byte [ebx + 0x20], 0xc
jne 0x6ae09059
mov eax, dword [0x6ae68294]
test eax, eax
jne 0x6ae09060
add esp, 0x14
pop ebx
pop esi
ret
lea esi, [ebx + 0x1c]
mov dword [esp], esi
call fcn.6ae06e50
movzx eax, byte [ebx + 0x20]
test al, 3
je 0x6ae09082
mov edx, dword [ebx + 0x24]
test dl, 1
je 0x6ae09082
mov ecx, dword [ebx + 0x10]
test ecx, ecx
jle 0x6ae090a1
mov dword [esp], esi
call fcn.6ae07190
add esp, 0x14
pop ebx
pop esi
ret
call fcn.6ae07cf0
mov ebx, eax
test eax, eax
jne 0x6ae0904a
add esp, 0x14
pop ebx
pop esi
ret
and eax, 0xfffffff3
and edx, 0xfffffffe
or eax, 4
mov dword [ebx + 0x24], edx
mov byte [ebx + 0x20], al
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x6ae090c1
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push eax
mov dword [esp], esi
call fcn.6ae07190
call fcn.6ae08f30
nop
push esi
xor esi, esi
push ebx
sub esp, 0x14
mov eax, dword [esp + 0x20]
test eax, eax
je 0x6ae090f8
mov dword [esp], eax
call fcn.6ae06cf0
mov ecx, 0xfffffffe
cmp ecx, eax
sbb esi, edx
mov esi, 0xffffffff
cmovae esi, eax
cmp dword [0x6ae6828c], 1
je 0x6ae09106
call fcn.6ae07c50
mov eax, dword [0x6ae0f330]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x6ae09178
test esi, esi
je 0x6ae09150
call fcn.6ae09020
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x6ae09188
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esp, 8
call fcn.6ae09020
add esp, 0x14
xor eax, eax
pop ebx
pop esi
ret
call fcn.6ae09020
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 4
call fcn.6ae09020
add esp, 0x14
xor eax, eax
pop ebx
pop esi
ret
call fcn.6ae07cf0
mov ebx, eax
jmp 0x6ae0911d
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 4
jmp 0x6ae0913d
Function at 0x6ae0caf8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, edx
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
sub esp, 0x3c
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x2000000
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40000000
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
sub esp, 0x1c
cmp eax, 0xffffffff
jne 0x6ae0cb6a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.__ls_:_Cant_open_file_for_writing
call fcn.6ae0df2f
mov eax, 0x2f
jmp 0x6ae0cc02
mov esi, eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 4], ebp
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 0x14
test eax, eax
je 0x6ae0cbae
cmp dword [esp + 0x2c], edi
je 0x6ae0cbd5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 8], ebx
mov dword [esp + 4], str.__ls_:_Cant_write_file
mov dword [esp], eax
call fcn.6ae0df2f
mov dword [esp], esi
call ebp
mov eax, 0x48
push ecx
jmp 0x6ae0cc02
mov dword [esp], esi
call ebp
push edx
mov edx, eax
xor eax, eax
test edx, edx
jne 0x6ae0cc02
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.__ls_:_Cant_close_handle
call fcn.6ae0df2f
mov eax, 0x48
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x402280
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x4051e6], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push str.immortable
push str.Odios
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4022c8
xor eax, eax
jmp 0x4022e3
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x403750
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
call fcn.00403880
push 0x405004
push section..data
jmp loc.00409000
Function at 0x100010b0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get session user name

Disassembly:
push 0xffffffffffffffff
push 0x100097b0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1000e378]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
mov dword [edi], vtable.IpcChannelManagerImp.0
mov eax, dword [0x1000e344]
mov ecx, 0x1000e344
mov dword [esp + 0x20], 0
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 8], eax
mov eax, dword [0x1000e344]
mov ecx, 0x1000e344
mov byte [esp + 0x20], 1
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0xc], eax
mov eax, dword [0x1000e344]
mov ecx, 0x1000e344
mov byte [esp + 0x20], 2
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 1
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov eax, dword [esp + 0x28]
lea ebx, [edi + 0x6c]
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov byte [edi + 0x4c], 0
mov dword [edi + 0x68], 0
mov dword [ebx], eax
mov dword [edi + 0x70], 0
mov byte [edi + 0x74], 1
mov eax, dword [edi + 0x10]
mov dword [esp + 0x10], 0x104
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x104
or eax, ecx
mov byte [esp + 0x20], 7
jge 0x100011df
push 0x104
lea ecx, [edi + 0x10]
call fcn.10001f80
lea eax, [esp + 0x10]
push eax
push dword [edi + 0x10]
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x100011f8
xor ecx, ecx
jmp 0x1000120f
push dword [eax - 8]
push eax
call dword [sym.imp.MSVCR110.dll_wcsnlen]
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x1000129e
mov eax, dword [edi + 0x10]
cmp ecx, dword [eax - 8]
jg 0x1000129e
mov dword [eax - 0xc], ecx
mov eax, dword [edi + 0x10]
xor edx, edx
mov word [eax + ecx*2], dx
lea eax, [edi + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
cmp dword [ebx], 0
jne 0x10001287
push 8
call sub.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x28], eax
mov byte [esp + 0x20], 8
test eax, eax
je 0x10001258
mov ecx, eax
call fcn.100012b0
mov esi, eax
jmp 0x1000125a
xor esi, esi
lea eax, [esp + 0x28]
mov byte [esp + 0x20], 7
cmp ebx, eax
je 0x1000127b
mov ecx, dword [ebx]
cmp esi, ecx
je 0x10001287
test ecx, ecx
je 0x10001277
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebx], esi
jmp 0x10001287
test esi, esi
je 0x10001287
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 4
push 0x80070057
call fcn.100018b0
int3
Function at 0x10002160
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push dword [esp + 8]
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10002173
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100021b4
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x100021b0
jmp 0x100021a0
cmp esi, edx
jae 0x100021b4
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x100021a0
cmp esi, edx
jb 0x100021b8
xor eax, eax
pop esi
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
ret
Function at 0x10003180
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x10009b8b
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1000e378]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esp + 0xa0]
test ecx, ecx
jne 0x100031bb
xor edx, edx
jmp 0x100031cf
mov edx, ecx
lea edi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100031c0
sub edx, edi
sar edx, 1
push edx
push ecx
lea ecx, [esi + 8]
call fcn.10002030
mov edi, dword [esp + 0xa4]
lea ebx, [esi + 0xc]
test edi, edi
jne 0x100031eb
xor ecx, ecx
jmp 0x100031ff
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100031f0
sub ecx, edx
sar ecx, 1
push ecx
push edi
mov ecx, ebx
call fcn.10002030
mov eax, dword [esp + 0xa8]
push 0x44
mov dword [esi + 0x68], eax
lea eax, [esp + 0x4c]
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
xorps xmm0, xmm0
push 1
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x50], 0x44
movq qword [esp + 0x2c], xmm0
movq qword [esp + 0x34], xmm0
movq qword [esp + 0x20], xmm0
mov dword [esp + 0x28], 0
movq qword [esp + 0x3c], xmm0
movq qword [esp + 0x44], xmm0
mov dword [esp + 0x4c], 0
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x1000328e
push 0
push 0
push 1
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea eax, [esp + 0x34]
mov dword [esp + 0x18], 0xc
mov dword [esp + 0x1c], eax
push edi
lea ecx, [esp + 0x18]
call section..text
mov eax, dword [esp + 0x14]
xor ecx, ecx
xor bl, bl
mov dword [esp + 0x94], 0
cmp dword [eax - 0xc], ecx
je 0x100032ca
cmp dword [eax - 4], 1
jle 0x100032c6
push dword [eax - 0xc]
lea ecx, [esp + 0x18]
call fcn.10001930
mov eax, dword [esp + 0x14]
mov ecx, eax
mov bl, 1
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x34]
push eax
push ecx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x100032f5
xor bl, bl
jmp 0x1000333d
test bl, bl
je 0x10003326
mov eax, dword [esp + 0x14]
push dword [eax - 8]
push eax
call dword [sym.imp.MSVCR110.dll_wcsnlen]
mov edx, eax
add esp, 8
test edx, edx
js 0x10003384
mov ecx, dword [esp + 0x14]
cmp edx, dword [ecx - 8]
jg 0x10003384
mov dword [ecx - 0xc], edx
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov word [eax + edx*2], cx
mov eax, dword [esp + 0x2c]
push dword [esp + 0x9c]
mov ecx, esi
mov dword [esi + 0x14], eax
call fcn.10002610
mov bl, 1
mov esi, dword [esp + 0x14]
add esi, 0xfffffff0
mov dword [esp + 0x94], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10003366
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret 0x10
push 0x80070057
call fcn.100018b0
int3
Function at 0x10003a60
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x10009c1f
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1000e378]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
push dword [esp + 0x20]
lea ecx, [esi + 4]
mov dword [esp + 0x18], 0
mov dword [esi], vtable.IpcChannelImp.0
call section..text
mov eax, dword [esp + 0x24]
push dword [esp + 0x28]
lea ecx, [esi + 0xc]
mov byte [esp + 0x18], 1
mov dword [esi + 8], eax
call section..text
push dword [esp + 0x2c]
lea ecx, [esi + 0x10]
mov byte [esp + 0x18], 2
call section..text
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov byte [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
push 0x18
mov byte [esp + 0x18], 4
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
call sub.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
jne 0x10003b20
call dword [sym.imp.MSVCP110.dll_void___cdecl_std::_Xbad_alloc_void_]
lea ecx, [eax + 4]
mov dword [eax], eax
test ecx, ecx
je 0x10003b2b
mov dword [ecx], eax
lea ecx, [eax + 8]
test ecx, ecx
je 0x10003b34
mov dword [ecx], eax
mov word [eax + 0xc], 0x101
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x38], 0xa
mov dword [esi + 0x54], eax
push 0x18
mov byte [esp + 0x18], 5
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
call sub.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
jne 0x10003b72
call dword [sym.imp.MSVCP110.dll_void___cdecl_std::_Xbad_alloc_void_]
lea ecx, [eax + 4]
mov dword [eax], eax
test ecx, ecx
je 0x10003b7d
mov dword [ecx], eax
lea ecx, [eax + 8]
test ecx, ecx
je 0x10003b86
mov dword [ecx], eax
mov word [eax + 0xc], 0x101
mov dword [esi + 0x58], eax
lea eax, [esi + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x14

Function at 0x10007830
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cmp dword [ebp - 0x37c], 0
je 0x1000783b
jmp 0x10007840
jmp fcn.1000713c
cmp dword [ebp - 0x37c], 0
jne 0x100078ea
mov eax, dword [ebp - 0x748]
mov dword [ebp - 0x7ec], eax
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x7e8], eax
and dword [ebp - 0x7e0], 0
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
invalid
Function at 0x10007da0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], vtable.InPipe.0
je 0x10007dee
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x10007dee
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x3e8
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10007de4
push 0
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x3c]
call edi
push dword [esi + 0x38]
call edi
mov eax, dword [esi + 0x34]
test eax, eax
je 0x10007df8
push eax
call edi
mov eax, dword [esi + 0x40]
test eax, eax
je 0x10007e02
push eax
call edi
pop edi
mov ecx, esi
pop esi
jmp fcn.10007f10

Function at 0x100085f0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x1000a0c8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1000e378]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, ecx
mov ebx, dword [esp + 0x28]
test ebx, ebx
jne 0x10008626
xor eax, eax
jmp 0x100086c5
mov edi, dword [ebx + 0x10]
add edi, edi
push edi
call fcn.10008cd1
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], 0
test esi, esi
jne 0x1000864a
xor edi, edi
jmp 0x100086b2
push edi
push 0
push esi
call sub.MSVCR110.dll_memset
mov edi, dword [esp + 0x38]
push edi
push ebx
push esi
call sub.MSVCR110.dll_memcpy
add esp, 0x18
lea ecx, [esp + 0x14]
push 0
push ecx
push dword [ebx + 0x10]
lea eax, [esi + edi]
push eax
push dword [ebp + 0x34]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x100086a2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x1000869d
cmp eax, 0xe8
je 0x1000869d
cmp eax, 0xe9
je 0x1000869d
cmp eax, 0x6d
jne 0x100086ad
or edi, 0xffffffff
jmp 0x100086b2
mov eax, dword [ebp]
push esi
push 1
mov ecx, ebp
call dword [eax + 0x14]
mov edi, 1
push esi
mov dword [esp + 0x24], 0xffffffff
call sub.MSVCR110.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8

Function at 0x100087f0
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 4]
test edx, edx
je 0x10008824
mov eax, dword [edx + 0x10]
push esi
dec eax
mov esi, 0
push esi
cmovs eax, esi
lea esi, [esp + 0xc]
push esi
add eax, 0x18
push eax
push edx
push dword [ecx + 0x34]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
test eax, eax
jne 0x10008824
call dword [sym.imp.KERNEL32.dll_GetLastError]
ret 4
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x6f916e69
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..rdata
nop
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x2b620910
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x41b55e
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x14], 0xca
jne 0x41b593
push ebx
call fcn.0041e711
cmp dword [ebx + 0x40], 0
pop eax
je 0x41b58c
mov dword [ebx + 0x14], 0xcf
mov eax, 1
jmp 0x41b630
mov dword [ebx + 0x14], 0xcb
mov eax, dword [ebx + 0x14]
cmp eax, 0xcb
jne 0x41b607
mov eax, dword [ebx + 0x1b4]
cmp dword [eax + 0x10], 0
je 0x41b5f9
mov eax, dword [ebx + 8]
test eax, eax
je 0x41b5b4
push ebx
call dword [eax]
pop eax
mov eax, dword [ebx + 0x1b4]
push ebx
call dword [eax]
pop ecx
test eax, eax
mov edx, eax
je 0x41b62e
cmp eax, 2
je 0x41b5f9
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x41b5a9
cmp eax, 3
sete al
dec edx
sete dl
or eax, edx
test al, 1
je 0x41b5a9
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
inc eax
mov dword [ecx + 4], eax
cmp eax, edx
jl 0x41b5a9
add edx, dword [ebx + 0x140]
mov dword [ecx + 8], edx
jmp 0x41b5a9
mov eax, dword [ebx + 0x90]
mov dword [ebx + 0x98], eax
jmp 0x41b623
cmp eax, 0xcc
je 0x41b623
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, dword [ebx]
push ebx
call dword [eax]
pop edx
mov eax, ebx
mov ebx, dword [ebp - 4]
leave
jmp fcn.0041b500
xor eax, eax
mov ebx, dword [ebp - 4]
leave
ret

Function at 0x4217e0
Capabilities:
Terminate process

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp dword [esp + 0xc], 0x3f
mov edx, dword [edi]
ja 0x421801
push edx
call fcn.00423cd3
push 2
call fcn.00423c7e
mov dword [edi], eax
mov edx, eax
pop edi
pop eax
cld
mov ecx, 0x10
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
pop edi
ret
Function at 0x4234a1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
push ebx
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
cmp dword [ebx + 0x94], 0
jne 0x4234ea
cmp byte [ebx + 0xd4], 0
jne 0x4234ea
test byte [ebx + 0x19], 4
jne 0x4234d0
push 0xcd9e83
push ebx
call fcn.00423f30
pop ecx
pop eax
test byte [ebx + 0x20], 4
je 0x4234e3
push 0xcd9eb9
push ebx
call fcn.00423e30
pop eax
pop edx
push ebx
call fcn.00425bb0
pop eax
cmp byte [ebx + 0xd3], 0
je 0x423562
test byte [ebx + 0x20], 2
je 0x423562
movzx edx, byte [ebx + 0xd4]
cmp edx, 6
ja 0x423562
mov eax, dword [ebx + 0x94]
jmp dword [edx*4 + 0xcd9ee4]
movzx eax, byte [ebx + 0xd6]
mov ecx, dword [ebx + 0x84]
movzx edx, byte [ebx + 0xdb]
mov byte [ebx + 0xb8], al
movzx eax, byte [ebx + 0xd8]
mov dword [ebx + 0xb0], ecx
mov byte [ebx + 0xba], dl
mov byte [ebx + 0xb9], al
mul dl
cmp al, 7
mov byte [ebx + 0xbb], al
jbe 0x4235ac
shr al, 3
movzx eax, al
imul eax, ecx
jmp 0x4235b8
movzx eax, al
imul ecx, eax
lea eax, [ecx + 7]
shr eax, 3
mov dword [ebx + 0xb4], eax
push eax
push esi
mov eax, dword [ebx + 0x9c]
inc eax
push eax
push ebx
call fcn.00423dd7
add esp, 0x10
cmp byte [ebx + 0xd3], 0
je 0x42361a
movzx eax, byte [ebx + 0xd4]
cmp al, 5
ja 0x42361a
test byte [ebx + 0x20], 2
je 0x42361a
movzx eax, al
push eax
mov eax, dword [ebx + 0x9c]
inc eax
push eax
lea eax, [ebx + 0xb0]
push eax
call fcn.00425ea2
add esp, 0xc
cmp dword [ebx + 0xb0], 0
jne 0x42361a
mov dword [esp + 0xc], ebx
pop ebx
pop esi
jmp fcn.00425d1a
cmp dword [ebx + 0x20], 0
je 0x423627
push ebx
call fcn.00426940
pop eax
lea eax, [ebx + 0xb0]
push eax
push ebx
call fcn.00426172
pop ecx
mov edx, dword [ebx + 0x100]
pop esi
test edx, edx
je 0x423654
movzx eax, byte [ebx + 0xd4]
push eax
push dword [ebx + 0x94]
push ebx
call edx
add esp, 0xc
pop ebx
pop esi
ret