joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005900
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
mov ebx, 0x400
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x10005929
push 1
push eax
call fcn.1000a57f
add esp, 8
mov dword [edi + 0x3c], 0
mov ecx, dword [ebp + 8]
mov edx, dword [edi + 0x40]
lea eax, [ecx + 0x400]
cmp eax, edx
jbe 0x1000593d
mov ebx, edx
sub ebx, ecx
movzx eax, word [edi + 8]
imul eax, ebx
push eax
call fcn.1000a914
movzx esi, word [edi + 8]
add esp, 4
mov ecx, dword [edi + 0x48]
xorps xmm0, xmm0
add ecx, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, esi
cdq
push edx
push eax
push 0
push ecx
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x18], xmm0
call fcn.1001af80
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
imul esi, ebx
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x10], edx
push esi
mov esi, dword [ebp - 4]
push esi
push dword [edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x100059ae
push 1
push esi
call fcn.1000a57f
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
mov dword [edi + 0x30], eax
mov eax, esi
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], esi
mov dword [edi + 0x34], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x10005b80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, ecx
mov eax, 0x500000
mov dword [ebp - 8], edi
movzx esi, word [edi + 8]
movzx edx, word [edi + 0xa]
imul edx, esi
cmp edx, eax
cmova eax, edx
xor edx, edx
div esi
mov edx, dword [edi + 0x58]
mov ebx, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebx + eax]
cmp edx, ecx
jae 0x10005bc0
mov ebx, edx
sub ebx, eax
mov dword [ebp - 4], ebx
mov eax, dword [edi + 0x2cc]
test eax, eax
je 0x10005bd3
push eax
call fcn.1000a91d
add esp, 4
movzx eax, word [edi + 8]
imul eax, ebx
push eax
call fcn.1000a914
mov ecx, dword [ebp - 8]
mov ebx, eax
add esp, 4
mov dword [edi + 0x2cc], ebx
movzx edi, word [edi + 8]
xorps xmm0, xmm0
mov eax, edi
mov dword [ebp - 0x20], 0
mov esi, dword [ecx + 0x60]
add esi, dword [ebp + 8]
mov ecx, dword [ecx + 0x64]
cdq
adc ecx, 0
push edx
push eax
push ecx
push esi
movups xmmword [ebp - 0x1c], xmm0
call fcn.1001af80
mov esi, dword [ebp - 4]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x14], edx
push eax
mov eax, edi
imul eax, esi
push eax
push ebx
mov ebx, dword [ebp - 8]
push dword [ebx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10005c58
push dword [ebx + 0x2cc]
call fcn.1000a91d
add esp, 4
mov dword [ebx + 0x2cc], 0
mov eax, dword [ebp + 8]
pop edi
mov dword [ebx + 0x2c8], esi
mov dword [ebx + 0x2c0], eax
mov eax, dword [ebx + 0x2cc]
pop esi
mov dword [ebx + 0x2c4], 0
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10005e20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp + 8]
xorps xmm0, xmm0
push esi
push edi
movzx edx, word [ebx + 0xa]
add ecx, 0xfffffffe
movzx esi, word [ebx + 8]
mov edi, edx
imul edi, dword [ebp + 0x10]
mov eax, esi
imul ecx, edx
cdq
push edx
push eax
push 0
add ecx, dword [ebx + 0x50]
push ecx
movups xmmword [ebp - 0x10], xmm0
call fcn.1001af80
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
imul esi, edi
lea eax, [ebp + 0x10]
push eax
mov dword [ebp - 8], edx
push esi
push dword [ebp + 0x14]
push dword [ebx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x10005e90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x24], 0
je 0x10005ead
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.10006ba0
mov bl, al
test bl, bl
je 0x10005fd3
movzx ecx, word [esi + 8]
push ecx
call fcn.1000a914
add esp, 4
mov dword [esp + 0x14], 0
mov edi, eax
xorps xmm0, xmm0
lea eax, [esp + 0x14]
movups xmmword [esp + 0x18], xmm0
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x20], 0
push eax
movzx eax, word [esi + 8]
push eax
push edi
push dword [esi + 0x18]
mov dword [esp + 0x34], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10005f11
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp word [edi + 0x16], 0
je 0x10005f2a
cmp byte [edi + 0x3a], 0x32
jne 0x10005f24
mov byte [esi + 0x5c], 0xc
jmp 0x10005f2e
mov byte [esi + 0x5c], 0x10
jmp 0x10005f2e
mov byte [esi + 0x5c], 0x20
movzx eax, byte [edi + 0xd]
mov word [esi + 0xa], ax
movzx eax, word [edi + 0x11]
movzx ecx, word [edi + 0xb]
shl eax, 5
dec eax
add eax, ecx
cdq
idiv ecx
mov word [esi + 0x48], ax
movzx eax, word [edi + 0x16]
test ax, ax
jne 0x10005f57
mov eax, dword [edi + 0x24]
mov dword [esi + 0x4c], eax
movzx ecx, byte [edi + 0x10]
imul ecx, eax
movzx eax, word [edi + 0xe]
add ecx, eax
movzx eax, word [esi + 0x48]
add ecx, eax
mov dword [esi + 0x50], ecx
movzx eax, word [edi + 0xe]
mov dword [esi + 0x54], eax
movzx eax, word [edi + 0x13]
test ax, ax
jne 0x10005f83
mov eax, dword [edi + 0x20]
movzx ecx, word [esi + 0xa]
xor edx, edx
mov dword [esi + 0x58], eax
div ecx
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], eax
mov al, byte [esi + 0x5c]
mov word [esi + 0x68], 0x10
cmp al, 0xc
je 0x10005fbb
cmp al, 0x10
je 0x10005fbb
cmp al, 0x20
jne 0x10005fca
movzx eax, word [edi + 0x2e]
mov word [esi + 0x71], ax
movzx eax, word [edi + 0x2c]
jmp 0x10005fc6
xor eax, eax
mov word [esi + 0x71], ax
mov eax, 2
mov word [esi + 0x77], ax
push edi
call fcn.1000a91d
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10006750
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, ecx
mov ebx, 0x400
mov eax, dword [edi + 0x38]
test eax, eax
je 0x10006779
push 1
push eax
call fcn.1000a57f
add esp, 8
mov dword [edi + 0x38], 0
mov ecx, dword [ebp + 8]
mov edx, dword [edi + 0x4c]
lea eax, [ecx + 0x400]
cmp eax, edx
jbe 0x1000678d
mov ebx, edx
sub ebx, ecx
movzx eax, word [edi + 8]
imul eax, ebx
push eax
call fcn.1000a914
movzx esi, word [edi + 8]
add esp, 4
mov ecx, dword [edi + 0x54]
xorps xmm0, xmm0
add ecx, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, esi
cdq
push edx
push eax
push 0
push ecx
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x18], xmm0
call fcn.1001af80
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
imul esi, ebx
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x10], edx
push esi
mov esi, dword [ebp - 4]
push esi
push dword [edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x100067fe
push 1
push esi
call fcn.1000a57f
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 8]
mov dword [edi + 0x30], eax
mov eax, esi
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10006b10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
movzx ebx, word [ecx + 8]
xorps xmm0, xmm0
push esi
push edi
movzx edi, word [ecx + 0xa]
mov eax, edi
mov dword [ebp - 4], ecx
imul eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x14], xmm0
mov dword [ebp + 0x10], eax
mov eax, ebx
cdq
mov esi, eax
mov ecx, edx
mov eax, edi
cdq
push edx
push eax
push ecx
push esi
call fcn.1001af80
push dword [ebp + 0xc]
push dword [ebp + 8]
push edx
push eax
call fcn.1001af80
imul ebx, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], edx
push eax
mov eax, dword [ebp - 4]
push ebx
push dword [ebp + 0x14]
push dword [eax + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10009010
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
test esi, esi
jne 0x10009055
push 0xb3
call fcn.1000a58d
push 0xb3
mov esi, eax
push 0
push esi
call fcn.1000d7b0
push 0xb3
push 0
push esi
mov dword [edi + 0x1c], esi
call fcn.1000d7b0
add esp, 0x1c
mov eax, 1
pop edi
pop esi
pop ebp
ret 4
push ebx
xor ebx, ebx
cmp dword [edi + 4], 0xffffffff
jne 0x100090a3
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
push ebx
sbb eax, eax
push 0x10000082
and eax, 2
inc eax
push eax
push ebx
push ebx
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
je 0x100090a3
mov ecx, edi
call fcn.10009770
test al, al
je 0x100090a3
mov ebx, 1
mov eax, ebx
pop ebx
pop edi
pop esi
pop ebp
ret 4
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
je 0x100090b9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, ebx
mov dword [edi + 4], 0xffffffff
pop ebx
pop edi
pop esi
pop ebp
ret 4
Function at 0x100094c0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebx], eax
test eax, eax
jne 0x100094e2
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
xorps xmm0, xmm0
push 0x2800
movlpd qword [esp + 0x24], xmm0
call fcn.1000a914
add esp, 4
mov dword [esp + 0x1c], eax
push 0x2800
push 0
push eax
call fcn.1000d7b0
mov esi, dword [esp + 0x30]
xor edx, edx
mov edi, dword [esp + 0x2c]
add esp, 0xc
mov dword [esp + 0x10], edx
cmp dword [ebx + 0xc], edx
jle 0x10009632
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
nop dword [eax + eax]
xor edi, edi
mov dword [esp + 0xc], edi
mov eax, dword [ebx + 0x14]
xor ecx, ecx
mov esi, edi
add esi, dword [eax + edx*8]
adc ecx, dword [eax + edx*8 + 4]
mov edx, dword [ebx + 4]
cmp edx, 0xffffffff
je 0x10009573
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x10009601
mov edx, dword [ebx + 0x1c]
cmp ecx, dword [edx + 9]
ja 0x10009601
jb 0x1000956e
cmp esi, dword [edx + 5]
ja 0x10009601
mov edx, dword [ebx + 4]
add esi, eax
test esi, esi
je 0x10009601
mov ecx, dword [esi + 6]
test ecx, ecx
je 0x10009601
cmp byte [esi + 2], 0
jne 0x10009601
movzx eax, word [esi]
mov edi, dword [esp + 0xc]
mov dword [esp + 0x20], eax
cmp edx, 0xffffffff
je 0x100095ba
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x100095f7
mov edx, dword [ebx + 0x1c]
xor edi, edi
cmp edi, dword [edx + 9]
mov edi, dword [esp + 0xc]
ja 0x100095f7
jb 0x100095b4
cmp ecx, dword [edx + 5]
ja 0x100095f7
add ecx, eax
mov eax, dword [esp + 0x20]
test ecx, ecx
je 0x100095f7
movzx eax, ax
push eax
push ecx
push dword [esp + 0x24]
call fcn.1001b260
add esp, 0xc
cmp word [esp + 0x20], 0
je 0x100095f7
push dword [ebp + 0xc]
movzx eax, word [esi]
mov ecx, dword [ebx]
push eax
push dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov edi, dword [ecx]
cdq
push edx
push eax
call dword [edi]
test eax, eax
je 0x10009618
mov edi, dword [esp + 0xc]
add dword [esp + 0x18], 1
adc dword [esp + 0x14], 0
mov edx, dword [esp + 0x10]
add edi, 0xa
mov dword [esp + 0xc], edi
cmp edi, 0x19000
jl 0x10009536
mov edx, dword [esp + 0x10]
inc edx
mov dword [esp + 0x10], edx
cmp edx, dword [ebx + 0xc]
jl 0x10009530
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
push 1
push dword [esp + 0x20]
call fcn.1000a57f
add esp, 8
mov eax, edi
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x10009770
Capabilities:
Clear file content
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push esi
mov esi, ecx
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
jne 0x1000978b
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push eax
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, dword [esp + 8]
or eax, dword [esp + 0xc]
jne 0x100097e5
push 2
mov dword [esp + 0x10], eax
lea eax, [esp + 0x14]
push eax
push 0
push 0x3ffc00
push dword [esi + 4]
mov dword [esp + 0x1c], 0x3ffc00
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x10009784
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x10009784
mov ecx, esi
call fcn.10009a10
test al, al
je 0x10009784
mov ecx, dword [esi + 0x1c]
mov eax, dword [ecx + 0xd]
or eax, dword [ecx + 0x11]
jne 0x10009805
mov dword [ecx + 0xd], 0xb3
mov dword [ecx + 0x11], eax
mov ecx, dword [esi + 0x1c]
mov eax, dword [esp + 8]
mov dword [ecx + 5], eax
mov eax, dword [esp + 0xc]
mov dword [ecx + 9], eax
mov ecx, esi
call fcn.100096b0
test eax, eax
pop esi
setne al
mov esp, ebp
pop ebp
ret

Function at 0x10009830
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov edx, dword [esi + 4]
cmp edx, 0xffffffff
jne 0x1000986d
push edi
call fcn.1000a914
mov esi, eax
add esp, 4
test esi, esi
je 0x10009861
push edi
push 0
push esi
call fcn.1000d7b0
add esp, 0xc
mov eax, esi
cdq
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x1000988c
mov ebx, dword [ecx + 5]
sub ebx, dword [ecx + 0xd]
mov eax, dword [ecx + 9]
sbb eax, dword [ecx + 0x11]
xor ecx, ecx
cmp ecx, eax
jb 0x100098eb
ja 0x1000988c
cmp edi, ebx
jb 0x100098eb
push 2
lea eax, [ebp - 0xc]
push eax
push 0
push 0x3ffc00
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x100098b1
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x100098a4
mov eax, dword [esi + 0x1c]
add dword [eax + 5], 0x3ffc00
adc dword [eax + 9], 0
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x100098e0
mov eax, dword [esi + 0x1c]
push dword [eax + 5]
push ecx
call dword [sym.imp.KERNEL32.dll_FlushViewOfFile]
mov ecx, esi
call fcn.10009a10
test al, al
je 0x100098a4
mov eax, dword [esi + 0x1c]
add dword [eax + 0xd], edi
adc dword [eax + 0x11], 0
mov ecx, dword [esi + 0x1c]
mov eax, dword [ecx + 0xd]
mov edx, dword [ecx + 0x11]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10009a10
Capabilities:
Read file via mapping

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor bl, bl
cmp dword [esi + 4], 0xffffffff
jne 0x10009a23
mov al, 1
pop esi
pop ebx
pop ecx
ret
mov eax, dword [esi + 0x24]
mov dword [esi + 0x1c], 0
test eax, eax
je 0x10009a38
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esi + 0x20]
mov dword [esi + 0x24], 0
test eax, eax
je 0x10009a4d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push 0
push 4
push 0
push dword [esi + 4]
mov dword [esi + 0x20], 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 0x20], eax
test eax, eax
je 0x10009aa3
push 0
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0x24], eax
test eax, eax
je 0x10009a8f
mov bl, 1
mov dword [esi + 0x1c], eax
mov al, bl
pop esi
pop ebx
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.MapViewOfFile_error__dd
call fcn.10009d50
add esp, 8
mov eax, dword [esi + 0x24]
mov dword [esi + 0x1c], 0
test eax, eax
je 0x10009ab8
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x24], 0
test ecx, ecx
je 0x10009acd
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x20], 0
mov al, bl
pop esi
pop ebx
pop ecx
ret

Function at 0x10009d50
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
call fcn.10004f80
lea ecx, [ebp + 0xc]
mov dword [esp + 0xc], eax
push ecx
push 0
push dword [ebp + 8]
push 0
push 0
push dword [eax + 4]
push dword [eax]
call fcn.1000fa2b
mov edi, eax
add esp, 0x1c
or eax, 0xffffffff
test edi, edi
cmovs edi, eax
lea esi, [edi*2 + 0xe]
push esi
call fcn.1000ffa3
add esp, 4
mov ebx, eax
push esi
push 0
push ebx
call fcn.1000d7b0
mov ecx, dword [esp + 0x18]
lea eax, [ebp + 0xc]
add esp, 0xc
push eax
push 0
push dword [ebp + 8]
lea eax, [edi + 1]
push eax
lea eax, [ebx + 0xc]
push eax
mov eax, dword [ecx]
push dword [ecx + 4]
or eax, 1
push eax
call fcn.1000fa2b
add esp, 0x1c
mov dword [ebx], 0x490057
mov dword [ebx + 4], 0x450053
mov dword [ebx + 8], 0x200020
push ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push ebx
call fcn.1000ff5b
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10009eb0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 8]
mov dword [esi], vtable.CThread.0
test eax, eax
je 0x10009eca
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0xc], 0xffffffff
je 0x10009f0a
mov eax, dword [esi + 8]
test eax, eax
je 0x10009ede
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
push dword [esi + 0xc]
mov byte [esi + 4], 1
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0xc]
cmp eax, 0xffffffff
je 0x10009f03
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x10], 0
test byte [ebp + 8], 1
je 0x10009f1b
push 0x24
push esi
call fcn.1000a57f
add esp, 8
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x10009f70
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0xc], 0xffffffff
je 0x10009f84
or eax, 0xffffffff
pop esi
pop ebp
ret 4
mov ecx, dword [esi + 0x14]
mov edx, dword [ebp + 8]
mov dword [esi + 0x1c], edx
mov byte [esi + 4], 0
test ecx, ecx
je 0x10009f9c
mov eax, dword [ecx]
push edx
push esi
call dword [eax + 4]
push edi
lea eax, [esi + 0x10]
push eax
push 4
push esi
push 0x10009fd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
mov dword [esi + 0xc], edi
test edi, edi
je 0x10009fc3
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, edi
pop edi
pop esi
pop ebp
ret 4

Function at 0x1000a030
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0xc], 0xffffffff
je 0x1000a088
mov eax, dword [esi + 8]
test eax, eax
je 0x1000a04a
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [ebp + 8]
mov byte [esi + 4], 1
test eax, eax
je 0x1000a05f
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp + 0xc]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0xc]
cmp eax, 0xffffffff
je 0x1000a081
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x10], 0
mov eax, dword [ebp + 0xc]
pop esi
pop ebp
ret 8

Function at 0x10012b98
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x10012bd3
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x10012bba
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x10012bcb
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x10012bd5
inc edi
add eax, 0x28
cmp edi, esi
jb 0x10012bb0
xor eax, eax
pop edi
pop esi
ret
Function at 0x572c80
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push edx
push eax
call sub.ws2_32.dll_connect
mov esp, ebp
pop ebp
ret

Function at 0x409ebd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x409ebd
lcall 0x5de5, 0x8b10c483
jmp fcn.0076d6b4
Function at 0x441600
Capabilities:
Hash data with md5

Disassembly:
push edi
push esi
sub esp, 8
mov eax, 0x91af7547
mov dword [esp + 4], ecx
mov dx, word [0x490f90]
movsx esi, dx
add esi, 0xf0446ae2
cmp eax, esi
mov dword [esp], ecx
jge 0x441675
mov eax, 0x57f6edff
mov ecx, dword [0x495ca8]
mov edx, ecx
dec edx
mov dword [0x495ca8], edx
mov si, word [0x492dd6]
mov dx, si
inc edx
mov di, dx
mov word [0x492dd6], di
movsx edx, si
imul ecx, edx
cmp eax, ecx
jge 0x441670
mov eax, dword [0x49a948]
imul eax, eax, 0x404232c2
mov dword [0x49a948], eax
jmp 0x441675
mov eax, dword [esp]
mov dword [eax], 0
mov cx, word [0x492f28]
mov dx, cx
or edx, 0x43de
mov cx, dx
mov word [0x492f28], cx
mov dword [eax + 4], 0
mov edx, dword [0x494ac4]
imul edx, edx, 0x96e235a3
mov dword [0x494ac4], edx
mov dword [eax + 8], 0x67452301
mov edx, dword [0x497080]
mov esi, 0x8402c928
sub esi, edx
mov edx, dword [0x4976fc]
imul edx, esi
mov dword [0x4976fc], edx
mov dword [eax + 0xc], 0xefcdab89
mov edx, dword [0x498794]
or edx, 0x70501541
mov dword [0x498794], edx
mov dword [eax + 0x10], 0x98badcfe
mov edx, dword [0x494ea0]
mov esi, dword [0x4971ec]
mov edi, esi
inc edi
mov dword [0x4971ec], edi
add esi, 0xc587a118
xor edx, esi
mov esi, dword [0x4976f0]
shl esi, 3
imul esi, esi, 0x5712c60d
xor esi, 0x7315d9af
cmp edx, esi
jne 0x441743
mov eax, dword [0x49662c]
imul eax, eax, 0xa5b68fa9
mov dword [0x49662c], eax
jmp 0x441752
mov eax, dword [0x4954b0]
add eax, 0x51a4080
mov dword [0x4954b0], eax
mov eax, dword [esp]
mov dword [eax + 0x14], 0x10325476
mov ecx, dword [0x495a8c]
add ecx, 0xc848d629
mov dword [0x495a8c], ecx
add esp, 8
pop esi
pop edi
ret
Function at 0x44d910
Capabilities:
Terminate process

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], eax
mov cx, word [0x4917ca]
movsx eax, cx
cmp eax, 0x7fcadc4d
je 0x44d93f
mov eax, dword [0x498bc0]
and eax, 0x3442e6a7
mov dword [0x498bc0], eax
mov eax, 1
mov ecx, dword [0x49ce04]
mov edx, esp
mov dword [edx], ecx
mov dword [esp + 8], eax
call fcn.0043fed0
mov ecx, dword [0x4966a4]
mov edx, dword [0x495974]
inc edx
mov dword [0x495974], edx
xor ecx, edx
mov edx, dword [0x49b3ac]
or edx, ecx
mov dword [0x49b3ac], edx
mov dword [esp], 1
mov byte [esp + 7], al
call fcn.00457084
int3