joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1013c9e0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1018d1d8
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov eax, dword [ebp + 0xc]
push esi
cmp dword [eax + 0x10], 0
je 0x1013ca7f
cmp dword [eax + 0x14], 0x10
xorps xmm0, xmm0
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x48], 4
movups xmmword [ebp - 0x38], xmm0
jb 0x1013ca1f
mov eax, dword [eax]
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x48]
push ecx
push 0
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x1013ca7f
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
mov eax, dword [eax + 0x18]
push dword [eax + 0x18]
add eax, 8
push eax
call fcn.1013c2a0
push dword [ebp + 0xc]
mov dword [ebp - 4], 0
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
call fcn.1013c240
lea ecx, [ebp - 0x28]
call fcn.1013c300
mov eax, dword [ebp + 8]
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
call fcn.1013c2d0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x1013d820
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x20
mov eax, dword [esp + 0x2c]
xorps xmm0, xmm0
push esi
mov esi, dword [esp + 0x2c]
movups xmmword [esp + 4], xmm0
mov dword [esp + 4], eax
mov eax, esi
movups xmmword [esp + 0x14], xmm0
cmp dword [esi + 0x14], 0x10
jb 0x1013d847
mov eax, dword [esi]
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 8]
push ecx
push 0
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x1013d87e
push dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
call fcn.1013d480
push dword [esp + 0x30]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov eax, dword [esp + 0x28]
pop esi
add esp, 0x20
ret
push esi
push eax
call fcn.1013d730
int3

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

Disassembly:
mov eax, dword [ecx + 8]
sub esp, 0xb0
cmp eax, 0xffffffff
je 0x1013dfc4
push esi
lea ecx, [esp + 4]
mov dword [esp + 4], 0x80
push ecx
lea ecx, [esp + 0x38]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x1013dfa2
push dword [esp + 4]
mov ecx, dword [esp + 0xbc]
lea eax, [esp + 0x38]
push eax
call fcn.1013b2b0
mov eax, dword [esp + 0xb8]
pop esi
add esp, 0xb0
ret 4
call fcn.1013ebd0
mov ecx, dword [esp + 0xb8]
call fcn.1013b390
mov eax, dword [esp + 0xb8]
pop esi
add esp, 0xb0
ret 4
push 0
lea ecx, [esp + 8]
call fcn.1013a190
push 0x101f8b18
lea eax, [esp + 8]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x1013e200
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
lea eax, [esp]
mov dword [esp], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x1013e236
mov eax, dword [esp + 4]
cmp eax, 6
jb 0x1013e236
jne 0x1013e22d
cmp dword [esp + 8], 2
jb 0x1013e236
xor al, al
add esp, 0x94
ret
mov al, 1
add esp, 0x94
ret
Function at 0x1013e260
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1018cba8
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [ebx + 8], 0xffffffff
jne 0x1013e29b
mov esi, dword [ebx]
mov ecx, edi
call fcn.1013b5e0
push eax
mov ecx, ebx
call dword [esi + 0x90]
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, edi
call fcn.1013b950
push eax
mov ecx, edi
call fcn.1013b570
push eax
push dword [ebx + 8]
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x1013e31d
call esi
cmp eax, 0x2714
je 0x1013e2a1
call esi
mov esi, eax
mov ecx, edi
lea eax, [ebp - 0x24]
push eax
call fcn.1013bab0
push eax
push esi
mov dword [ebp - 4], 0
call fcn.1013e600
mov edx, dword [ebp - 0x10]
add esp, 8
cmp edx, 0x10
jb 0x1013e31d
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1013e313
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1013e313
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10161214
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x1013e330
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018d408
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], edi
cmp dword [edi + 8], 0xffffffff
jne 0x1013e371
mov esi, dword [edi]
mov ecx, ebx
call fcn.1013b5e0
push eax
mov ecx, edi
call dword [esi + 0x90]
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0x84]
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.1013b950
mov ecx, ebx
mov esi, eax
call fcn.1013b570
push esi
push eax
push dword [edi + 8]
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x1013e406
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp esi, 0x2734
je 0x1013e3e0
cmp esi, 0x2733
je 0x1013e3e0
lea eax, [ebp - 0x2c]
mov ecx, ebx
push eax
call fcn.1013bab0
push eax
push esi
mov byte [ebp - 4], 1
call fcn.1013e600
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.10005f00
mov eax, dword [edi]
mov ecx, edi
push 7
push dword [ebp + 0xc]
mov eax, dword [eax + 0x50]
call eax
test al, al
je 0x1013e442
mov ecx, edi
call fcn.1013f730
test eax, eax
je 0x1013e406
push eax
call fcn.1013e570
add esp, 4
mov eax, dword [edi]
mov ecx, edi
push 1
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x84]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.connect_timed_out
lea ecx, [ebp - 0x44]
call fcn.10011b80
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 2
push eax
mov ecx, ebx
call fcn.1013bab0
push 0
push eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x88]
call fcn.10141310
push 0x101f9448
lea eax, [ebp - 0x88]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1013ef30
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1018d540
push eax
mov dword fs:[0], esp
sub esp, 0x360
push ebx
push esi
mov esi, dword [ecx + 8]
push edi
cmp esi, 0xffffffff
je 0x1013f0e2
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x36c], 0
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x164], 0
test al, 1
je 0x1013ef92
mov dword [ebp - 0x368], esi
mov dword [ebp - 0x36c], 1
test al, 2
je 0x1013efa6
mov dword [ebp - 0x264], esi
mov dword [ebp - 0x268], 1
test al, 4
je 0x1013efba
mov dword [ebp - 0x160], esi
mov dword [ebp - 0x164], 1
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.101465b0
lea eax, [esi + 1]
xor ebx, ebx
mov dword [ebp + 0xc], eax
nop dword [eax]
push dword [0x1019455c]
mov esi, dword [ebp - 0x10]
push dword [0x10194558]
mov edi, dword [ebp - 0x14]
push esi
push edi
call fcn.10161c30
push 0
push 0xf4240
push esi
push edi
mov dword [ebp - 0x34], eax
call fcn.10161c30
imul eax, eax, 0xf4240
lea ecx, [ebp - 0x2c]
sub edi, eax
mov dword [ebp - 0x30], edi
call fcn.101465d0
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x36c]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.WS2_32.dll_select]
mov esi, eax
test esi, esi
jns 0x1013f0a2
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp ebx, 0x2714
jne 0x1013f0a2
lea ecx, [ebp - 0x24]
call fcn.101465d0
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x20]
sbb eax, dword [ebp - 0x28]
push eax
push ecx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.100fc620
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x10]
jg 0x1013f08e
jl 0x1013f080
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jae 0x1013f08e
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.101533c0
jmp 0x1013f09a
push 0
push 0
lea ecx, [ebp - 0x14]
call fcn.100fc620
lea ecx, [ebp - 0x24]
call fcn.100365f0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.100365f0
test esi, esi
jns 0x1013f0cc
cmp ebx, 0x2714
je 0x1013efd0
push ebx
call fcn.1013e570
add esp, 4
test esi, esi
mov ecx, dword [ebp - 0xc]
setg al
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push 0
lea ecx, [ebp - 0x60]
call fcn.1013a190
push 0x101f8b18
lea eax, [ebp - 0x60]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1013f100
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x2c
push esi
mov esi, ecx
cmp byte [esi + 0x21], 0
je 0x1013f12b
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0x10]
or eax, dword [ecx + 4]
je 0x1013f12b
mov eax, dword [esi]
push 1
push ecx
mov ecx, esi
mov eax, dword [eax + 0x50]
call eax
test al, al
je 0x1013f1bc
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
push ebp
mov ebp, dword [esp + 0x44]
push edi
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x1013f1a2
push ebp
push dword [esp + 0x48]
push dword [esp + 0x48]
push eax
call dword [sym.imp.WS2_32.dll_recv]
cmp byte [esi + 0x20], 0
mov edi, eax
je 0x1013f165
test edi, edi
jns 0x1013f196
call ebx
cmp eax, 0x2714
je 0x1013f138
test edi, edi
jns 0x1013f196
call ebx
cmp eax, 0x2733
jne 0x1013f17a
cmp byte [esi + 0x20], 0
jne 0x1013f1d6
jmp 0x1013f196
cmp eax, 0x274c
je 0x1013f1d6
push eax
call fcn.1013e570
add esp, 4
mov eax, edi
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x2c
ret 0xc
mov eax, edi
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x2c
ret 0xc
push 0
lea ecx, [esp + 0x14]
call fcn.1013a190
push 0x101f8b18
lea eax, [esp + 0x14]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push 0
lea ecx, [esp + 8]
call fcn.10141340
push 0x101f9448
lea eax, [esp + 8]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push eax
lea ecx, [esp + 0x14]
call fcn.10141340
push 0x101f9448
lea eax, [esp + 0x14]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1013f1f0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1018d558
push eax
mov dword fs:[0], esp
sub esp, 0xdc
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x21], 0
je 0x1013f238
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0x10]
or eax, dword [ecx + 4]
je 0x1013f238
mov eax, dword [esi]
push 1
push ecx
mov ecx, esi
mov eax, dword [eax + 0x50]
call eax
test al, al
je 0x1013f30a
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x10], 0x80
nop word [eax + eax]
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x1013f2f2
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0xe8]
push ecx
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp byte [esi + 0x20], 0
mov edi, eax
je 0x1013f28c
test edi, edi
jns 0x1013f290
call ebx
cmp eax, 0x2714
je 0x1013f250
test edi, edi
js 0x1013f2bc
push dword [ebp - 0x10]
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp + 0x14]
call fcn.1013b2b0
mov ecx, dword [ebp + 0x10]
push eax
mov dword [ebp - 4], 0
call fcn.1013b450
lea ecx, [ebp + 0x14]
call fcn.10009230
jmp 0x1013f2dd
call ebx
cmp eax, 0x2733
jne 0x1013f2cd
cmp byte [esi + 0x20], 0
jne 0x1013f322
jmp 0x1013f2dd
cmp eax, 0x274c
je 0x1013f322
push eax
call fcn.1013e570
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
push 0
lea ecx, [ebp - 0x3c]
call fcn.1013a190
push 0x101f8b18
lea eax, [ebp - 0x3c]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push 0
lea ecx, [ebp - 0x3c]
call fcn.10141340
push 0x101f9448
lea eax, [ebp - 0x3c]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push eax
lea ecx, [ebp - 0x68]
call fcn.10141340
push 0x101f9448
lea eax, [ebp - 0x68]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x1013f340
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x2c
push esi
mov esi, ecx
cmp byte [esi + 0x21], 0
je 0x1013f367
mov eax, dword [esi + 0x18]
lea ecx, [esi + 0x18]
or eax, dword [ecx + 4]
je 0x1013f367
mov eax, dword [esi]
push 2
push ecx
mov ecx, esi
mov eax, dword [eax + 0x50]
call eax
test al, al
je 0x1013f3d0
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
push ebp
mov ebp, dword [esp + 0x44]
push edi
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x1013f3b6
push ebp
push dword [esp + 0x48]
push dword [esp + 0x48]
push eax
call dword [sym.imp.WS2_32.dll_send]
cmp byte [esi + 0x20], 0
mov edi, eax
je 0x1013f3a1
test edi, edi
jns 0x1013f3aa
call ebx
cmp eax, 0x2714
je 0x1013f374
test edi, edi
jns 0x1013f3aa
call fcn.1013ebd0
mov eax, edi
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x2c
ret 0xc
push 0
lea ecx, [esp + 0x14]
call fcn.1013a190
push 0x101f8b18
lea eax, [esp + 0x14]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push 0
lea ecx, [esp + 8]
call fcn.10141340
push 0x101f9448
lea eax, [esp + 8]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1013f3f0
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x2c
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
push ebp
mov ebp, dword [esp + 0x40]
push esi
push edi
mov edi, ecx
cmp dword [edi + 8], 0xffffffff
je 0x1013f458
mov ecx, ebp
call fcn.1013b950
push eax
mov ecx, ebp
call fcn.1013b570
push eax
push dword [esp + 0x54]
push dword [esp + 0x50]
push dword [esp + 0x50]
push dword [edi + 8]
call dword [sym.imp.WS2_32.dll_sendto]
cmp byte [edi + 0x20], 0
mov esi, eax
je 0x1013f443
test esi, esi
jns 0x1013f44c
call ebx
cmp eax, 0x2714
je 0x1013f403
test esi, esi
jns 0x1013f44c
call fcn.1013ebd0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x10
push 0
lea ecx, [esp + 0x14]
call fcn.1013a190
push 0x101f8b18
lea eax, [esp + 0x14]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x1013f480
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [ecx + 8]
sub esp, 0x2c
cmp eax, 0xffffffff
je 0x1013f4aa
push 1
push 1
lea ecx, [esp + 0x38]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x1013f4a4
call fcn.1013ebd0
add esp, 0x2c
ret 4
push 0
lea ecx, [esp + 4]
call fcn.1013a190
push 0x101f8b18
lea eax, [esp + 4]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x1013f520
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword [ecx + 8]
sub esp, 0x2c
cmp eax, 0xffffffff
je 0x1013f552
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x1013f54c
call fcn.1013ebd0
add esp, 0x2c
ret 0x10
push 0
lea ecx, [esp + 4]
call fcn.1013a190
push 0x101f8b18
lea eax, [esp + 4]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x10143610
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018d9f9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.101587d0
lea ecx, [edi + 4]
mov dword [ebp - 4], 0
call fcn.10152c20
push dword [ebp + 8]
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 1
mov dword [edi], vtable.Poco::Task.0
mov dword [edi + 4], vtable.Poco::Task.1.0
call fcn.10011bc0
push 0
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 2
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.10158810
lea ecx, [edi + 0x34]
mov byte [ebp - 4], 3
call fcn.10143a20
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x1014a600
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1018de58
push eax
mov dword fs:[0], esp
sub esp, 0x84
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x10b
ja 0x1014a7d8
je case.0x1014a64e.123
lea eax, [esi - 2]
cmp eax, 0xcc
ja case.0x1014a64e.4
movzx eax, byte [eax + 0x1014a874]
jmp dword [eax*4 + 0x1014a838]
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.10140bd0
push 0x101f9d80
lea eax, [ebp - 0x38]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.10140ab0
push 0x101f9e58
lea eax, [ebp - 0x38]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.10140b80
push 0x101f9d38
lea eax, [ebp - 0x38]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.101407a0
push 0x101f9ea0
lea eax, [ebp - 0x38]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.10140870
push 0x101f9f78
lea eax, [ebp - 0x38]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.101413b0
push 0x101f9ee8
lea eax, [ebp - 0x38]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.10141150
push 0x101f9f30
lea eax, [ebp - 0x38]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push str.sharing_violation
lea ecx, [ebp - 0x24]
call fcn.10011b80
mov dword [ebp - 4], 0
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x64]
call fcn.10140b00
push 0x101f9cf4
lea eax, [ebp - 0x64]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push str.lock_violation
lea ecx, [ebp - 0x24]
call fcn.10011b80
mov dword [ebp - 4], 1
jmp 0x1014a71f
push str.EOF_reached
lea ecx, [ebp - 0x24]
call fcn.10011b80
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x64]
call fcn.10141120
push 0x101f9f30
jmp 0x1014a734
push str.disk_is_full
lea ecx, [ebp - 0x24]
call fcn.10011b80
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 3
push eax
lea ecx, [ebp - 0x64]
call fcn.10141380
push 0x101f9ee8
jmp 0x1014a734
push str.negative_seek
lea ecx, [ebp - 0x24]
call fcn.10011b80
mov dword [ebp - 4], 4
jmp 0x1014a71f
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x64]
call fcn.10141060
push 0x101f9cac
jmp 0x1014a734
cmp esi, 0x781
je case.0x1014a64e.3
cmp esi, 0x1779
je 0x1014a807
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x90]
call fcn.10140b30
push 0x101f9cf4
lea eax, [ebp - 0x90]
jmp 0x1014a737
push 0x1779
push dword [ebp + 8]
lea ecx, [ebp - 0x64]
call fcn.10140c20
push 0x101f9e10
jmp 0x1014a734
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x64]
call fcn.10141010
push 0x101f9dc8
jmp 0x1014a734
Function at 0x1014ab50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1018d810
push eax
mov dword fs:[0], esp
sub esp, 0x88
push esi
mov esi, ecx
lea eax, [esi + 0xc]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x14]
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, eax
mov dword [esi + 8], ecx
test ecx, ecx
je 0x1014abb5
mov eax, dword [esi + 0x10]
pop esi
test eax, eax
je 0x1014aba5
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
je 0x1014abe5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push str.cannot_create_thread
lea ecx, [ebp - 0x24]
call fcn.10011b80
push 0
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x68]
call fcn.101412c0
push 0x101fbc88
lea eax, [ebp - 0x68]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push str.cannot_set_thread_priority
lea ecx, [ebp - 0x3c]
call fcn.10011b80
push 0
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x94]
call fcn.101412c0
push 0x101fbc88
lea eax, [ebp - 0x94]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x403590
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 8], 0
push ebx
push esi
je 0x40360f
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x40360f
xor eax, eax
xor ebx, ebx
mov word [esi], ax
lea eax, [ebp - 8]
push eax
push 1
push ebx
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40360f
mov eax, dword [ebp + 0xc]
push edi
lea edi, [eax + eax]
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push esi
push ebx
push ebx
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4035f4
mov eax, dword [ebp - 4]
shr eax, 1
mov dword [ebp - 4], eax
cmp eax, dword [ebp + 0xc]
jae 0x403606
xor ecx, ecx
mov word [esi + eax*2], cx
mov bl, 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov word [edi + esi - 2], ax
jmp 0x4035f2
xor al, al
jmp 0x403600

Function at 0x404a10
Capabilities:
Find taskbar
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, dword [ebp + 8]
mov esi, eax
cmp ebx, esi
jne 0x43c7a2
xor eax, eax
inc eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push edi
xor edi, edi
test esi, esi
jne 0x43c7b7
push edi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
push ebx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x43c7cb
push 9
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
mov dword [ebp - 0xc], edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x43c8a6
push edi
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call esi
mov edi, eax
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push ebx
mov dword [ebp + 8], eax
call esi
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
call esi
push 1
push edi
push dword [ebp + 8]
call esi
push 1
push dword [ebp - 4]
push edi
call esi
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x43c882
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push eax
push eax
push 0x12
call edi
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push eax
push 0x12
call esi
push 0
push 2
push 0
push 0x12
call edi
push eax
push 0x12
call esi
xor eax, eax
push eax
push eax
push eax
push 0x12
call edi
push eax
push 0x12
call esi
push 0
push 2
push 0
push 0x12
call edi
push eax
push 0x12
call esi
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, dword [ebp - 8]
test eax, eax
je 0x43c887
push 4
jmp 0x43c884
push 3
pop ebx
jmp 0x43c88a
mov ebx, dword [ebp - 0xc]
push 0
push dword [ebp - 4]
push dword [ebp + 8]
call esi
push 0
push edi
push dword [ebp + 8]
call esi
push 0
push dword [ebp - 4]
push edi
call esi
jmp 0x43c8a9
push 2
pop ebx
mov eax, ebx
pop edi
jmp 0x404a2e