joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408af0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push ebp
mov ebp, dword [esp + 0x210]
test ebp, ebp
je 0x408c69
cmp byte [ebp], 0
je 0x408c69
mov ecx, dword [esp + 0x218]
mov eax, str.open
test ecx, ecx
je 0x408b25
mov eax, 0x437d04
mov ecx, dword [esp + 0x214]
push ebx
push esi
push edi
push ecx
push 0
push 0
push ebp
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ebx, eax
cmp ebx, 0x20
ja 0x408c5c
lea edx, [esp + 0x10]
push edx
push str..htm
push 0x80000000
call fcn.00408a10
add esp, 0xc
test eax, eax
jne 0x408c5c
mov edi, str._shellopencommand
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
push 0x80000000
call fcn.00408a10
add esp, 0xc
test eax, eax
jne 0x408c5c
lea edx, [esp + 0x10]
push 0x437ce0
push edx
call fcn.00415b07
mov edx, eax
add esp, 8
test edx, edx
jne 0x408bf5
lea eax, [esp + 0x10]
push 0x437cdc
push eax
call fcn.00415b07
mov edx, eax
add esp, 8
test edx, edx
jne 0x408bf5
lea edi, [esp + 0x10]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + ecx + 0xf]
jmp 0x408bf8
mov byte [edx], 0
mov edi, 0x437cd8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x220]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov ebx, eax
pop edi
mov eax, ebx
pop esi
pop ebx
pop ebp
add esp, 0x208
ret
mov eax, 0x24
pop ebp
add esp, 0x208
ret
Function at 0x413ce6
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0x10], 0
je 0x413d19
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [eax]
mov edx, dword [ebp + 0xc]
and edx, 0xff
xor ecx, edx
mov byte [ebp - 4], cl
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0x10]
sub ecx, 1
mov dword [ebp + 0x10], ecx
jmp 0x413cea
mov al, byte [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x413d20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x14], 0
je 0x413d5d
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [eax]
mov edx, dword [ebp + 0x10]
and edx, 0xff
xor ecx, edx
mov eax, dword [ebp + 8]
mov byte [eax], cl
mov ecx, dword [ebp + 8]
add ecx, 1
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x14]
sub eax, 1
mov dword [ebp + 0x14], eax
jmp 0x413d23
pop ebp
ret

Function at 0x413e00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
mov byte [ebp - 4], 0
cmp dword [ebp + 0xc], 0
je 0x413e37
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [eax]
mov edx, dword [ebp - 4]
and edx, 0xff
xor ecx, edx
mov byte [ebp - 4], cl
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
sub ecx, 1
mov dword [ebp + 0xc], ecx
jmp 0x413e08
mov al, byte [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x413e9d
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0x20], 0x9e3779b9
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], 0
jmp 0x413ef7
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x20
jae 0x413f50
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x20]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x24]
shl edx, 4
add edx, dword [ebp - 4]
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 8]
xor edx, eax
mov ecx, dword [ebp - 0x24]
shr ecx, 5
add ecx, dword [ebp - 0xc]
xor edx, ecx
mov eax, dword [ebp - 0x1c]
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
shl ecx, 4
add ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 8]
xor ecx, edx
mov eax, dword [ebp - 0x1c]
shr eax, 5
add eax, dword [ebp - 0x14]
xor ecx, eax
mov edx, dword [ebp - 0x24]
add edx, ecx
mov dword [ebp - 0x24], edx
jmp 0x413eee
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x24]
mov dword [edx + 4], eax
mov esp, ebp
pop ebp
ret
Function at 0x413f65
Capabilities:
Decrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 8], 0xc6ef3720
mov dword [ebp - 0x20], 0x9e3779b9
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], 0
jmp 0x413fbf
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x20
jae 0x414018
mov ecx, dword [ebp - 0x1c]
shl ecx, 4
add ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 8]
xor ecx, edx
mov eax, dword [ebp - 0x1c]
shr eax, 5
add eax, dword [ebp - 0x14]
xor ecx, eax
mov edx, dword [ebp - 0x24]
sub edx, ecx
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
shl eax, 4
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 8]
xor eax, ecx
mov edx, dword [ebp - 0x24]
shr edx, 5
add edx, dword [ebp - 0xc]
xor eax, edx
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x20]
mov dword [ebp - 8], edx
jmp 0x413fb6
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x24]
mov dword [edx + 4], eax
mov esp, ebp
pop ebp
ret
Function at 0x419d97
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4390a0
cmp edx, dword [eax]
je 0x419db9
add eax, 8
inc ecx
cmp eax, 0x439130
jl 0x419daa
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4390a0]
jne 0x419ee7
mov eax, dword [0x43c810]
cmp eax, 1
je 0x419ec1
test eax, eax
jne 0x419dea
cmp dword [0x438984], 1
je 0x419ec1
cmp edx, 0xfc
je 0x419ee7
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x419e21
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00415de0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004168f0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x419e64
lea eax, [ebp - 0x1a4]
push eax
call fcn.004168f0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4313e4
push edi
call fcn.00419460
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00415de0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00415df0
lea eax, [ebp - 0xa0]
push 0x4313c4
push eax
call fcn.00415df0
push dword [esi + 0x4390a4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00415df0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0041d39b
add esp, 0x2c
pop edi
jmp 0x419ee7
lea eax, [ebp + 8]
lea esi, [esi + 0x4390a4]
push 0
push eax
push dword [esi]
call fcn.004168f0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x423090
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.004174b0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x42315b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x42315b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x42310e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x423119
or bh, 8
and edi, 0x8000000
je 0x423134
mov eax, dword [0x43dfbc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x42315b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x423530
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x42355b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x42357f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x42359a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20

Function at 0x425b1c
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x425b54
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0042859c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00428574
jmp 0x425b60
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x42711d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x42715f
call fcn.0042b775
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x42715f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x427156
xor eax, eax
jmp 0x427167
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0042716d
pop edi
pop esi
pop ebx
ret 4

Function at 0x42bedf
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x42bf0d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42bf2b
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0042be45
jmp 0x42bf2b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x42bf2b
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0042be45
test edi, edi
mov eax, edi
jne 0x42bf15
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x4031f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x403203
pop dword [ebp - 0x3c]
mov eax, 0x403203
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x2d75d636
add dword [ebp - 0x4c], 0x20dc6f15
mov dword [ebp - 0x48], 0x4cd7c1ad
add dword [ebp - 0x48], 0xe55b8a98
mov dword [ebp - 0x44], 0xa9432baf
sub dword [ebp - 0x44], 0x5cf6e781
mov dword [ebp - 0x40], 0x45f2c82c
add dword [ebp - 0x40], 0xba0d37d4
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x434da356
sub eax, 0x430d22ca
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x1e63f52e
add dword [ebp - 0x4c], 0x560e7428
mov dword [ebp - 0x48], 0xb84a7e2f
add dword [ebp - 0x48], 0x8921e346
mov dword [ebp - 0x44], 0x6b9fc672
add dword [ebp - 0x44], 0xf7cfa5fa
mov dword [ebp - 0x40], 0xd710f122
add dword [ebp - 0x40], 0x28ef0ede
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0x49b5997f
sub eax, 0x497518ab
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x3248d
push 0
call eax
mov ecx, 0x7b60acfb
add ecx, 0x849f89c8
mov esi, eax
mov edx, 0x411000
add edx, dword [ebp - 0x3c]
mov ebx, 0xa056c316
sub ebx, 0x7dcbcb70
sub dword [ebp - 0x18], 0x7ea82c12
mov edi, dword [edx]
sub edi, ebx
xor dword [ebp - 0x20], ecx
mov dword [esi], edi
add dword [ebp - 0x1c], 0x7e617950
add esi, 4
add edx, 0x126665cf
sub edx, 0x126665cb
loop 0x40331a
add eax, 0xcddf
mov ebx, eax
add eax, 0xfa66eb65
sub eax, 0xfa66eb60
mov ecx, 0x400000
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x100018b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
push edi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10002419
add esp, 4
mov edi, eax
push 0
push 1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov ecx, dword [ebp + 8]
mov ebx, eax
push 0x10
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], ebx
call fcn.100023db
add esp, 4
test eax, eax
je 0x1000190f
movups xmm0, xmmword [ebp - 0x18]
movups xmmword [eax], xmm0
jmp 0x10001911
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push 0
push eax
push 0x10001160
push 0
push 0
call sub.msvcrt.dll__beginthreadex
add esp, 0x18
mov dword [ebp - 8], eax
test eax, eax
je 0x10001957
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x10001965
push ecx
push eax
call fcn.10001a77
add esp, 8
test eax, eax
jne 0x10001965
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 4], 0
call fcn.10002116
push 1
call fcn.10002116
int3

Function at 0x10003490
Capabilities:
Get process heap force flags

Disassembly:
call fcn.100033c0
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx + 0xa4]
shl edx, 0x10
or edx, dword [ecx + 0xa8]
cmp edx, 0x50001
jae 0x100034ba
add eax, 0x74
ret
cmp edx, 0x60000
jae 0x100034c6
add eax, 0x78
ret
add eax, 0x88
ret

Function at 0x100034d0
Capabilities:
Get process heap force flags

Disassembly:
call fcn.100033c0
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx + 0xa4]
shl edx, 0x10
or edx, dword [ecx + 0xa8]
cmp edx, 0x60000
jae 0x100034fa
add eax, 0x7c
ret
add eax, 0x8c
ret
Function at 0x10003770
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x10008040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x10003797
mov ecx, 5
int 0x29
push 2
call fcn.10002e78
push 0x50
lea eax, [ebp - 0x320]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x2cc
lea eax, [ebp - 0x2d0]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x320]
add esp, 0x1c
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x234], edi
mov word [ebp - 0x208], ss
mov word [ebp - 0x214], cs
mov word [ebp - 0x238], ds
mov word [ebp - 0x23c], es
mov word [ebp - 0x240], fs
mov word [ebp - 0x244], gs
pushfd
pop dword [ebp - 0x210]
mov eax, dword [ebp + 4]
mov dword [ebp - 0x218], eax
lea eax, [ebp + 4]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x2d0], 0x10001
mov eax, dword [eax - 4]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 4]
mov dword [ebp - 0x320], 0xc0000417
mov dword [ebp - 0x31c], 1
mov dword [ebp - 0x314], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x100038a2
test esi, esi
jne 0x100038a2
push 2
call fcn.10002e78
add esp, 4
push 0xc0000417
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10002422
mov esp, ebp
pop ebp
ret

Function at 0x10003b30
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.10003b60
mov esi, dword [ebp + 8]
test al, al
je 0x10003b4e
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call fcn.10003b70
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x10004620
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000464d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000464d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x100019a6
Capabilities:
Print debug messages

Disassembly:
push 4
mov eax, 0x100276db
call fcn.10026576
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
lea edi, [esi + 4]
mov dword [esi], vtable.CMemMappedFile.0
mov ecx, edi
call fcn.10010805
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], ecx
mov byte [esi + 0x30], 1
mov dword [ebp - 4], ecx
cmp byte [0x10036ee8], cl
je 0x10001a1a
cmp dword [edi + 0x14], 0x10
jb 0x100019f5
mov edi, dword [edi]
push edi
push str.CMemMappedFile__s__ctor__reference_
mov edi, 0x100368d8
push edi
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0xc
cmp byte [0x10036ee8], 0
je 0x10001a1a
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
push esi
call fcn.10010805
pop ecx
mov eax, esi
call fcn.10026544
ret 8

Function at 0x10001a2b
Capabilities:
Print debug messages

Disassembly:
push 4
mov eax, 0x100276db
call fcn.10026576
mov esi, ecx
mov dword [ebp - 0x10], esi
lea edi, [esi + 4]
mov dword [esi], vtable.CMemMappedFile.0
push edi
call fcn.100021f9
pop ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], ecx
mov byte [esi + 0x30], cl
mov dword [ebp - 4], ecx
cmp byte [0x10036ee8], cl
je 0x10001a9c
cmp dword [edi + 0x14], 0x10
jb 0x10001a76
mov edi, dword [edi]
push eax
push edi
push str.CMemMappedFile__s__ctor__new_with_size_lu_
mov edi, 0x100368d8
push edi
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0x10
cmp byte [0x10036ee8], 0
je 0x10001a9c
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov ecx, esi
call fcn.10002e0d
mov eax, esi
call fcn.10026544
ret 4

Function at 0x10001aad
Capabilities:
Print debug messages

Disassembly:
push 4
mov eax, 0x100276db
call fcn.10026576
mov esi, ecx
mov dword [ebp - 0x10], esi
lea edi, [esi + 4]
mov dword [esi], vtable.CMemMappedFile.0
push edi
call fcn.100021f9
pop ecx
xor eax, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov dword [ebp - 4], eax
cmp byte [0x10036ee8], al
je 0x10001b1a
cmp dword [edi + 0x14], 0x10
jb 0x10001af5
mov edi, dword [edi]
push edi
push str.CMemMappedFile__s__ctor__new_
mov edi, 0x100368d8
push edi
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0xc
cmp byte [0x10036ee8], 0
je 0x10001b1a
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov eax, esi
call fcn.10026544
ret