joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14ad8f0
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x1c]
sub eax, 0
push edi
mov edi, ecx
je 0x14ad92e
sub eax, 1
je 0x14ad90c
call fcn.014aa1a0
jmp 0x14ad955
mov eax, dword [edi + 0x98]
cmp eax, dword [edi + 0x9c]
lea ecx, [edi + 0x60]
jne 0x14ad927
pop edi
mov eax, 6
pop esi
ret 4
call fcn.014ad2d0
jmp 0x14ad955
mov ecx, dword [esi + 0x1054]
mov dx, word [ecx]
and dx, 0x7fff
add dx, 6
cmp dx, 6
jae 0x14ad94b
call fcn.014aa1a0
movzx eax, word [esi + 0x103e]
mov dword [esi + 0x24], eax
push ebx
push ebp
lea ebp, [edi + 0x154]
push ebp
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edx, dword [esi + 0x20]
mov eax, dword [edi + 0x40]
push ebx
push esi
push ebx
lea ecx, [esp + 0x20]
push ecx
push edx
add esi, 0x24
push esi
push eax
mov dword [esp + 0x30], ebx
call dword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x14ad9fd
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp esi, 0x3e5
je 0x14ad9d6
push str.PostSend__
push str.PostSend
push esi
call fcn.014cd390
add esp, 0xc
cmp esi, 0x2733
je 0x14ad9e1
cmp esi, 8
je 0x14ad9e1
cmp esi, 0x2747
je 0x14ad9e1
push ebp
mov ebx, 0x8002
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
pop ebp
mov eax, ebx
pop ebx
pop edi
pop esi
ret 4
xor ebx, ebx
pop ebp
mov eax, ebx
pop ebx
pop edi
pop esi
ret 4
push esi
push str.WSASend_____NERR_TOO_MANY_OUTSTANDING:__d
push 0
call fcn.014b8790
add esp, 0xc
push ebp
mov ebx, 0x8005
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
pop ebp
mov eax, ebx
pop ebx
pop edi
pop esi
ret 4

Function at 0x14adab0
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0xa4]
mov ecx, esi
call fcn.014ad430
mov eax, dword [esi + 0x38]
cmp eax, dword [esi + 0x3c]
jge 0x14adad2
call fcn.014aa1a0
mov ecx, dword [esi + 0x38]
sub ecx, dword [esi + 0x3c]
cmp ecx, 6
jl 0x14adae2
call fcn.014aa1a0
mov ecx, esi
call fcn.014ad2d0
cmp dword [edi + 0xc8], 0
lea ebx, [edi + 0xc8]
ja 0x14adafd
call fcn.014aa1a0
mov ecx, dword [edi + 0xc4]
push 0
push esi
lea edx, [esp + 0x14]
push edx
mov edx, dword [edi + 0x40]
lea eax, [esp + 0x1c]
push eax
push ecx
push ebx
push edx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call dword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
pop edi
pop esi
pop ebx
jne 0x14adb4f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jg 0x14adb55
je 0x14adb65
cmp eax, 8
je 0x14adb65
cmp eax, 0x3e5
jne 0x14adb5c
xor eax, eax
add esp, 8
ret
cmp eax, 0x2747
je 0x14adb65
mov eax, 0x8002
add esp, 8
ret
mov eax, 0x8005
add esp, 8
ret
Function at 0x14af4f0
Capabilities:
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x1512638
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebp
push esi
push edi
mov eax, dword [0x153e8e8]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
cmp esi, edi
jne 0x14af536
mov eax, 0x8009
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x24
ret
lea ecx, [esi + 4]
cmp ecx, edi
jne 0x14af548
call fcn.014aa1a0
mov ebp, dword [esp + 0x1c]
jmp 0x14af566
mov ebp, ecx
mov dword [esp + 0x1c], ebp
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 4]
push 0xffffffffffffffff
mov dword [esp + 0x28], edi
call eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], edi
mov ecx, dword [esi + 0x148]
cmp ecx, edi
je 0x14af5c6
cmp dword [0x1564f7c], edi
je 0x14af5c6
push 1
mov dword [esp + 0x14], edi
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
push edi
lea eax, [esp + 0x18]
push eax
call edx
mov ecx, dword [esp + 0x10]
cmp ecx, edi
je 0x14af5c6
mov eax, dword [0x1564f7c]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x50]
call eax
mov ecx, dword [esi + 0x148]
push 1
mov dword [esp + 0x14], edi
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
push edi
lea eax, [esp + 0x18]
push eax
call edx
mov ecx, dword [esp + 0x10]
cmp ecx, edi
jne 0x14af597
cmp dword [esi + 0x44], 1
jne 0x14af654
mov eax, dword [esi + 0x40]
cmp eax, 0xffffffff
je 0x14af64d
cmp dword [esi + 0x48], edi
je 0x14af618
push edi
push eax
call fcn.014cd370
mov eax, dword [esi + 0x40]
add esp, 8
push 1
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
mov edx, dword [esi + 0x40]
push edi
push edi
lea ecx, [esp + 0x20]
push ecx
push 4
push edi
push edi
push edi
push 0x4004667f
push edx
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
call dword [sym.imp.WS2_32.dll_WSAIoctl]
jmp 0x14af63c
push 4
lea ecx, [esp + 0x14]
push ecx
push 0x80
push 0xffff
push eax
mov word [esp + 0x24], 1
mov word [esp + 0x26], di
call dword [sym.imp.WS2_32.dll_setsockopt]
mov edx, dword [esi + 0x40]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x44], 0xffffffff
cmp dword [0x1564f80], edi
jne 0x14af663
mov ecx, esi
call fcn.014af210
mov dword [esp + 0x30], 0xffffffff
cmp ebp, edi
jne 0x14af674
call fcn.014aa1a0
cmp dword [esp + 0x24], edi
je 0x14af68f
mov eax, dword [ebp]
mov edx, dword [eax + 0xc]
mov ecx, ebp
call edx
neg eax
sbb eax, eax
add eax, 1
mov dword [esp + 0x24], eax
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x24
ret
Function at 0x14b40d0
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x50]
mov ecx, edi
call fcn.014ad430
mov eax, dword [edi + 0x38]
cmp eax, dword [edi + 0x3c]
jge 0x14b40ef
call fcn.014aa1a0
mov ecx, dword [edi + 0x38]
sub ecx, dword [edi + 0x3c]
cmp ecx, 6
jl 0x14b40ff
call fcn.014aa1a0
mov ecx, edi
call fcn.014ad2d0
cmp dword [esi + 0x74], 0
lea ebx, [esi + 0x74]
ja 0x14b4114
call fcn.014aa1a0
push 0
push edi
lea eax, [esi + 0xc8]
push eax
mov dword [eax], 0x10
lea edx, [esi + 0xb8]
push edx
mov edx, dword [esi + 0x70]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esi + 0x40]
lea ecx, [esp + 0x24]
push ecx
push edx
push ebx
push eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
call dword [sym.imp.WS2_32.dll_WSARecvFrom]
cmp eax, 0xffffffff
pop edi
pop esi
pop ebx
jne 0x14b418e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x14b418e
cmp eax, 0x2733
je 0x14b4185
cmp eax, 8
je 0x14b4185
cmp eax, 0x2747
je 0x14b4185
mov eax, 0x8002
add esp, 8
ret
mov eax, 0x8005
add esp, 8
ret
xor eax, eax
add esp, 8
ret

Function at 0x14b40d4
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x50]
mov ecx, edi
call fcn.014ad430
mov eax, dword [edi + 0x38]
cmp eax, dword [edi + 0x3c]
jge 0x14b40ef
call fcn.014aa1a0
mov ecx, dword [edi + 0x38]
sub ecx, dword [edi + 0x3c]
cmp ecx, 6
jl 0x14b40ff
call fcn.014aa1a0
mov ecx, edi
call fcn.014ad2d0
cmp dword [esi + 0x74], 0
lea ebx, [esi + 0x74]
ja 0x14b4114
call fcn.014aa1a0
push 0
push edi
lea eax, [esi + 0xc8]
push eax
mov dword [eax], 0x10
lea edx, [esi + 0xb8]
push edx
mov edx, dword [esi + 0x70]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esi + 0x40]
lea ecx, [esp + 0x24]
push ecx
push edx
push ebx
push eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
call dword [sym.imp.WS2_32.dll_WSARecvFrom]
cmp eax, 0xffffffff
pop edi
pop esi
pop ebx
jne 0x14b418e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x14b418e
cmp eax, 0x2733
je 0x14b4185
cmp eax, 8
je 0x14b4185
cmp eax, 0x2747
je 0x14b4185
mov eax, 0x8002
add esp, 8
ret
mov eax, 0x8005
add esp, 8
ret
xor eax, eax
add esp, 8
ret
Function at 0x14b4de0
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x40], 0xffffffff
mov byte [esi + 0xa8], 1
jne 0x14b4e1f
push 1
push 0
push 0
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
cmp eax, 0xffffffff
mov dword [esi + 0x40], eax
jne 0x14b4e1f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
call edx
xor eax, eax
pop esi
ret 4
push ebp
mov ebp, dword [esp + 0xc]
xor eax, eax
test bp, bp
push edi
lea edi, [esi + 0xb8]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov word [edi], 2
jbe 0x14b4e62
mov ecx, dword [esi + 0x40]
push 4
lea eax, [esp + 0x14]
push eax
push 4
push 0xffff
push ecx
mov dword [esp + 0x24], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
push ebp
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [esi + 0x40]
push 0x10
push edi
push edx
mov word [esi + 0xba], ax
mov dword [esi + 0xbc], 0
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
pop edi
pop ebp
jne 0x14b4e9a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
xor eax, eax
pop esi
ret 4
mov ecx, esi
call fcn.014b3f70
test eax, eax
je 0x14b4e19
mov ecx, esi
call fcn.014b4d10
mov eax, 1
pop esi
ret 4

Function at 0x14b4f30
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x10
cmp byte [0x1564f78], 0
jne 0x14b4f92
lea eax, [esp]
push eax
push 1
mov byte [0x1564f78], 1
call fcn.014b4ef0
add esp, 8
test al, al
je 0x14b4f69
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [0x1564f68], ecx
mov dword [0x1564f6c], edx
lea eax, [esp]
push eax
push reloc.WS2_32.dll_accept
call fcn.014b4ef0
add esp, 8
test al, al
je 0x14b4f92
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [0x1564f70], ecx
mov dword [0x1564f74], edx
mov ecx, dword [esp + 0x14]
mov edx, ecx
sar edx, 5
cmp edx, 3
jbe 0x14b4fb1
push str.cap_invalid
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor al, al
add esp, 0x10
ret
and ecx, 0x1f
mov eax, 1
shl eax, cl
and eax, dword [edx*4 + 0x1564f68]
neg eax
sbb eax, eax
neg eax
add esp, 0x10
ret
Function at 0x14b8790
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1534770
push 0x14e2930
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x2804
call fcn.014e2fc0
mov eax, dword [0x153e8e8]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x281c], bl
push 0x27ff
push ebx
lea eax, [ebp - 0x281b]
push eax
call fcn.014e21d0
add esp, 0xc
lea ecx, [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0x2800
lea eax, [ebp - 0x281c]
push eax
call fcn.0144dee0
test eax, eax
je 0x14b8812
call fcn.014aa1a0
mov eax, dword [0x1564f7c]
cmp eax, ebx
je 0x14b8839
mov eax, dword [eax + 0x24]
cmp eax, ebx
je 0x14b8839
lea ecx, [ebp - 0x281c]
push ecx
push 0x151d610
mov edx, dword [ebp + 8]
push edx
call eax
add esp, 0xc
jmp 0x14b8851
lea eax, [ebp - 0x281c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x14b8851
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.014e18ea
mov esp, ebp
pop ebp
ret
Function at 0x14cd194
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x153e8e8]
xor eax, esp
mov dword [esp + 0x190], eax
push esi
mov esi, ecx
cmp dword [esi + 4], 0
je 0x14cd1ba
mov eax, 1
pop esi
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.014e18ea
add esp, 0x194
ret 8
xor ecx, ecx
mov ch, byte [esp + 0x1a0]
push ebx
mov bl, byte [esp + 0x1a0]
lea eax, [esp + 8]
push eax
mov cl, bl
push ecx
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x14cd1ff
mov ax, word [esp + 8]
cmp al, bl
jne 0x14cd1f9
cmp ah, byte [esp + 0x1a4]
jne 0x14cd1f9
mov eax, 1
mov dword [esi + 4], eax
jmp 0x14cd201
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
mov ecx, dword [esp + 0x198]
pop ebx
pop esi
xor ecx, esp
call fcn.014e18ea
add esp, 0x194
ret 8
Function at 0x14ce180
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
xor eax, eax
push edi
mov edi, dword [esp + 0x14]
cmp esi, edi
sete al
mov ebx, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
test eax, eax
jbe 0x14ce214
push ebp
lea ebp, [eax - 1]
shr ebp, 3
add ebp, 1
lea ebx, [ebx]
cmp dword [esp + 0x14], 0
je 0x14ce1c8
lea ecx, [esi + 4]
push ecx
push esi
mov ecx, ebx
call fcn.014cd830
add esi, 8
jmp 0x14ce20e
movzx edx, byte [esi]
mov byte [edi], dl
mov al, byte [esi + 1]
mov byte [edi + 1], al
movzx ecx, byte [esi + 2]
mov byte [edi + 2], cl
movzx edx, byte [esi + 3]
mov byte [edi + 3], dl
movzx ecx, byte [esi + 4]
lea eax, [edi + 4]
mov byte [eax], cl
movzx edx, byte [esi + 5]
mov byte [edi + 5], dl
movzx ecx, byte [esi + 6]
mov byte [edi + 6], cl
movzx edx, byte [esi + 7]
push eax
push edi
mov ecx, ebx
mov byte [edi + 7], dl
call fcn.014cd830
add esi, 8
add edi, 8
sub ebp, 1
jne 0x14ce1b0
pop ebp
pop edi
pop esi
pop ebx
ret 0xc

Function at 0x14ce330
Capabilities:
Encode data using xor

Disassembly:
cmp dword [0x15a5038], 1
push esi
mov esi, ecx
je 0x14ce341
call fcn.014aa1a0
cmp dword [esi], 0
jne 0x14ce34b
call fcn.014aa1a0
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x14ce359
xor al, al
pop esi
ret 8
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
mov dword [esi + 4], 0xffffffff
jbe 0x14ce396
push edi
mov edi, dword [esi]
shl edi, 8
nop
movzx edx, byte [ecx]
mov eax, dword [esi + 4]
xor edx, eax
and edx, 0xff
add edx, edi
shr eax, 8
xor eax, dword [edx*4 + 0x1565038]
add ecx, 1
sub ebp, 1
mov dword [esi + 4], eax
jne 0x14ce370
pop edi
pop ebp
mov al, 1
pop esi
ret 8

Function at 0x14ce702
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
call edx
cmp eax, 1
je 0x14ce716
call fcn.014aa1a0
mov ebx, dword [esp + 0x18]
test ebx, ebx
jne 0x14ce726
pop esi
xor eax, eax
pop ebx
pop ecx
ret 0xc
push edi
mov edi, dword [esp + 0x18]
test edi, edi
jne 0x14ce734
call fcn.014aa1a0
mov eax, dword [esp + 0x14]
push eax
mov ecx, esi
call fcn.014ce6b0
test eax, eax
jne 0x14ce74b
pop edi
pop esi
pop ebx
pop ecx
ret 0xc
mov edx, dword [esi + 0x98]
push 0
lea ecx, [esp + 0x10]
push ecx
push ebx
push edi
push edx
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, esi
call fcn.014ce6e0
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
pop ecx
ret 0xc
Function at 0x14d0dc0
Capabilities:
Hash data using fnv

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
mov ebp, 0x811c9dc5
cmp esi, 0xfffffffe
je 0x14d0de5
test esi, esi
je 0x14d0de0
cmp esi, dword [esp + 0x1c]
je 0x14d0de5
call fcn.014e123c
cmp edi, dword [esp + 0x20]
je 0x14d0e51
cmp esi, 0xfffffffe
mov ebx, edi
je 0x14d0e17
test esi, esi
jne 0x14d0dfb
call fcn.014e123c
cmp dword [esi + 0x18], 0x10
jb 0x14d0e06
mov eax, dword [esi + 4]
jmp 0x14d0e09
lea eax, [esi + 4]
mov ecx, dword [esi + 0x14]
add ecx, eax
cmp edi, ecx
jb 0x14d0e17
call fcn.014e11fd
add edi, 1
cmp esi, 0xfffffffe
je 0x14d0e44
test esi, esi
jne 0x14d0e28
call fcn.014e123c
cmp dword [esi + 0x18], 0x10
jb 0x14d0e33
mov eax, dword [esi + 4]
jmp 0x14d0e36
lea eax, [esi + 4]
mov edx, dword [esi + 0x14]
add edx, eax
cmp ebx, edx
jb 0x14d0e44
call fcn.014e11fd
movsx eax, byte [ebx]
imul ebp, ebp, 0x1000193
xor ebp, eax
jmp 0x14d0dd1
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
ret

Function at 0x14d7b80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1516979
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x153e8e8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.IFile.0
mov dword [esp + 0x1c], 2
call fcn.014d65f0
mov byte [esp + 0x1c], 1
lea ecx, [esi + 0x58]
call fcn.01442f80
xor ebx, ebx
mov byte [esp + 0x1c], bl
lea ecx, [esi + 0x30]
mov dword [esp + 0x10], ecx
mov byte [esp + 0x1c], bl
call fcn.014d15b0
mov dword [esp + 0x1c], 0xffffffff
cmp dword [esi + 0x2c], 0x10
jb 0x14d7bfb
mov eax, dword [esi + 0x18]
push eax
call fcn.014e1d06
add esp, 4
mov dword [esi + 0x2c], 0xf
mov dword [esi + 0x28], ebx
mov byte [esi + 0x18], bl
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret

Function at 0x14da0c0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [ecx + 4]
test eax, eax
jne 0x14da0cc
xor al, al
ret 8
mov edx, dword [esp + 4]
push 4
lea ecx, [esp + 0xc]
push ecx
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
sbb eax, eax
add eax, 1
ret 8

Function at 0x14da160
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [ecx + 4]
sub esp, 8
test eax, eax
jne 0x14da172
xor al, al
add esp, 8
ret 8
mov edx, dword [esp + 0x10]
mov ecx, 4
mov dword [esp], ecx
mov dword [esp + 4], ecx
lea ecx, [esp]
push ecx
push edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0xc]
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb eax, eax
add eax, 1
add esp, 8
ret 8
Function at 0x14e0ba0
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
test eax, eax
je 0x14e0be4
cmp dword [esi + 0x18], 1
jne 0x14e0be4
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x14e0bc4
pop esi
xor eax, eax
pop ebx
ret
cmp eax, 1
jbe 0x14e0bdd
push edi
lea edi, [eax - 1]
test edi, edi
jbe 0x14e0bdc
mov eax, dword [esi + 0x14]
push eax
call ebx
sub edi, 1
jne 0x14e0bd1
pop edi
mov dword [esi + 0x18], 0
pop esi
mov eax, 1
pop ebx
ret

Function at 0x14e0bf0
Capabilities:
Resume thread
Suspend thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
test eax, eax
je 0x14e0c39
cmp dword [esi + 0x18], 0
jne 0x14e0c39
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x14e0c17
mov dword [esi + 0x18], 0
xor eax, eax
pop esi
ret
test eax, eax
jbe 0x14e0c32
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
mov edi, eax
mov eax, dword [esi + 0x14]
push eax
call ebx
sub edi, 1
jne 0x14e0c25
pop edi
pop ebx
mov dword [esi + 0x18], 1
mov eax, 1
pop esi
ret

Function at 0x14e0c60
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
jne 0x14e0ca7
cmp byte [esi + 4], 0xb8
push edi
lea edi, [esi + 4]
je 0x14e0c78
call fcn.014aa1a0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
lea eax, [esi + 0x1c]
push eax
push 4
push ecx
push edi
push edx
push 0
call fcn.014e5b1e
add esp, 0x18
test eax, eax
mov dword [esi + 0x14], eax
pop edi
je 0x14e0cb0
mov ecx, dword [esp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, 1
pop esi
ret 0xc
xor eax, eax
pop esi
ret 0xc

Function at 0x14e0f40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1517ba3
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x153e8e8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.014e0ef0
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esi], vtable.CThreadControl.0
xor eax, eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
push 0xfa0
mov dword [esi + 0x30], eax
push edi
lea ecx, [esi + 0x44]
mov dword [esi + 0x2c], 0xffffffff
call fcn.014c5630
mov eax, 1
mov byte [esp + 0x18], al
mov dword [esi + 0x40], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x34], edi
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x14e18ea
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x153e8e8]
jne 0x14e18f4
repz ret
jmp fcn.014e76dc
Function at 0x14eb78b
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x153eb70]
je 0x14eb7a6
inc edi
cmp edi, 0x17
jb 0x14eb797
cmp edi, 0x17
jae 0x14eb926
push ebp
push 3
call fcn.014f9c96
cmp eax, 1
pop ecx
je 0x14eb8f2
push 3
call fcn.014f9c96
test eax, eax
pop ecx
jne 0x14eb7da
cmp dword [0x153e980], 1
je 0x14eb8f2
cmp ebx, 0xfc
je 0x14eb925
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x15a55a8
push ebp
call fcn.014e3271
add esp, 0xc
test eax, eax
je 0x14eb810
push esi
push esi
push esi
push esi
push esi
call fcn.014e5273
add esp, 0x14
push 0x104
mov esi, 0x15a55c1
push esi
push 0
mov byte [0x15a56c5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x14eb854
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.014e3271
add esp, 0xc
test eax, eax
je 0x14eb854
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.014e5273
add esp, 0x14
push esi
call fcn.014e5bd0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x14eb899
push esi
call fcn.014e5bd0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x15a58bc
push 0x1522540
sub ecx, eax
push ecx
push eax
call fcn.014ed9c5
add esp, 0x14
test eax, eax
je 0x14eb899
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.014e5273
add esp, 0x14
jmp 0x14eb89b
xor esi, esi
push 0x151fd28
push ebx
push ebp
call fcn.014f9c25
add esp, 0xc
test eax, eax
je 0x14eb8bb
push esi
push esi
push esi
push esi
push esi
call fcn.014e5273
add esp, 0x14
push dword [edi*8 + 0x153eb74]
push ebx
push ebp
call fcn.014f9c25
add esp, 0xc
test eax, eax
je 0x14eb8dd
push esi
push esi
push esi
push esi
push esi
call fcn.014e5273
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.014f9a68
add esp, 0xc
jmp 0x14eb925
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x14eb925
cmp ebp, 0xffffffff
je 0x14eb925
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x153eb74]
push dword [esi]
call fcn.014e5bd0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret