joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4028f0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x4011a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401158
mov edx, dword [ebp + 8]
xor esi, esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], esi
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
push 3
lea eax, [ebp - 0x30]
push 0x401b14
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryConstruct2]
call fcn.00402260
mov ecx, dword [ebp - 0x18]
or ebx, 0xffffffff
push ecx
push esi
mov word [0x404058], si
mov word [0x40405a], bx
mov dword [0x40405c], esi
mov word [0x404060], si
mov dword [0x404064], ebx
mov word [0x404068], si
call dword [sym.imp.MSVBVM60.DLL_rtcBstrFromAnsi]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x40]
call edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
mov ecx, 0x404010
call edi
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov edx, dword [0x404010]
push edx
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
push 0x4026e0
mov dword [0x404014], eax
mov dword [0x40401c], eax
call fcn.00402580
mov edi, dword [sym.imp.KERNEL32.DLL_CreateEventW]
push esi
push esi
push 1
push esi
mov dword [0x404020], eax
mov dword [0x404024], esi
mov dword [0x404028], esi
call edi
push esi
push esi
push 1
push esi
mov dword [0x40404c], eax
call edi
push esi
push esi
push 1
push esi
mov dword [0x404054], eax
call edi
mov ecx, dword [0x40404c]
mov dword [0x404050], eax
cmp ecx, esi
je 0x402a7d
cmp dword [0x404054], esi
je 0x402a7d
cmp eax, esi
je 0x402a7d
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], esi
push eax
push 4
push esi
push 0x402830
push esi
push esi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
cmp eax, esi
mov dword [0x404018], eax
je 0x402a82
push eax
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
mov ecx, dword [ebp - 0x24]
mov edx, dword [0x404018]
push ebx
push esi
mov dword [ecx], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [0x404050]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x24]
push edx
push 2
call dword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
cmp eax, 1
jne 0x402a7d
push 4
mov word [0x404058], bx
mov word [0x40405a], si
call fcn.00402590
mov eax, dword [0x404018]
cmp word [0x404058], si
jne 0x402aae
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push eax
call esi
mov eax, dword [0x40404c]
push eax
call esi
mov ecx, dword [0x404054]
push ecx
call esi
mov edx, dword [0x404050]
push edx
call esi
mov eax, dword [0x404058]
push 0x402af1
not eax
mov word [0x40405a], ax
mov ecx, dword [0x404058]
mov dword [ebp - 0x3c], ecx
jmp 0x402ad5
lea ecx, [ebp - 0x18]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea eax, [ebp - 0x44]
lea edx, [ebp - 0x30]
push eax
push 0
mov dword [ebp - 0x44], edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryDestruct]
ret
Function at 0x4032fc
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x502008], 0x8088405
inc edx
mov dword [ebx + 0x502008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403e68
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x502024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403f00
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x403ee0
xor eax, eax
push ebp
push 0x403ed9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403f38
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403ee0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x502024]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x502024], ax
mov esp, ebp
pop ebp
ret

Function at 0x404ff4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x506054], 0
je 0x405055
cmp word [0x506330], 0xd7b2
jne 0x40501d
cmp dword [0x506338], 0
jbe 0x40501d
mov eax, 0x50632c
call dword [0x506348]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x405080
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x502030], 0
jne 0x405071
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x405200
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x502034], 0
je 0x405226
mov edx, esi
mov eax, ebx
call dword [0x502034]
jmp 0x405235
mov eax, 8
call fcn.00403018
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x506055], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4051c8
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x40bf54
Capabilities:
Get number of processors

Disassembly:
dec edx
dec ebx
add esp, 4
pop ebx
push ecx
xor ecx, 0x3684
xor ecx, 0x578b
xor ecx, 0x17065
pop ecx
cmp dword [ebp - 0x2a8], 0
jne 0x40c873
mov eax, 0x6b
mov word [ebp - 0x16e8], ax
mov ecx, 0x65
mov word [ebp - 0x16e6], cx
mov edx, 0x72
mov word [ebp - 0x16e4], dx
mov eax, 0x6e
mov word [ebp - 0x16e2], ax
mov ecx, 0x65
mov word [ebp - 0x16e0], cx
mov edx, 0x6c
insb byte es:[edi], dx
add byte [eax], al
add byte [esi - 0x77], ah
xchg ebp, eax
and ch, cl
invalid
invalid
mov eax, 0x33
mov word [ebp - 0x16dc], ax
mov ecx, 0x32
mov word [ebp - 0x16da], cx
mov edx, 0x2e
mov word [ebp - 0x16d8], dx
mov eax, 0x64
mov word [ebp - 0x16d6], ax
mov ecx, 0x6c
mov word [ebp - 0x16d4], cx
mov edx, 0x6c
mov word [ebp - 0x16d2], dx
xor eax, eax
mov word [ebp - 0x16d0], ax
push esi
push ecx
add esp, 4
and esi, 0x34d
or esi, 0x9c3c
jmp 0x40c02b
pop esi
push edx
add edx, 0xa101
pop edx
push edx
push eax
add esp, 4
sub edx, 0x7b89
jmp 0x40c045
pop edx
mov byte [ebp - 0x830], 0x4c
mov byte [ebp - 0x82f], 0x6f
mov byte [ebp - 0x82e], 0x61
mov byte [ebp - 0x82d], 0x64
mov byte [ebp - 0x82c], 0x4c
mov byte [ebp - 0x82b], 0x69
mov byte [ebp - 0x82a], 0x62
mov byte [ebp - 0x829], 0x72
invalid
invalid

Function at 0x40bf56
Capabilities:
Get number of processors

Disassembly:
dec edx
dec ebx
add esp, 4
pop ebx
push ecx
xor ecx, 0x3684
xor ecx, 0x578b
xor ecx, 0x17065
pop ecx
cmp dword [ebp - 0x2a8], 0
jne 0x40c873
mov eax, 0x6b
mov word [ebp - 0x16e8], ax
mov ecx, 0x65
mov word [ebp - 0x16e6], cx
mov edx, 0x72
mov word [ebp - 0x16e4], dx
mov eax, 0x6e
mov word [ebp - 0x16e2], ax
mov ecx, 0x65
mov word [ebp - 0x16e0], cx
mov edx, 0x6c
insb byte es:[edi], dx
add byte [eax], al
add byte [esi - 0x77], ah
xchg ebp, eax
and ch, cl
invalid
invalid
mov eax, 0x33
mov word [ebp - 0x16dc], ax
mov ecx, 0x32
mov word [ebp - 0x16da], cx
mov edx, 0x2e
mov word [ebp - 0x16d8], dx
mov eax, 0x64
mov word [ebp - 0x16d6], ax
mov ecx, 0x6c
mov word [ebp - 0x16d4], cx
mov edx, 0x6c
mov word [ebp - 0x16d2], dx
xor eax, eax
mov word [ebp - 0x16d0], ax
push esi
push ecx
add esp, 4
and esi, 0x34d
or esi, 0x9c3c
jmp 0x40c02b
pop esi
push edx
add edx, 0xa101
pop edx
push edx
push eax
add esp, 4
sub edx, 0x7b89
jmp 0x40c045
pop edx
mov byte [ebp - 0x830], 0x4c
mov byte [ebp - 0x82f], 0x6f
mov byte [ebp - 0x82e], 0x61
mov byte [ebp - 0x82d], 0x64
mov byte [ebp - 0x82c], 0x4c
mov byte [ebp - 0x82b], 0x69
mov byte [ebp - 0x82a], 0x62
mov byte [ebp - 0x829], 0x72
invalid
invalid

Function at 0x40bfb8
Capabilities:
Contain obfuscated stackstrings
Get number of processors

Disassembly:
insb byte es:[edi], dx
add byte [eax], al
add byte [esi - 0x77], ah
xchg ebp, eax
and ch, cl
invalid
Function at 0x42fb24
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 0x42fb2a
ret

Function at 0x481afc
Capabilities:
Hash data using sha1

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
xor edx, edx
mov dword [eax + 0x14], edx
xor edx, edx
mov dword [eax + 0x18], edx
ret
Function at 0x4ab400
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x50b43c
mov eax, esi
mov edx, 8
test al, 1
je 0x4ab41c
shr eax, 1
xor eax, 0xedb88320
jmp 0x4ab41e
shr eax, 1
dec edx
jne 0x4ab40f
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4ab408
pop esi
ret

Function at 0x4ab44b
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x50b438], 0
jne 0x4ab457
call fcn.004ab400
push 1
push 0x50b438
call fcn.00409530
mov eax, edi
test esi, esi
je 0x4ab482
mov edx, ebx
and edx, 0xff
movzx ecx, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x50b43c]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x4ab45d
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x4abfec
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
ret

Function at 0x4afd08
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x18]
call fcn.00406430
xor eax, eax
push ebp
push 0x4afdec
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp + 0x18], 0
jne 0x4afd4f
lea edx, [ebp + 0x18]
mov eax, edi
call fcn.0047e76c
cmp dword [ebp + 0x18], 0
jne 0x4afd4f
lea eax, [ebp + 0x18]
call fcn.0047f740
lea eax, [ebp - 0x40]
xor ecx, ecx
mov edx, 0x3c
call fcn.00403540
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x540
test ebx, ebx
je 0x4afd7a
mov eax, ebx
call fcn.004064d4
mov dword [ebp - 0x34], eax
mov eax, edi
call fcn.004064d4
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
call fcn.004064d4
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x18]
call fcn.004064d4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
push eax
call sub.shell32.dll_ShellExecuteExW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x4afdbc
call fcn.004095d8
mov dword [esi], eax
jmp 0x4afdd6
mov dword [esi], 0x103
mov eax, dword [ebp - 8]
test eax, eax
je 0x4afdd6
push esi
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ebp + 0x14]
call fcn.004af9a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4afdf3
lea eax, [ebp + 0x18]
call fcn.00406438
ret
Function at 0x100014b0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x100083ec
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push ebp
push edi
mov eax, dword [0x1000c018]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xa0]
mov eax, dword [esp + 0x9c]
push eax
lea ecx, [esi + 4]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
push ebp
lea ecx, [esi + 8]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
mov ecx, dword [esp + 0xa4]
push 0x44
xor ebx, ebx
lea edx, [esp + 0x4c]
push ebx
push edx
mov dword [esi + 0x74], ecx
call sub.MSVCR100.dll_memset
pxor xmm0, xmm0
add esp, 0xc
movq qword [esp + 0x24], xmm0
movq qword [esp + 0x2c], xmm0
pxor xmm0, xmm0
push 1
lea eax, [esp + 0x38]
movq qword [esp + 0x1c], xmm0
pxor xmm0, xmm0
push eax
mov dword [esp + 0x50], 0x44
mov dword [esp + 0x28], ebx
movq qword [esp + 0x3c], xmm0
movq qword [esp + 0x44], xmm0
mov dword [esp + 0x4c], ebx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x10001581
push ebx
push ebx
push 1
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea edx, [esp + 0x34]
mov dword [esp + 0x18], 0xc
mov dword [esp + 0x1c], edx
push ebp
lea ecx, [esp + 0x18]
call dword [0x100091a8]
mov dword [esp + 0x94], ebx
mov ecx, dword [esp + 0x14]
xor eax, eax
mov byte [esp + 0x13], bl
cmp dword [ecx - 0xc], ebx
je 0x100015b1
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
mov byte [esp + 0x13], 1
mov edi, dword [esi + 4]
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x4c]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x34]
push edx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x100015e2
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
xor al, al
jmp 0x10001621
cmp byte [esp + 0x13], bl
je 0x100015f4
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
push 0x1388
push eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov ecx, esi
call fcn.10001640
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov al, 1
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x88
ret 0xc
Function at 0x10002500
Capabilities:
Create thread

Disassembly:
mov eax, dword [eax + 4]
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, dword [eax + 0xc]
push esi
push edi
lea edi, [ebx + 0x74]
test edi, edi
je 0x10002523
mov dword [edi], 0
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x14]
mov dword [edi], edx
mov esi, dword [ebx + 0x54]
test esi, esi
je 0x10002577
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebp
push 0
push 0x100000
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
push 0
push esi
push 0x10005b20
push 0
push 0
mov dword [esi + 8], eax
call dword [sym.imp.MSVCR100.dll__beginthreadex]
mov dword [esi + 0xc], eax
mov edi, dword [edi]
add esp, 0x18
test edi, edi
jle 0x10002577
mov ecx, dword [ebx + 0x54]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push edi
call edx
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x10002580
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
lea ebx, [edi + 0x5c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [edi + 0x20]
cmp esi, dword [edi + 0x24]
je 0x100025bf
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
test al, al
jne 0x100025b3
add esi, 4
cmp esi, dword [edi + 0x24]
jne 0x10002594
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret
mov eax, dword [edi + 0x10]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret
Function at 0x100034a0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x100086fc
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x1000c018]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
push eax
mov ecx, esi
call dword [0x100091a8]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esi + 4], ecx
push edx
lea ecx, [esi + 8]
call dword [0x100091a8]
mov eax, dword [esp + 0x3c]
push eax
lea ecx, [esi + 0xc]
mov byte [esp + 0x24], 1
call dword [0x100091a8]
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov byte [esi + 0x18], bl
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov byte [esp + 0x20], 3
push 0x18
mov dword [esi + 0x38], ebx
call dword [sym.imp.mfc100u.dll_new]
add esp, 4
cmp eax, ebx
je 0x1000357d
mov dword [esi + 0x34], eax
mov dword [eax], eax
mov eax, dword [esi + 0x34]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x34]
mov dword [eax + 8], eax
mov ecx, dword [esi + 0x34]
mov eax, dword [esp + 0x2c]
mov byte [ecx + 0x14], 1
mov edx, dword [esi + 0x34]
lea ecx, [esi + 0x44]
mov byte [edx + 0x15], 1
push ecx
mov dword [esi + 0x40], 0xa
mov dword [esi + 0x5c], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret 0x18
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], ebx
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x10009c60
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
int3

Function at 0x100067a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and dword [ebp - 0x6fc], 0
push 1

Function at 0x100069b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x787], 0x3b
mov byte [ebp - 0x786], 0x33
mov byte [ebp - 0x785], 0x3c
jnp 0x100069ba
invalid
invalid
cmp al, 0xc6
test dword [eax + edi*8 - 1], edi
push dword [eax]
mov byte [ebp - 0x783], 0x3a
invalid
invalid
cmp al, dh
test dword [esi - 8], edi
invalid
jmp [0xf87f85c6]
invalid
push dword [ecx - 0x3a]
test dword [eax + 0x3bfffff8], eax
mov byte [ebp - 0x77f], 0x33
mov byte [ebp - 0x77e], 0x33
mov byte [ebp - 0x77d], 0x5f
push 0xc
lea eax, [ebp - 0x78c]
push eax
call fcn.10004e15
pop ecx
push eax
mov eax, dword [ebp - 0x28]
lea eax, [ebp + eax - 0x12c]
push eax
call fcn.10004d76
add esp, 0xc
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x3a0], eax
jmp 0x10006d7d
mov eax, dword [ebp - 0x6fc]
inc eax
mov dword [ebp - 0x6fc], eax
and dword [ebp - 0x37c], 0
call fcn.10004e05
or edx, dword [edx + ebp*2 + 0x60b5ff35]
cld
invalid
Function at 0x10007210
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x100083b8
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1000c018]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x1000726b
mov edi, dword [ebx + 0x10]
add edi, edi
push edi
call dword [sym.imp.mfc100u.dll_new__]
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
mov dword [esp + 0x1c], 0
test esi, esi
jne 0x1000726f
push eax
call dword [sym.imp.mfc100u.dll_delete__]
add esp, 4
xor eax, eax
jmp 0x100072ee
push edi
push 0
push esi
call sub.MSVCR100.dll_memset
push ebp
push ebx
push esi
call sub.MSVCR100.dll_memcpy
mov ecx, dword [ebx + 0x10]
mov edi, dword [esp + 0x3c]
add esp, 0x18
push 0
lea eax, [esp + 0x2c]
push eax
mov eax, dword [edi + 0x38]
push ecx
lea edx, [esi + ebp]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x100072d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x100072c4
cmp eax, 0xe8
je 0x100072c4
cmp eax, 0xe9
je 0x100072c4
cmp eax, 0x6d
jne 0x100072df
push esi
call dword [sym.imp.mfc100u.dll_delete__]
add esp, 4
or eax, 0xffffffff
jmp 0x100072ee
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
push esi
push 1
mov ecx, edi
call eax
push esi
call dword [sym.imp.mfc100u.dll_delete__]
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc

Function at 0x10007460
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x1000749e
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push esi
push 0x10007520
push 0
push 0
mov dword [esi + 0x40], eax
call dword [sym.imp.MSVCR100.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x3c], eax
xor al, al
pop esi
ret
mov eax, dword [esi + 0x1c]
push ebx
push 0
push 0x80
push 3
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
xor bl, bl
mov dword [esi + 0x38], eax
test eax, eax
je 0x10007517
cmp eax, 0xffffffff
je 0x10007517
mov eax, dword [esi + 0x1c]
push ebp
push edi
call fcn.10006c50
mov edi, eax
push edi
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenEventW]
push edi
mov ebp, eax
call dword [sym.imp.mfc100u.dll_delete__]
add esp, 4
push 0x3e8
push ebp
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1000750e
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push 0
push 0
mov ecx, esi
call edx
mov bl, 1
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebp
mov al, bl
pop ebx
pop esi
ret
Function at 0x10007780
Capabilities:
Write file on windows

Disassembly:
test ecx, ecx
je 0x100077b0
mov eax, dword [ecx + 0x10]
dec eax
jns 0x1000778c
xor eax, eax
push 0
lea edx, [esp + 8]
push edx
add eax, 0x18
push eax
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [eax + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x100077b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
ret 4

Function at 0x1000790e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000c018]
jne 0x10007918
repz ret
jmp fcn.10007dce
Function at 0x44b610
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
mov cl, byte [0x65f042]
mov al, byte [0x65f041]
or cl, 0x10
push ebx
shr cl, 3
and ecx, 0xff
mov bl, byte [0x65f04b]
mov dword [esp + 4], ecx
xor bl, al
fild dword [esp + 4]
mov byte [0x65f04b], bl
mov ebx, dword [esp + 0x10]
test ebx, ebx
fdivr qword [0x6629b0]
push esi
fadd qword [0x65f058]
fstp qword [0x662a20]
je 0x44b6ce
push 0x65f0a4
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, dword [0x65f030]
mov ecx, dword [0x65f034]
mov esi, eax
mov dword [esp + 0xc], 0
lea eax, [edx + edx]
or eax, ecx
mov dword [esp + 8], eax
fild qword [esp + 8]
test esi, esi
fadd qword [0x65f058]
fstp qword [0x65f058]
je 0x44b6ce
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x65f07c
push esi
call edi
push 0x65f064
push esi
call edi
xor eax, eax
pop edi
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x44b6ce
lea ecx, [esp + 0x14]
inc eax
add ecx, 4
cmp eax, 0x36
jae 0x44b6d8
cmp dword [ecx], 0
jne 0x44b6c0
pop esi
xor al, al
pop ebx
add esp, 8
ret 4
mov dword [ebx], esi
pop esi
mov al, 1
pop ebx
add esp, 8
ret 4

Function at 0x582573
Capabilities:
Encode data using xor

Disassembly:
sub edi, ebx
retf
mov dl, 0x3e
adc dh, byte [ebp + 0x53]
inc ebx
xor eax, dword [eax + 0x61]
push 0x9b93389
fsub dword [esi]
pop eax
adc cl, byte [0xe497680a]
mov cl, 0xa6
pop ebp
and eax, 0xf1c86818
pop es
jne 0x582550
wait
les edx, [ebx]
salc
inc ecx
out 0x12, al
call 0xb8ac2fd1
and edi, ebp
mov edi, 0x1ba8a4a8
xor byte [edx], cl
push esp
mov eax, 0xa8bffd23
movsb byte es:[edi], byte [esi]
test al, 0x1b
jbe 0x58259d
movsd dword es:[edi], dword [esi]
cmp ebp, dword [bx + si]
xor al, 0xa4
or dword [esi + 0xce13f47], ebx
stc
mov al, byte [0x50b7cca8]
inc esi
cli
or ebp, dword [esi + 0x5cc01b73]
xchg ebp, eax
salc
popal
enter 0xffffffffffffba94, 0x16
pop ecx
test al, 0xae
fdiv st(0), st(0)
push 0x77
cmp eax, dword [ebx - 0x50f67ff3]
invalid