joyce8/EMBER2024-capa huggingface dataset:
Function at 0xc0b730
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xc8a3b2
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0xcf16ec]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [0xcf16ec]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push 0xe
push str.cdata_section
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], esi
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
call fcn.00ad8800
mov ecx, dword [esp + 0x38]
push edi
lea eax, [esp + 0xc]
push eax
push esi
mov dword [esp + 0x3c], 0
call fcn.00c10e50
mov byte [esp + 0x30], 2
cmp dword [esp + 0x1c], 0x10
jb 0xc0b7b8
mov ecx, dword [esp + 8]
push ecx
call fcn.00c18a36
add esp, 4
mov dword [esi], vtable.ggadget::internal::DOMCDATASection.0
mov dword [esi + 4], vtable.ggadget::internal::DOMCDATASection.1.0
mov dword [esi + 8], vtable.ggadget::internal::DOMCDATASection.2.0
mov dword [esi + 0x10], vtable.ggadget::internal::DOMCDATASection.3.0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00c18a41
add esp, 0x30
ret 4

Function at 0xc0b800
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xc8a3b2
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0xcf16ec]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [0xcf16ec]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push 0xe
push str.cdata_section
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], esi
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
call fcn.00ad8800
mov ecx, dword [esp + 0x38]
push edi
lea eax, [esp + 0xc]
push eax
push esi
mov dword [esp + 0x3c], 0
call fcn.00c10ef0
mov byte [esp + 0x30], 2
cmp dword [esp + 0x1c], 0x10
jb 0xc0b888
mov ecx, dword [esp + 8]
push ecx
call fcn.00c18a36
add esp, 4
mov dword [esi], vtable.ggadget::internal::DOMCDATASection.0
mov dword [esi + 4], vtable.ggadget::internal::DOMCDATASection.1.0
mov dword [esi + 8], vtable.ggadget::internal::DOMCDATASection.2.0
mov dword [esi + 0x10], vtable.ggadget::internal::DOMCDATASection.3.0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00c18a41
add esp, 0x30
ret 4
Function at 0xc0bb40
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0xc7d8a0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0xcf16ec]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
xor ebx, ebx
lea esi, [edi + 0x18]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], esi
mov byte [esp + 0x1c], 1
cmp dword [esi + 0x30], 0x10
jb 0xc0bb8c
mov eax, dword [esi + 0x1c]
push eax
call fcn.00c18a36
add esp, 4
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x1c], bl
mov byte [esp + 0x1c], bl
cmp dword [esi + 0x14], 8
jb 0xc0bbae
mov eax, dword [esi]
push eax
call fcn.00c18a36
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov ecx, edi
mov word [esi], ax
mov dword [esp + 0x1c], 0xffffffff
call fcn.00c117e0
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0xc0bc50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xc8a370
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0xcf16ec]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [0xcf16ec]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push 0x12
push str.document_fragment
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], esi
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
call fcn.00ad8800
mov ecx, dword [esp + 0x38]
lea eax, [esp + 8]
push eax
push ecx
push esi
mov dword [esp + 0x3c], 0
call fcn.00c11a40
mov byte [esp + 0x30], 2
cmp dword [esp + 0x1c], 0x10
jb 0xc0bcd8
mov edx, dword [esp + 8]
push edx
call fcn.00c18a36
add esp, 4
mov dword [esi], vtable.ggadget::internal::DOMDocumentFragment.0
mov dword [esi + 4], vtable.ggadget::internal::DOMDocumentFragment.1.0
mov dword [esi + 8], vtable.ggadget::internal::DOMDocumentFragment.2.0
mov dword [esi + 0x10], vtable.ggadget::internal::DOMDocumentFragment.3.0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00c18a41
add esp, 0x30
ret 4
Function at 0xc14c50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xc8d61a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0xcf16ec]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0xcf16ec]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, ecx
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov dword [esp + 0xc], 0
mov ecx, dword [ecx]
push ecx
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add ecx, edx
mov dword [esp + 0x14], esi
call eax
mov dword [esp + 0x1c], 7
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], 1
xor eax, eax
mov dword [esi + 8], 0
mov dword [esi], eax
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
mov ecx, esi
call fcn.00b547a0
mov byte [esp + 0x30], 2
cmp dword [esi + 8], 7
jne 0xc14cf5
push esi
lea ecx, [esp + 0xf]
call fcn.00b55ae0
test eax, eax
je 0xc14cf5
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 1
mov byte [esp + 0x30], 0
call fcn.00b546c0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00c18a41
add esp, 0x2c
ret 0x10

Function at 0xc150e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xc8d61a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0xcf16ec]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0xcf16ec]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, ecx
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x38]
mov dword [esp + 0xc], 0
mov ecx, dword [ecx]
push ecx
mov ecx, dword [eax + 0xc]
add ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], esi
call eax
mov dword [esp + 0x1c], 7
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], 1
xor eax, eax
mov dword [esi + 8], 0
mov dword [esi], eax
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
mov ecx, esi
call fcn.00b547a0
mov byte [esp + 0x30], 2
cmp dword [esi + 8], 7
jne 0xc15182
push esi
lea ecx, [esp + 0xf]
call fcn.00b55ae0
test eax, eax
je 0xc15182
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 1
mov byte [esp + 0x30], 0
call fcn.00b546c0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00c18a41
add esp, 0x2c
ret 0x10
Function at 0xc15ca0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0xc8d61a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0xcf16ec]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0xcf16ec]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, ecx
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov dword [esp + 0xc], 0
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add ecx, edx
mov dword [esp + 0x10], esi
call eax
cdq
mov dword [esp + 0x1c], 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x30], 1
xor eax, eax
mov dword [esi + 8], 0
mov dword [esi], eax
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
mov ecx, esi
call fcn.00b547a0
mov byte [esp + 0x30], 2
cmp dword [esi + 8], 7
jne 0xc15d43
push esi
lea ecx, [esp + 0xf]
call fcn.00b55ae0
test eax, eax
je 0xc15d43
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 1
mov byte [esp + 0x30], 0
call fcn.00b546c0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00c18a41
add esp, 0x2c
ret 0x10

Function at 0xc15ec0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xc8d61a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0xcf16ec]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0xcf16ec]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, ecx
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov dword [esp + 0xc], 0
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add ecx, edx
mov dword [esp + 0x10], esi
call eax
mov dword [esp + 0x1c], 7
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], 1
xor eax, eax
mov dword [esi + 8], 0
mov dword [esi], eax
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
mov ecx, esi
call fcn.00b547a0
mov byte [esp + 0x30], 2
cmp dword [esi + 8], 7
jne 0xc15f5e
push esi
lea ecx, [esp + 0xf]
call fcn.00b55ae0
test eax, eax
je 0xc15f5e
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 1
mov byte [esp + 0x30], 0
call fcn.00b546c0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00c18a41
add esp, 0x2c
ret 0x10
Function at 0xc16610
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xc8b2fa
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0xcf16ec]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push esi
push edi
mov eax, dword [0xcf16ec]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, ecx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov edi, dword [ecx + 0x10]
mov ecx, dword [ecx]
push edi
push ecx
mov ecx, dword [eax + 0xc]
add ecx, edx
mov edx, dword [eax + 8]
mov dword [esp + 0x20], esi
call edx
xor eax, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov edi, 1
mov dword [esp + 0x38], edi
mov dword [esi + 8], ebx
mov dword [esi], eax
mov dword [esi + 4], eax
lea eax, [esp + 0x1c]
mov ecx, esi
call fcn.00b547a0
mov byte [esp + 0x38], 2
cmp dword [esi + 8], 7
jne 0xc166b6
push esi
lea ecx, [esp + 0x17]
call fcn.00b55ae0
cmp eax, ebx
je 0xc166b6
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], edi
mov byte [esp + 0x38], bl
call fcn.00b546c0
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00c18a41
add esp, 0x2c
ret 0x10

Function at 0xc17100
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xc8d61a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0xcf16ec]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0xcf16ec]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x38]
mov dword [esp + 0xc], 0
mov cl, byte [ecx + 4]
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], 1
mov byte [esp + 0x14], cl
mov dword [esp + 0x30], 1
xor eax, eax
mov dword [esi + 8], 0
mov dword [esi], eax
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
mov ecx, esi
call fcn.00b547a0
mov byte [esp + 0x30], 2
cmp dword [esi + 8], 7
jne 0xc17191
push esi
lea ecx, [esp + 0xf]
call fcn.00b55ae0
test eax, eax
je 0xc17191
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 1
mov byte [esp + 0x30], 0
call fcn.00b546c0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00c18a41
add esp, 0x2c
ret 0x10
Function at 0xc1890b
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0xd0c338], 0
push esi
push edi
jne 0xc18881
call fcn.00c187ed
test eax, eax
je 0xc188c6
mov eax, dword [0xd0c338]
cmp eax, 1
jne 0xc188a2
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0xc188c6
jmp 0xc18908
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0xc18908
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0xc188ca
xor eax, eax
jmp 0xc18908
mov eax, dword [esi]
push dword [0xd0c338]
call edi
mov edi, eax
test edi, edi
je 0xc188ec
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0xc18908
lea edi, [esi + 0xff0]
push esi
push dword [0xd0c338]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0xc188f2
mov eax, esi
pop edi
pop esi
ret
jmp 0xc1886d

Function at 0xc18a41
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0xcf16ec]
jne 0xc18a4b
repz ret
jmp fcn.00c1e49a
Function at 0xc29de8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0xcf16ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00c1f722
and dword [ebp - 0x14], 0
cmp dword [0xd0d208], 0
mov dword [ebp - 0x18], eax
jne 0xc29e9b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0xc29f43
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0xc99724
push ebx
call edi
test eax, eax
je 0xc29f43
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0xd0d208], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0xd0d20c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0xd0d210], eax
call edi
push eax
call esi
mov dword [0xd0d218], eax
test eax, eax
je 0xc29e9b
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0xd0d214], eax
mov eax, dword [0xd0d214]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0xc29ef4
cmp dword [0xd0d218], ecx
je 0xc29ef4
push eax
call esi
push dword [0xd0d218]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0xc29ef4
test ebx, ebx
je 0xc29ef4
call edi
test eax, eax
je 0xc29eeb
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0xc29eeb
test byte [ebp - 8], 1
jne 0xc29ef4
or dword [ebp + 0x10], 0x200000
jmp 0xc29f27
mov eax, dword [0xd0d20c]
cmp eax, dword [ebp - 0x18]
je 0xc29f27
push eax
call esi
test eax, eax
je 0xc29f27
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0xc29f27
mov eax, dword [0xd0d210]
cmp eax, dword [ebp - 0x18]
je 0xc29f27
push eax
call esi
test eax, eax
je 0xc29f27
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0xd0d208]
call esi
test eax, eax
je 0xc29f43
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0xc29f45
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00c18a41
leave
ret
Function at 0xc38bf0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0xa8]
test ecx, ecx
jne 0xc38c0e
xor al, al
jmp 0xc38cd4
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0xa0]
test eax, eax
je 0xc38c23
xor al, al
jmp 0xc38cd4
call fcn.00c387b0
push 8
call fcn.00c18a50
add esp, 4
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
mov dword [ecx + 4], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x9c], 0
je 0xc38c66
mov dword [ebp - 4], 4
push 0
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
push 0xc38dd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xa4], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0xa4], 0
je 0xc38cce
mov eax, dword [ebp - 0x10]
mov byte [eax + 0xa0], 1
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x9c], 0
je 0xc38ccc
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x9c]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00c38b30
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xa4]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0xc38cd2
xor al, al
jmp 0xc38cd4
mov al, 1
mov esp, ebp
pop ebp
ret 4

Function at 0xc3af10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x18], 0
jne 0xc3af29
mov eax, 3
jmp 0xc3af94
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 1
mov ecx, dword [ebp + 8]
push ecx
call fcn.00c7458f
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0xc3af81
cmp dword [ebp + 0xc], 0
jbe 0xc3af81
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x18]
push eax
call fcn.00c742f5
add esp, 4
test eax, eax
je 0xc3af6b
mov eax, 3
jmp 0xc3af94
cmp dword [ebp + 0x14], 0
je 0xc3af7d
call fcn.00c1aedc
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax]
mov dword [ecx], edx
xor eax, eax
jmp 0xc3af94
cmp dword [ebp + 0x10], 0
je 0xc3af8f
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10

Function at 0xc3afa0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x18], 0
jne 0xc3afb9
mov eax, 3
jmp 0xc3b00a
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 1
mov ecx, dword [ebp + 8]
push ecx
call fcn.00c739cb
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0xc3aff7
cmp dword [ebp + 0xc], 0
jbe 0xc3aff7
cmp dword [ebp + 0x14], 0
je 0xc3aff3
call fcn.00c1aedc
mov edx, dword [ebp + 0x14]
mov eax, dword [eax]
mov dword [edx], eax
xor eax, eax
jmp 0xc3b00a
cmp dword [ebp + 0x10], 0
je 0xc3b005
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 4]
mov dword [ecx], edx
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10
Function at 0xc45060
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov byte [ebp - 1], 1
mov ecx, dword [ebp + 8]
call fcn.00ad7a10
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
movzx eax, byte [ebp - 1]
test eax, eax
je 0xc450bf
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0xc450bf
mov byte [ebp - 1], 0
mov dword [ebp - 0xc], 0
push 0
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00aea780
push eax
mov ecx, dword [ebp + 8]
call fcn.00ad7a10
push eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
movzx eax, byte [ebp - 1]
test eax, eax
je 0xc450e2
mov ecx, dword [ebp + 8]
push ecx
push 0xd0d328
call fcn.00ad9f20
add esp, 8
mov ecx, 0xd0d328
call fcn.00ad4960
mov esp, ebp
pop ebp
ret
Function at 0xc53d60
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0xcf16ec]
xor eax, ebp
mov dword [ebp - 0x30], eax
cmp dword [ebp + 0x10], 0
jne 0xc53d7e
or eax, 0xffffffff
jmp 0xc53e49
mov ecx, dword [ebp + 0x10]
call fcn.00c54330
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x24], 2
mov dword [ebp - 0x28], 0x400
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x28]
push edx
push 0
mov ecx, dword [ebp + 8]
call fcn.00ad7a10
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0xc53de0
mov eax, dword [ebp - 8]
jmp 0xc53e49
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], eax
jmp 0xc53df1
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0xc53e3d
cmp dword [ebp + 0xc], 0
je 0xc53e08
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
cmp ecx, dword [ebp + 0xc]
jne 0xc53e3b
lea ecx, [ebp - 0x44]
call fcn.00c43b90
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00c53310
add esp, 8
movzx ecx, al
test ecx, ecx
je 0xc53e33
lea edx, [ebp - 0x44]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.00c54230
lea ecx, [ebp - 0x44]
call fcn.00c54500
jmp 0xc53de8
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
xor eax, eax
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.00c18a41
mov esp, ebp
pop ebp
ret

Function at 0xc54b20
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0
pop ebp
ret

Function at 0xc58540
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0xc3d2e1f0
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
pop ebp
ret
Function at 0xc596e0
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x2c]
call eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x70], eax
xor edx, edx
cmp dword [ebp + 0xc], 2
sete dl
mov eax, dword [ebp - 4]
mov byte [eax + 0x75], dl
mov ecx, dword [ebp - 4]
call fcn.00c5a6b0
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x75]
test edx, edx
je 0xc59733
mov eax, dword [ebp - 4]
mov byte [eax + 0x74], 3
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [ecx + 0x70], 0xffffffff
setne al
mov esp, ebp
pop ebp
ret 8

Function at 0xc59750
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0xcf16ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x194], ecx
xor eax, eax
mov word [ebp - 0x148], ax
push 0x7e
push 0
lea ecx, [ebp - 0x146]
push ecx
call fcn.00c1e420
add esp, 0xc
mov dword [ebp - 0x14c], 0x80
lea edx, [ebp - 0x148]
mov dword [ebp - 0x190], edx
lea eax, [ebp - 0x14c]
push eax
mov ecx, dword [ebp - 0x190]
push ecx
mov edx, dword [ebp - 0x194]
mov eax, dword [edx + 0x70]
push eax
call dword [sym.imp.WS2_32.dll_getsockname]
mov dword [ebp - 0x150], eax
lea ecx, [ebp - 0x18c]
call fcn.00c42a30
cmp dword [ebp - 0x150], 0
jl 0xc597eb
lea ecx, [ebp - 0x18c]
push ecx
lea edx, [ebp - 0x148]
push edx
call fcn.00c439f0
add esp, 8
jmp 0xc59839
xor eax, eax
je 0xc59839
mov ecx, dword [ebp - 0x194]
mov edx, dword [ecx + 0x70]
push edx
push str.GetLocalAddress:_unable_to_get_local_addr__socket
push 0
push 0
push 0
push 3
push 0
push 0
lea ecx, [ebp - 0xc8]
call fcn.00c44170
mov ecx, eax
call fcn.00c3f550
push eax
call fcn.00ad16a0
add esp, 8
mov ecx, eax
call fcn.00ad6860
lea ecx, [ebp - 0xc8]
call fcn.00c44580
jmp 0xc597eb
lea eax, [ebp - 0x18c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00c42b50
lea ecx, [ebp - 0x18c]
call fcn.00c405c0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00c18a41
mov esp, ebp
pop ebp
ret 4