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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c180d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100ef0f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov eax, dword [ebx]
push 0
push 0
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebx]
mov edx, dword [eax + 4]
lea eax, [edx - 0x18]
mov dword [edx + ebx - 4], eax
mov eax, dword [ebx]
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov edi, dword [eax + 4]
add edi, ebx
mov ecx, edi
mov dword [edi + 0x30], 0
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0x201
mov dword [edi + 0x18], 6
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.1001f2e0
push 8
call fcn.10084d74
mov esi, eax
push 1
mov dword [ebp - 4], 1
call fcn.10082f07
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp + 8]
mov dword [edi + 0x30], esi
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], 0
mov ecx, dword [esi + 4]
mov dword [ebp - 0x18], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 2
push eax
call fcn.1000f150
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov eax, dword [edx + 0x20]
call eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
mov byte [ebp + 0xb], al
test ecx, ecx
je 0x10021830
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x10021830
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [edi + 0x38], 0
mov al, byte [ebp + 0xb]
mov byte [edi + 0x40], al
jne 0x1002184c
mov eax, dword [edi + 0xc]
mov ecx, edi
push 0
or eax, 4
push eax
call fcn.1001f2e0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10023a30
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x100ef0f8]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x64
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.1009c590
mov eax, dword fs:[0x2c]
add esp, 0xc
mov ecx, dword [0x100f29c4]
xorps xmm0, xmm0
movq qword [ebp - 0x10], xmm0
mov word [ebp - 8], 0
mov dword [ebp - 0x7c], 0
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1010108c]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x78], 0x2e72144d
cmp eax, dword [ecx + 4]
jle 0x10023ad1
push 0x1010108c
call fcn.10084984
add esp, 4
cmp dword [0x1010108c], 0xffffffff
jne 0x10023ad1
mov eax, dword [ebp - 0x78]
push 0x100c3860
mov dword [0x1010109c], eax
call fcn.10084d5f
push 0x1010108c
call fcn.1008493a
add esp, 8
mov al, byte [0x1010109f]
test al, al
je 0x10023af6
xor byte [0x1010109c], 0x2e
xor byte [0x1010109d], 0x2e
xor byte [0x1010109e], 0x2e
xor al, 0x2e
mov byte [0x1010109f], al
push 0xa
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x1010109c
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
xor ecx, ecx
cmp eax, 1
cmove ecx, dword [ebp - 0x7c]
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10084864
mov esp, ebp
pop ebp
ret

Function at 0x10023b40
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0xd], 0
je 0x10023b52
xor eax, eax
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0xe
jb 0x10023b48
mov eax, ecx
ret
Function at 0x100299e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20a00
call fcn.10085580
mov eax, dword [0x100ef0f8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor esi, esi
xor eax, eax
push esi
push esi
mov dword [ebp - 0x20a00], eax
call dword [sym.imp.USER32.dll_FindWindowA]
mov edi, eax
test edi, edi
je 0x10029adb
push ebx
lea ebx, [ebp - 0x209f4]
nop dword [eax]
push edi
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x10029aba
lea eax, [ebp - 0x209fc]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x209fc]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
jne 0x10029aba
mov eax, dword [ebp - 0x209fc]
mov dword [ebx], eax
lea eax, [ebx + 4]
push 0xff
push eax
push edi
mov dword [ebx - 4], edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xff
lea eax, [ebx + 0x103]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameA]
inc dword [ebp - 0x20a00]
add ebx, 0x208
mov ecx, dword [ebp - 0x209fc]
xor eax, eax
test esi, esi
jle 0x10029aae
nop word [eax + eax]
cmp ecx, dword [ebp + eax*4 - 0x400]
je 0x10029aba
inc eax
cmp eax, esi
jl 0x10029aa0
cmp eax, esi
jne 0x10029aba
mov dword [ebp + esi*4 - 0x400], ecx
inc esi
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x10029a20
pop ebx
cmp dword [ebp - 0x20a00], eax
je 0x10029adb
cmp esi, 1
jg 0x10029af3
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10084864
mov esp, ebp
pop ebp
ret
call fcn.10029880
int3

Function at 0x1002a4d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x100ef0f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x100f29c4]
mov dword [ebp - 0x10], 0x485c4b7e
mov dword [ebp - 0xc], 0x4f435c41
mov dword [ebp - 8], 0x2e4b4d40
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10101c0c]
cmp eax, dword [ecx + 4]
jle 0x1002a553
push 0x10101c0c
call fcn.10084984
add esp, 4
cmp dword [0x10101c0c], 0xffffffff
jne 0x1002a553
movq xmm0, qword [ebp - 0x10]
mov eax, dword [ebp - 8]
push 0x100c4900
movq qword [0x10101c10], xmm0
mov dword [0x10101c18], eax
call fcn.10084d5f
push 0x10101c0c
call fcn.1008493a
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, 0x10101c10
xor ecx, ebp
call fcn.10084864
mov esp, ebp
pop ebp
ret
Function at 0x1002a6c0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x100ef0f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
mov ebx, ecx
mov dword [ebp - 0x130], pe_nt_image_headers32
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x130]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x1002a747
mov edi, dword [sym.imp.KERNEL32.dll_Process32Next]
mov eax, ebx
lea ecx, [ebp - 0x10c]
nop
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x1002a730
test dl, dl
je 0x1002a72c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x1002a730
add ecx, 2
add eax, 2
test dl, dl
jne 0x1002a710
xor eax, eax
jmp 0x1002a735
sbb eax, eax
or eax, 1
test eax, eax
je 0x1002a764
lea eax, [ebp - 0x130]
push eax
push esi
call edi
test eax, eax
jne 0x1002a706
cmp esi, 0xffffffff
je 0x1002a753
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10084864
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x128]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
call fcn.1002a7a0
mov ecx, eax
call fcn.1001ae50
mov edx, eax
mov ecx, ebx
call fcn.1002d740
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1002b130
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x100ef0f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x100f29c4]
mov dword [ebp - 0x10], 0x5d41426d
mov dword [ebp - 0xc], 0x4047794b
mov dword [ebp - 8], 0x2e59414a
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10101d44]
cmp eax, dword [ecx + 4]
jle 0x1002b1b3
push 0x10101d44
call fcn.10084984
add esp, 4
cmp dword [0x10101d44], 0xffffffff
jne 0x1002b1b3
movq xmm0, qword [ebp - 0x10]
mov eax, dword [ebp - 8]
push 0x100c4b00
movq qword [0x10101d2c], xmm0
mov dword [0x10101d34], eax
call fcn.10084d5f
push 0x10101d44
call fcn.1008493a
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, 0x10101d2c
xor ecx, ebp
call fcn.10084864
mov esp, ebp
pop ebp
ret
Function at 0x1002c660
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x100ef0f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x100f29c4]
mov dword [ebp - 0x10], 0x404b5e61
mov dword [ebp - 0xc], 0x4d415c7e
mov dword [ebp - 8], 0x2e5d5d4b
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10101d94]
cmp eax, dword [ecx + 4]
jle 0x1002c6e3
push 0x10101d94
call fcn.10084984
add esp, 4
cmp dword [0x10101d94], 0xffffffff
jne 0x1002c6e3
movq xmm0, qword [ebp - 0x10]
mov eax, dword [ebp - 8]
push 0x100c4b60
movq qword [0x10101d58], xmm0
mov dword [0x10101d60], eax
call fcn.10084d5f
push 0x10101d94
call fcn.1008493a
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, 0x10101d58
xor ecx, ebp
call fcn.10084864
mov esp, ebp
pop ebp
ret

Function at 0x1002cb20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x100ef0f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x100f29c4]
mov dword [ebp - 0x14], 0xe62626a
mov dword [ebp - 0x10], 0x4b444067
mov dword [ebp - 0xc], 0x41475a4d
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10101fc4]
mov word [ebp - 8], 0x2e40
cmp eax, dword [ecx + 4]
jle 0x1002cbb3
push 0x10101fc4
call fcn.10084984
add esp, 4
cmp dword [0x10101fc4], 0xffffffff
jne 0x1002cbb3
mov eax, dword [ebp - 0xc]
movq xmm0, qword [ebp - 0x14]
mov dword [0x10101f68], eax
mov ax, word [ebp - 8]
push 0x100c4e50
movq qword [0x10101f60], xmm0
mov word [0x10101f6c], ax
call fcn.10084d5f
push 0x10101fc4
call fcn.1008493a
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, 0x10101f60
xor ecx, ebp
call fcn.10084864
mov esp, ebp
pop ebp
ret
Function at 0x1002e130
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
cmp dword [ebp + 8], 2
push 0
sete al
inc eax
push eax
push 2
call dword [sym.imp.WS2_32.dll_socket]
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100ef0f8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 0x10
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
jne 0x1002e1b2
or eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10084864
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x12]
mov dword [esi], eax
call dword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [ebp - 4]
mov word [esi + 4], ax
xor ecx, ebp
xor eax, eax
pop esi
call fcn.10084864
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100ef0f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x20]
push esi
mov esi, dword [ebp + 0xc]
xor edx, edx
push 0
push 0
test esi, esi
mov dword [ebp - 0x20], 0x10
mov dword [ebp - 0x18], 0
cmove eax, edx
mov dword [ebp - 0x1c], 0
push eax
test esi, esi
lea eax, [ebp - 0x14]
cmove eax, edx
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0x14]
push ecx
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_WSARecvFrom]
cmp eax, 0xffffffff
jne 0x1002e261
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
sub eax, 0x2733
je 0x1002e250
sub eax, 0x13
jne 0x1002e26a
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10084864
mov esp, ebp
pop ebp
ret
test dword [ebp - 0x18], 0x8000
je 0x1002e27c
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10084864
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x1002e292
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x12]
mov dword [esi], eax
call dword [sym.imp.WS2_32.dll_ntohs]
mov word [esi + 4], ax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
xor ecx, ebp
pop esi
call fcn.10084864
mov esp, ebp
pop ebp
ret
Function at 0x1002e2b0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100ef0f8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x18], 0
push edi
mov edi, dword [ebp + 0x10]
test esi, esi
je 0x1002e2f8
mov eax, 2
xorps xmm0, xmm0
mov word [ebp - 0x14], ax
movzx eax, word [esi + 4]
push eax
movlpd qword [ebp - 0xc], xmm0
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
push 0
push 0
mov eax, esi
neg eax
sbb eax, eax
xor ecx, ecx
and eax, 0x10
test esi, esi
push eax
lea eax, [ebp - 0x14]
cmove eax, ecx
push eax
push ecx
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x14]
push edi
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_WSASendTo]
pop edi
pop esi
cmp eax, 0xffffffff
jne 0x1002e347
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
sub eax, 0x2733
neg eax
sbb eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10084864
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
xor ecx, ebp
call fcn.10084864
mov esp, ebp
pop ebp
ret

Function at 0x1002e450
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x100ef0f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
mov eax, 0x10624dd3
mul ecx
push esi
mov esi, dword [ebp + 0xc]
shr edx, 6
imul eax, edx, 0x3e8
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x214], edx
mov dword [ebp - 0x20c], 0
sub ecx, eax
mov dword [ebp - 0x108], 0
imul eax, ecx, 0x3e8
mov dword [ebp - 0x210], eax
mov eax, dword [esi]
test al, 1
je 0x1002e4bc
mov dword [ebp - 0x104], edi
mov dword [ebp - 0x108], 1
test al, 2
je 0x1002e4d0
mov dword [ebp - 0x208], edi
mov dword [ebp - 0x20c], 1
lea eax, [ebp - 0x214]
push eax
push 0
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [edi + 1]
push eax
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jns 0x1002e508
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10084864
mov esp, ebp
pop ebp
ret
mov dword [esi], 0
test eax, eax
je 0x1002e53a
lea eax, [ebp - 0x108]
push eax
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x1002e526
or dword [esi], 1
lea eax, [ebp - 0x20c]
push eax
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x1002e53a
or dword [esi], 2
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.10084864
mov esp, ebp
pop ebp
ret
Function at 0x10046a00
Capabilities:
Write file on windows

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp dword [edi + 0x600], 0
je 0x10046a44
push esi
push 1
push edi
call fcn.10036f90
push dword [edi + 0x594]
mov eax, dword [edi + 0x600]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push edi
call eax
push 0
push edi
mov esi, eax
call fcn.10036f90
add esp, 0x24
mov eax, esi
pop esi
pop edi
ret
mov eax, dword [esp + 0xc]
cmp eax, 2
ja 0x10046a7d
push dword [edi + 0x590]
lea eax, [eax + eax*2]
push 1
add eax, 0x100c7cb8
push 2
push eax
call fcn.100a31ac
push dword [edi + 0x590]
push 1
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.100a31ac
add esp, 0x20
xor eax, eax
pop edi
ret
Function at 0x10049a60
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp byte [0x100f22bc], 0
push esi
push edi
mov edi, dword [esp + 0x20]
je 0x10049ad5
test edi, edi
je 0x10049ad5
mov eax, dword [0x100f22c0]
test eax, eax
jne 0x10049acf
mov esi, dword [esp + 0x1c]
push str.recv
push esi
push edi
push str.LIMIT__s:_d__s_reached_memlimit_n
call fcn.10049860
add esp, 0x10
push str.recv
push esi
push edi
push str.LIMIT__s:_d__s_reached_memlimit_n
push 2
call fcn.100a2ec3
add esp, 4
push eax
call fcn.100569c0
push dword [0x100f22b8]
call fcn.100a2c57
add esp, 0x18
call fcn.100a89ed
pop edi
pop esi
mov dword [eax], 0xc
or eax, 0xffffffff
ret
dec eax
mov dword [0x100f22c0], eax
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x18]
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
test edi, edi
je 0x10049b08
push esi
push dword [esp + 0x18]
push dword [esp + 0x24]
push edi
push str.RECV__s:_d_recv__lu____ld_n
call fcn.10049860
add esp, 0x14
pop edi
mov eax, esi
pop esi
ret

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

Disassembly:
cmp byte [0x100f22bc], 0
push esi
push edi
mov edi, dword [esp + 0x20]
je 0x10049bb5
test edi, edi
je 0x10049bb5
mov eax, dword [0x100f22c0]
test eax, eax
jne 0x10049baf
mov esi, dword [esp + 0x1c]
push str.send
push esi
push edi
push str.LIMIT__s:_d__s_reached_memlimit_n
call fcn.10049860
add esp, 0x10
push str.send
push esi
push edi
push str.LIMIT__s:_d__s_reached_memlimit_n
push 2
call fcn.100a2ec3
add esp, 4
push eax
call fcn.100569c0
push dword [0x100f22b8]
call fcn.100a2c57
add esp, 0x18
call fcn.100a89ed
pop edi
pop esi
mov dword [eax], 0xc
or eax, 0xffffffff
ret
dec eax
mov dword [0x100f22c0], eax
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x18]
call dword [sym.imp.WS2_32.dll_send]
mov esi, eax
test edi, edi
je 0x10049be8
push esi
push dword [esp + 0x18]
push dword [esp + 0x24]
push edi
push str.SEND__s:_d_send__lu____ld_n
call fcn.10049860
add esp, 0x14
pop edi
mov eax, esi
pop esi
ret
Function at 0x1005cd20
Capabilities:
Query environment variable

Disassembly:
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push str.D:_vcpkg_master_buildtreescurl_srcda0230d937_b280319101.cleanlibgetenv.c
push 0x2d
lea esi, [ebp + 1]
push esi
push ebp
call fcn.10049990
mov edi, eax
add esp, 0x10
test edi, edi
je 0x1005cd7d
push esi
push edi
push dword [esp + 0x1c]
mov ebp, edi
mov ebx, esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, eax
test esi, esi
je 0x1005cd9b
cmp esi, ebx
je 0x1005cd9b
cmp esi, 0x8000
ja 0x1005cd9b
cmp esi, ebx
jb 0x1005cd94
push str.D:_vcpkg_master_buildtreescurl_srcda0230d937_b280319101.cleanlibgetenv.c
push 0x2d
push esi
push edi
call fcn.10049990
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x1005cd40
push str.D:_vcpkg_master_buildtreescurl_srcda0230d937_b280319101.cleanlibgetenv.c
push 0x2f
push ebp
call fcn.10049820
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
push str.D:_vcpkg_master_buildtreescurl_srcda0230d937_b280319101.cleanlibgetenv.c
push 0x3a
push edi
call fcn.10049820
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x10086ab7
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x100b3215
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100b308b

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e072
nop
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0xad179a8
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x42e060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x32827854
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x401390
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
sub esp, 8
cmp byte [esp + 0x14], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push ebp
push esi
push edi
je 0x401448
lea eax, [esp + 0x24]
xor ebp, ebp
push eax
mov dword [esp + 0x28], ebp
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [esp + 0x24], 3
mov esi, eax
jl 0x401428
mov ecx, dword [esi + 4]
push ecx
push str._stdio
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x401428
mov edx, dword [esi + 8]
push ebp
push ebp
push 4
push ebp
push ebp
push 0xc0000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x401400
push 5
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edi, dword [sym.imp.KERNEL32.dll_SetStdHandle]
push esi
push 0xfffffffffffffff6
call edi
test eax, eax
jne 0x401417
push 5
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
push 0xfffffffffffffff5
call edi
test eax, eax
jne 0x40144a
push 5
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str.AttachConsole
push str.kernel32.dll
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebp
je 0x40144a
push 0xffffffffffffffff
call eax
add esp, 4
jmp 0x40144a
xor ebp, ebp
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x14]
push ecx
push edx
push eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x34], ebp
call fcn.004010a0
mov esi, eax
add esp, 0x10
cmp esi, ebp
mov dword [esp + 0x14], esi
je 0x4014fe
mov edi, dword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
mov ebx, dword [section..data]
lea ecx, [esp + 0x24]
push ecx
push ebp
push ebp
push str..air
push 2
push ebp
mov dword [esp + 0x3c], ebp
call edi
cmp eax, 1
jne 0x4014eb
mov edx, dword [esp + 0x24]
lea eax, [edx + edx]
push eax
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
lea ecx, [esp + 0x24]
push ecx
mov esi, eax
push esi
push 0
push str..air
push 2
push 0
call edi
test eax, eax
jne 0x4014d9
mov ebx, dword [str.This_application_requires_a_version_of_nAdobe_AIR_which_is_no_longer_supported._nPlease_contact_the_application_nauthor_for_an_updated_version.]
push esi
push 0
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [esp + 0x14]
xor ebp, ebp
push 0x30
push str.Adobe_AIR
push ebx
push ebp
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, esi
jmp 0x40150b
mov edx, dword [esp + 0x24]
push edx
push ebp
call ebx
push eax
call dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x401500
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
mov dword [edi], 0
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x401571
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x40153f
cmp eax, 2
jne 0x40155b
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x40156b
test ecx, ecx
je 0x401566
test cl, 1
jne 0x40155b
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x40156b
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
mov dword [edi], ecx
xor eax, eax
pop edi
pop esi
pop ebp
ret 0xc