joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4934d4
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
cmp byte [ebx + 0x98], 0
je 0x4934fa
push 0
mov eax, dword [ebx + 0x94]
call fcn.0044e140
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x98], 0
pop ebx
ret

Function at 0x4935b4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x493725
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xa4], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x49370a
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.00409704
mov dl, 1
mov eax, dword [0x4698bc]
call fcn.00469914
mov edx, dword [ebp - 4]
mov dword [edx + 0x9c], eax
mov dl, 1
mov eax, dword [0x41715c]
call fcn.004037dc
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xa0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
call fcn.00469990
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x493707
mov dl, 1
mov eax, dword [0x46adec]
call fcn.0046ae54
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
mov edx, 0x49373c
call fcn.0046a0f8
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404948
xor eax, eax
push ebp
push 0x493700
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.0046b154
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00493744
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x493707
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
call fcn.0040380c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.0040380c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.0040380c
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49372c
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404660
ret
Function at 0x49c928
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x415e08]
call fcn.00405110
xor eax, eax
push ebp
push 0x49ca6c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4c87f4], 0
jne 0x49c97b
mov ecx, dword [0x4c93e8]
mov dl, 1
mov eax, dword [0x407c00]
call fcn.0040c6bc
call fcn.00403fac
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403210
mov eax, ebx
call fcn.00404ec4
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x49ca7c
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406150
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404ed4
test eax, eax
jle 0x49ca13
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x49ca0c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004048c4
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004048ac
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408ae4
test eax, eax
jne 0x49ca0c
mov ebx, 0x15
jmp 0x49ca18
mov ebx, 0x10
jmp 0x49ca18
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4c87f4]
call fcn.0049c880
mov eax, dword [ebp - 8]
call fcn.0049c880
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406168
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49ca73
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404660
lea eax, [ebp - 0x10]
mov edx, dword [0x415e08]
call fcn.004051e0
ret

Function at 0x4aabe0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4aac0e
mov eax, ebx
call fcn.004ab694
cmp dword [ebx + 0x40], 0
je 0x4aac07
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4aac7f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4aac71
cmp dword [ebx + 8], 0
je 0x4aac30
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4aac42
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4aac71
cmp dword [ebx + 8], 0
je 0x4aac23
cmp eax, 3
je 0x4aac55
dec eax
jne 0x4aac23
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4aac23
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4aac23
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4aac9d
cmp dword [ebx + 0x14], 0xcc
je 0x4aac9d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004aaca8
pop ebx
ret
Function at 0x4bde04
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x4bde19
mov byte [ebx + 0xd], 0
pop ebx
ret

Function at 0x4bdf1c
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
mov ebx, eax
push 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, ebx
call fcn.004bde88
mov esi, eax
mov eax, ebx
call fcn.0040380c
mov eax, esi
pop esi
pop ebx
ret

Function at 0x4bfeec
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404aec
lea esi, [ebp - 0x44]
xor eax, eax
push ebp
push 0x4c0073
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, 0x4c0090
call fcn.00404c40
test eax, eax
jne 0x4bff37
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x4c009c
call fcn.00404948
mov eax, esi
mov edx, 0x3c
call fcn.004bfa0c
mov dword [esi + 8], 0x21
mov dword [esi + 0x14], 0x101
mov dword [esi + 0x20], 0x81
mov dword [esi + 0x28], 0x81
mov dword [esi + 0x30], 0x801
mov dword [esi + 0x38], 0x801
mov eax, 0x21
call fcn.00402b30
mov dword [esi + 4], eax
mov eax, 0x101
call fcn.00402b30
mov dword [esi + 0x10], eax
mov eax, 0x81
call fcn.00402b30
mov dword [esi + 0x1c], eax
mov eax, 0x81
call fcn.00402b30
mov dword [esi + 0x24], eax
mov eax, 0x801
call fcn.00402b30
mov dword [esi + 0x2c], eax
mov eax, 0x801
call fcn.00402b30
mov dword [esi + 0x34], eax
push esi
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.004048fc
push eax
mov eax, dword [ebp - 4]
call fcn.00404afc
push eax
call sub.wininet.dll_InternetCrackUrlA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x4c002d
mov eax, edi
mov edx, dword [esi + 4]
call fcn.00404834
mov eax, dword [ebp - 8]
mov edx, dword [esi + 0x10]
call fcn.00404834
mov eax, dword [ebp + 0x18]
mov edx, dword [esi + 0x2c]
call fcn.00404834
mov eax, dword [ebp + 0x14]
mov edx, dword [esi + 0x1c]
call fcn.00404834
mov eax, dword [ebp + 0x10]
mov edx, dword [esi + 0x24]
call fcn.00404834
mov eax, dword [ebp + 0xc]
mov edx, dword [esi + 0x34]
call fcn.00404834
mov eax, dword [ebp + 8]
mov dx, word [esi + 0x18]
mov word [eax], dx
mov eax, dword [esi + 0x34]
call fcn.00402b60
mov eax, dword [esi + 0x2c]
call fcn.00402b60
mov eax, dword [esi + 0x24]
call fcn.00402b60
mov eax, dword [esi + 0x1c]
call fcn.00402b60
mov eax, dword [esi + 0x10]
call fcn.00402b60
mov eax, dword [esi + 4]
call fcn.00402b60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c007a
lea eax, [ebp - 4]
call fcn.0040463c
ret
Function at 0x4c00a4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
mov ebx, eax
push esi
push edi
mov esi, ecx
mov eax, esi
test eax, eax
je 0x4c00bd
mov eax, dword [esi - 4]
push eax
push esi
mov esi, edx
mov ecx, esi
test ecx, ecx
je 0x4c00ca
mov ecx, dword [esi - 4]
add al, cl
inc eax
lea edi, [ebp - 0x100]
mov edx, eax
stosb byte es:[edi], al
mov al, cl
stosb byte es:[edi], al
rep movsb byte es:[edi], byte [esi]
pop esi
pop ecx
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
std
dec edi
mov esi, edi
xor dl, 0xeb
lodsb al, byte [esi]
xor al, dl
stosb byte es:[edi], al
loop 0x4c00e8
cld
pop edi
pop esi
xor ecx, ecx
mov cl, byte [ebp - 0x100]
inc ecx
lea edx, [ebp - 0x100]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x10]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4c1450
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
xor eax, eax
push ebp
push 0x4c156d
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp + 8]
push eax
xor eax, eax
call fcn.004c1318
pop ecx
test al, al
je 0x4c1548
mov eax, dword [ebp + 8]
push eax
call fcn.004c115c
pop ecx
test al, al
jne 0x4c1548
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x13c]
push eax
call sub.wininet.dll_HttpSendRequestA
test eax, eax
je 0x4c1548
mov eax, dword [ebp + 8]
push eax
mov eax, 0x13
call fcn.004c119c
pop ecx
test al, al
je 0x4c1548
lea eax, [ebp - 4]
mov edx, dword [ebp + 8]
add edx, 0xffffeffc
mov ecx, 0x1000
call fcn.004048ac
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.00408e34
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov dword [edx + 0x178], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov esi, dword [eax + 0x178]
cmp esi, 0xc8
je 0x4c1513
mov eax, dword [ebp + 8]
cmp esi, 0xce
jne 0x4c1548
mov eax, dword [ebp + 8]
push eax
mov eax, 5
call fcn.004c119c
pop ecx
test al, al
je 0x4c1548
lea eax, [ebp - 8]
mov edx, dword [ebp + 8]
add edx, 0xffffeffc
mov ecx, 0x1000
call fcn.004048ac
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00408e34
mov ebx, eax
mov eax, dword [ebp + 8]
push eax
call fcn.004c115c
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c1574
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404660
ret
Function at 0x4c5f58
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 8
add esp, 0xfffff004
push eax
dec eax
jne 0x4c5f61
mov eax, dword [ebp - 4]
add esp, 0xffffffe8
push ebx
push esi
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
push 0
push 0
push 0
push 0
push 0x4c60d8
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4c60d1
xor eax, eax
push ebp
push 0x4c60ca
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
mov eax, esi
call fcn.00404afc
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 8], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x417200]
call fcn.0041bbbc
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0x8000
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x801c]
push eax
push 0x16
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_HttpQueryInfoA
test bl, bl
je 0x4c600f
lea edx, [ebp - 0x801c]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0x10]
cmp dword [ebp - 8], 0
je 0x4c60b3
xor eax, eax
push ebp
push 0x4c60ac
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4c608e
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x4c6048
lea edx, [ebp - 0x801c]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0x10]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x801c]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetReadFile
test eax, eax
je 0x4c606a
cmp dword [ebp - 0x10], 0
ja 0x4c6037
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx + 4]
call fcn.00404690
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c6095
mov eax, dword [ebp - 0x18]
call fcn.0040380c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c60d1
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x2aa01671
Capabilities:
Check os version
Create process on windows
Delete file
Encode data using xor
Get common file path
Get file size
Read file on windows
Shutdown system
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x2aa01110]
push ebx
push esi
mov dword [esp + 0x220], eax
push edi
xor eax, eax
lea ecx, [ecx]
xor byte [eax + str.Qrfvgdte], 0x96
inc eax
cmp eax, 0x730
jl 0x2aa01691
push 0x104
lea eax, [esp + 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0x80
push 3
push 0
push 3
push 0x10000000
push 0x2aa01134
call ebx
cmp eax, 0xffffffff
jne 0x2aa01734
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jbe 0x2aa01746
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
push 0x2aa01168
call ebx
test ax, ax
jne 0x2aa0172c
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push 0
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0x2aa01160
push 0
call esi
push 0x3e8
call edi
push 0x2aa01168
call ebx
test ax, ax
je 0x2aa01705
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x2aa01168
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
push 0x2710
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
mov edi, eax
push str.Qrfvgdte
push edi
call sub.CRTDLL.dll_sprintf
mov edx, str.Qrfvgdte
add esp, 0x30
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x2aa01776
lea edx, [esp + 0x118]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edi, [esp + 0x118]
dec edi
jmp 0x2aa017a0
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x2aa017a0
mov eax, dword [0x2aa01154]
mov ecx, dword [0x2aa01158]
mov dx, word [0x2aa0115c]
push 0
push 0
push 3
mov dword [edi], eax
mov al, byte [0x2aa0115e]
push 0
mov dword [edi + 4], ecx
push 3
push 0x80000000
lea ecx, [esp + 0x130]
mov word [edi + 8], dx
push ecx
mov byte [edi + 0xa], al
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x2aa0184c
xor eax, eax
push eax
mov ecx, 0x41
lea edi, [esp + 0x14]
push esi
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
push 0
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea edx, [esp + 0x10]
push edx
push edi
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.2aa01180
push 0
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.2aa01220
call fcn.2aa01470
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1000106f
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
jmp 0x1000108a
cmp dword [ebp + 0xc], 1
jne 0x1000121c
push dword [ebp + 8]
call fcn.10001263
push 1
push 0xffffffff
push 1
call fcn.1000150b
push 0x1f4
push dword [ebp + 8]
call fcn.10001535
mov dword [ebp - 4], eax
push 0xc8
call fcn.10001556
mov dword [ebp - 8], eax
push 1
push 0xc8
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push 0x1000da27
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x28]
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100010f7
push ebx
call fcn.10008fc9
add esp, 4
mov dword [ebp - 4], esp
push 0x40
push 0x1000
push 0x64
push 0
push 0xffffffff
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x1000112f
push 6
call fcn.10008fb7
add esp, 4
mov dword [0x1000da2b], eax
push 0x1000883f
call fcn.100016f7
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x9dc
call fcn.10009370
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x198
call fcn.100095f0
add esp, 0x10
mov dword [ebp - 0xc], eax
push 0x1000d200
push dword [ebp - 0xc]
push 0x1000d209
mov ecx, 3
call fcn.10001018
add esp, 0xc
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x100011a2
push ebx
call fcn.10008fc9
add esp, 4
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
push dword [0x1000da2b]
push 0x1000da27
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x28]
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x100011d7
push ebx
call fcn.10008fc9
add esp, 4
mov dword [ebp - 4], esp
mov eax, 0
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push dword [0x1000da2b]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x1000121c
push 6
call fcn.10008fb7
add esp, 4
mov eax, 1
jmp 0x10001236
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000246b
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
cld
fninit
push 7
push dword [ebp + 0xc]
call fcn.10002555
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fild dword [ebp + 8]
fstp qword [ebp - 0x18]
fsub qword [ebp - 0x18]
fsub qword [0x1000d248]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.1000123c
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
mov eax, 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0x40
push 5
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x100024ec
push 6
call fcn.10008fb7
add esp, 4
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x198
call fcn.100095f0
add esp, 0x10
mov dword [ebp - 8], eax
push dword [ebp - 8]
push 0x1000d2a5
mov ecx, 2
call fcn.10001018
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10002533
push ebx
call fcn.10008fc9
add esp, 4
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call fcn.1000259d
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1000254f
push ebx
call fcn.10008fc9
add esp, 4
mov esp, ebp
pop ebp
ret 8
Function at 0x10004afd
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x10004b3d
push 6
call fcn.10008fb7
add esp, 4
push dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.10004a6f
mov dword [ebp - 8], eax
push 5
push dword [ebp - 8]
call fcn.10004a6f
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x9dc
call fcn.10009370
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x198
call fcn.100095f0
add esp, 0x10
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push 0x1000d2a5
mov ecx, 2
call fcn.10001018
add esp, 8
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10004bb7
push ebx
call fcn.10008fc9
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
push 0x1000da27
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x28]
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10004be9
push ebx
call fcn.10008fc9
add esp, 4
mov dword [ebp - 8], esp
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x10004c17
push 6
call fcn.10008fb7
add esp, 4
mov esp, ebp
pop ebp
ret 8
Function at 0x10005855
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push dword [0x1000daf7]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x10005898
push 6
call fcn.10008fb7
add esp, 4
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
mov eax, 0x1000d493
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push dword [0x1000daf7]
push 0x1000da27
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x28]
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x100058d5
push ebx
call fcn.10008fc9
add esp, 4
mov dword [ebp - 8], esp
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 1
push dword [0x1000daf7]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x10005906
push 6
call fcn.10008fb7
add esp, 4
mov dword [ebp - 8], esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x10005925
push 6
call fcn.10008fb7
add esp, 4
mov dword [ebp - 0xc], eax
push 0
push dword [ebp - 0xc]
call fcn.10005939
mov esp, ebp
pop ebp
ret
Function at 0x1000a3e0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x1000a472
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x1000a464
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x1000a45c
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x1000a425
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret

Function at 0x1000a480
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push esi
lea eax, [esp + 0x14]
push edi
push eax
mov dword [esp + 0x1c], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov eax, dword [esp + 0x84]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x44], 1
je case.0x1000a4c1.2
mov ecx, dword [esp + 0x7c]
lea eax, [ecx - 1]
cmp eax, 5
ja case.0x1000a4c1.2
jmp dword [eax*4 + 0x1000a54c]
mov word [esp + 0x48], di
jmp 0x1000a4fa
mov word [esp + 0x48], 2
jmp 0x1000a4fa
mov word [esp + 0x48], 3
jmp 0x1000a4fa
mov word [esp + 0x48], 4
jmp 0x1000a4fa
mov word [esp + 0x48], 7
jmp 0x1000a4fa
mov word [esp + 0x48], 5
lea edx, [esp + 8]
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x18]
push edx
push eax
push edi
push edi
push edi
push 1
push edi
push edi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
cmp esi, edi
je 0x1000a544
cmp dword [esp + 0x70], edi
je 0x1000a530
mov edx, dword [esp + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esp + 0xc]
push ecx
call edi
mov eax, esi
pop edi
pop esi
add esp, 0x54
ret