joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419400
Capabilities:
Create tcp socket
Create udp socket
Initialize winsock library
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a4
mov eax, dword [0x64786c]
xor eax, esp
mov dword [esp + 0x1a0], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
mov dword [esp + 8], eax
mov eax, dword [edx + 0xc]
push edi
call eax
mov edx, dword [esi]
mov ebx, eax
mov eax, dword [edx + 0x40]
mov ecx, esi
call eax
mov edi, dword [ebp + 8]
mov dword [esi + 0x48], edi
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi + 0x44], eax
cmp eax, 0xffffffff
jne 0x41948d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x276d
jne 0x419474
lea ecx, [esp + 0x18]
push ecx
push 0x101
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x419441
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1a0]
xor ecx, esp
call fcn.0059709c
mov esp, ebp
pop ebp
ret 0xc
test edi, edi
jle 0x4194a9
lea edx, [esp + 0x14]
push edx
push 0x8004667e
push eax
mov dword [esp + 0x20], 1
call sub.WS2_32.dll_ioctlsocket
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x10], 0x210
jne 0x4194f6
cmp dword [ebx + 0x88], 0
je 0x4194f6
cmp byte [ebx + 0x8c], 0
je 0x4194f6
mov eax, ebx
mov ebx, esi
call fcn.004192e0
test eax, eax
jne 0x41950e
mov edx, dword [esi]
mov eax, dword [edx + 0x40]
mov ecx, esi
call eax
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1a0]
xor ecx, esp
call fcn.0059709c
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebx + 0x84]
mov ebx, dword [ebx + 0x80]
push ecx
mov ecx, edi
mov edi, esi
call fcn.00419130
jmp 0x4194d0
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4195dc
mov edx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 0x44]
push edx
push edi
push 0
push ecx
call eax
add esp, 0x14
test eax, eax
je 0x4195dc
cmp dword [esp + 0x10], 0
je 0x419571
cmp dword [esi + 0x3c], 0
je 0x4195bc
mov edx, dword [esi + 0xc]
xor eax, eax
mov dword [edx + 8], 5
cmp dword [esp + 0x10], eax
sete al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1a0]
xor ecx, esp
call fcn.0059709c
mov esp, ebp
pop ebp
ret 0xc
test edi, edi
jle 0x4195bc
mov eax, dword [esi + 0x44]
cmp eax, 0xffffffff
jne 0x4195a4
xor eax, eax
cmp dword [esp + 0x10], eax
mov dword [esi + 8], 6
sete al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1a0]
xor ecx, esp
call fcn.0059709c
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [esp + 0xc]
push ecx
push 0x8004667e
push eax
mov dword [esp + 0x18], 0
call sub.WS2_32.dll_ioctlsocket
xor eax, eax
cmp dword [esp + 0x10], eax
sete al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1a0]
xor ecx, esp
call fcn.0059709c
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esp + 0x1ac]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0059709c
mov esp, ebp
pop ebp
ret 0xc
Function at 0x419600
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
or eax, 0xffffffff
cmp dword [edi + 0x44], eax
jne 0x419624
mov dword [edi + 8], 6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ebx, dword [ebp + 0xc]
xor esi, esi
test ebx, ebx
jle 0x419690
mov ecx, dword [ebp + 8]
push 0
mov eax, ebx
sub eax, esi
push eax
mov eax, dword [edi + 0x44]
lea edx, [esi + ecx]
push edx
push eax
call sub.WS2_32.dll_send
test eax, eax
je 0x41969b
jge 0x419684
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x4196ae
mov eax, dword [edi + 0x48]
test eax, eax
jne 0x419662
mov eax, 0x4e20
mov ecx, eax
mov eax, dword [edi + 0x44]
call fcn.00407c20
cmp eax, 1
je 0x41968c
mov dword [edi + 8], 7
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
add esi, eax
test byte [ebp + 0x10], 1
je 0x4196c1
cmp ebx, esi
jg 0x41962d
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [edi + 8], 6
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [edi + 8], 2
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
or eax, 0xffffffff
cmp dword [edi + 0x44], eax
jne 0x4196f4
mov dword [edi + 8], 6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ebx, dword [ebp + 0xc]
xor esi, esi
test ebx, ebx
jle 0x419760
mov ecx, dword [ebp + 8]
push 0
mov eax, ebx
sub eax, esi
push eax
mov eax, dword [edi + 0x44]
lea edx, [esi + ecx]
push edx
push eax
call sub.WS2_32.dll_recv
test eax, eax
je 0x41976b
jge 0x419754
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x41977e
mov eax, dword [edi + 0x48]
test eax, eax
jne 0x419732
mov eax, 0x4e20
mov ecx, eax
mov eax, dword [edi + 0x44]
call fcn.00407b90
cmp eax, 1
je 0x41975c
mov dword [edi + 8], 7
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
add esi, eax
test byte [ebp + 0x10], 1
je 0x419791
cmp ebx, esi
jg 0x4196fd
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [edi + 8], 6
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [edi + 8], 2
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41be30
Capabilities:
Capture microphone audio

Disassembly:
sub esp, 0x1c
push esi
mov esi, ecx
cmp dword [esi - 0x24], 0x7e
jne 0x41be4c
add esi, 0xffffffd8
push esi
call fcn.0041bec0
xor eax, eax
pop esi
add esp, 0x1c
ret
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
push 0
lea eax, [esp + 0x14]
push eax
call ebx
test eax, eax
je 0x41bead
push edi
mov edi, dword [sym.imp.WINMM.dll_waveInAddBuffer]
jmp 0x41be70
cmp dword [esp + 0x10], 0x3c0
jne 0x41be9b
cmp dword [esi - 4], 0
je 0x41be8e
mov ecx, dword [esi - 4]
mov edx, dword [ecx]
mov eax, dword [esp + 0x18]
mov edx, dword [edx]
push eax
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x10]
push 0x20
push eax
push ecx
call edi
push 0
push 0
push 0
lea edx, [esp + 0x18]
push edx
call ebx
test eax, eax
jne 0x41be70
pop edi
pop ebx
xor eax, eax
pop esi
add esp, 0x1c
ret
Function at 0x41c480
Capabilities:
Create thread

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov esi, eax
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ebx, ecx
mov ecx, edi
call edx
mov word [esp + 0xe], si
shl esi, 4
mov ecx, 0x10
shr esi, 3
mov word [esp + 0x1a], cx
movzx ecx, si
mov edx, ecx
imul edx, ebp
mov eax, 1
mov word [esp + 0xc], ax
xor eax, eax
mov word [esp + 0x1c], ax
mov dword [esp + 0x14], edx
mov eax, 0x51eb851f
mul ebp
shr edx, 5
mov dword [esp + 0x10], ebp
mov ebp, edx
mov dword [edi + 4], ebx
imul ebp, ecx
cmp dword [edi + 0x2c], 0
mov word [esp + 0x18], si
jne 0x41c525
mov edx, dword [edi + 0x34]
lea ecx, [edi + 0x30]
push ecx
push 0x10000
push edx
push 0x401080
push 0x8000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x2c], eax
test eax, eax
je 0x41c519
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor eax, eax
cmp dword [edi + 0x2c], eax
setne al
test eax, eax
jne 0x41c533
pop esi
pop ebp
mov eax, 0xfffffffb
pop ebx
add esp, 0x14
ret 4
mov ecx, dword [edi + 0x30]
push 0
push edi
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [edi + 0x38]
push ebx
push eax
call dword [sym.imp.WINMM.dll_waveOutOpen]
mov esi, eax
test esi, esi
je 0x41c57e
cmp dword [0x653730], 1
jg 0x41c573
push esi
push str.Failed_to_open_playback_channel._err_d
push 0x1d8
push str.....media_tavAudioChannel.cpp
push 1
call fcn.00401320
add esp, 0x14
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
xor ebx, ebx
lea esi, [edi + 0xc]
lea eax, [ebp + 0x20]
push eax
call fcn.005974ee
mov dword [esi], eax
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov eax, dword [esi]
mov dword [eax + 4], ebp
mov eax, dword [esi]
lea edx, [eax + 0x20]
mov dword [eax], edx
mov eax, dword [esi]
mov dword [eax + 0x10], ecx
mov edx, dword [esi]
mov dword [edx + 0x14], ecx
mov eax, dword [esi]
add esp, 4
mov dword [eax + 0xc], ebx
mov ecx, dword [esi]
mov edx, dword [edi + 0x38]
push 0x20
push ecx
push edx
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
test eax, eax
jne 0x41c5ed
inc ebx
add esi, 4
cmp ebx, 6
jb 0x41c583
pop esi
pop ebp
mov dword [edi + 8], eax
pop ebx
add esp, 0x14
ret 4
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x14
ret 4
Function at 0x41ca20
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
mov ecx, dword [esp + 0x20]
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
and esi, 0xff
mov ebp, 2
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], esi
test ecx, 0xff0000
je 0x41ca55
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov ecx, edi
imul esi, edi
imul ecx, dword [esp + 0x28]
mov ebp, ecx
sar ebp, 2
add ebp, ecx
lea ebx, [ecx + edx]
add ebp, edx
test dword [esp + 0x2c], 0xff00
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x28]
je 0x41ca92
lea ecx, [ebx - 2]
imul ecx, esi
add eax, ecx
lea ecx, [esi*4]
sub ecx, esi
neg ecx
jmp 0x41ca94
mov ecx, esi
sar ebx, 1
sub ebx, 1
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], ebx
js 0x41cbc3
test edi, edi
jle 0x41cbb4
lea ecx, [edi - 1]
shr ecx, 1
inc ecx
mov dword [esp + 0x2c], ecx
lea esp, [esp]
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx + eax]
mov ecx, dword [ecx*4 + 0x655500]
mov ebx, dword [esp + 0xc]
movzx ebx, byte [ebx + eax]
add ecx, dword [ebx*4 + 0x655d00]
movzx ebx, byte [eax + 1]
add ecx, dword [ebx*4 + 0x655900]
mov ebx, dword [esp + 0x14]
mov byte [edx], cl
shr ecx, 0x14
xor cl, 0x80
mov byte [ebx], cl
mov ecx, dword [esp + 0xc]
add ecx, esi
movzx ecx, byte [ecx + eax]
inc ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], ebx
movzx ebx, byte [esi + eax + 1]
mov ecx, dword [ebx*4 + 0x655900]
mov ebx, dword [esp + 0x20]
add ecx, dword [ebx*4 + 0x655d00]
mov ebx, dword [esp + 0x10]
add ebx, esi
movzx ebx, byte [ebx + eax]
add ecx, dword [ebx*4 + 0x655500]
add eax, dword [esp + 0x18]
mov ebx, dword [esp + 0xc]
mov byte [edx + edi], cl
shr ecx, 0xa
xor cl, 0x80
mov byte [ebp], cl
movzx ebx, byte [ebx + eax]
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx + eax]
mov cl, byte [ecx*4 + 0x655500]
add cl, byte [ebx*4 + 0x655d00]
movzx ebx, byte [eax + 1]
add cl, byte [ebx*4 + 0x655900]
inc edx
mov byte [edx], cl
movzx ebx, byte [esi + eax + 1]
mov ecx, dword [esp + 0xc]
mov bl, byte [ebx*4 + 0x655900]
add ecx, esi
movzx ecx, byte [ecx + eax]
add bl, byte [ecx*4 + 0x655d00]
mov ecx, dword [esp + 0x10]
add ecx, esi
movzx ecx, byte [ecx + eax]
add bl, byte [ecx*4 + 0x655500]
add eax, dword [esp + 0x18]
mov byte [edx + edi], bl
inc ebp
inc edx
sub dword [esp + 0x2c], 1
jne 0x41cac0
mov ecx, dword [esp + 0x1c]
add edx, edi
add eax, ecx
sub dword [esp + 0x28], 1
jns 0x41caa7
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x4256a0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x28
push ebx
push ebp
mov ebp, dword [esp + 0x38]
push esi
push edi
lea esi, [esp + 0x10]
mov ebx, eax
mov edi, ecx
mov dword [esp + 0x10], 0
call fcn.0042ebe0
mov ecx, dword [esp + 0x44]
mov dword [ecx], eax
test eax, eax
jns 0x4256d3
mov dword [ebp], 0x80
jmp 0x425701
test eax, 0x40000000
je 0x4256e3
mov dword [ebp], 0x40
jmp 0x425701
test eax, 0x20000000
je 0x4256f3
mov dword [ebp], 0x20
jmp 0x425701
test eax, 0x10000000
je 0x425701
mov dword [ebp], 0x10
mov esi, dword [esp + 0x10]
mov ecx, dword [ebp]
mov edx, esi
call fcn.00425530
xor edx, edx
cmp dx, word [ebx + 0x37c]
jne 0x42572d
test esi, esi
jne 0x42572d
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, dword [esp + 0x28]
xor ecx, ecx
cmp cx, word [ebx + 0x37c]
jne 0x425748
test esi, esi
jg 0x425741
mov esi, 1
mov word [ebx + 0x37c], si
movzx eax, word [ebx + 0x37c]
cmp ax, 1
jae 0x42575c
mov eax, 1
jmp 0x42576c
cmp ax, 4
jbe 0x425769
mov eax, 4
jmp 0x42576c
movzx eax, ax
mov edx, dword [esp + 0x3c]
mov word [ebx + 0x37c], ax
movzx eax, ax
push edx
push eax
push ebx
push edi
call fcn.00425460
add esp, 0x10
test eax, eax
je 0x4257a6
push str.GetMultipleThreadIdc____InitSliceSettings_failed.
mov ebx, 1
call fcn.00421650
add esp, 4
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x28
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x28
ret
Function at 0x42cb00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
mov eax, dword [edi + 0x58]
mov ecx, dword [eax + 0x54]
mov edx, dword [eax + 0x104]
push ebx
push ebp
push esi
movzx esi, byte [edi + 0xc9]
imul esi, esi, 0x150
add esi, dword [edi + 0xcc]
xor ebx, ebx
mov eax, dword [esi + 0x40]
mov ebp, dword [esi + 0x9c]
push ebx
mov dword [esp + 0x18], edx
cdq
push 0x64
push edx
push eax
mov dword [esp + 0x28], ecx
call fcn.0059bf90
cmp ebp, ebx
je 0x42cb73
mov ecx, eax
mov eax, edx
mov dword [esp + 0xc], eax
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
cdq
add ecx, eax
mov eax, dword [esp + 0xc]
adc eax, edx
mov dword [esp + 0xc], eax
mov eax, ebp
cdq
push edx
push eax
mov eax, dword [esp + 0x14]
push eax
push ecx
call fcn.0059a420
mov dword [esi + 0x3c], eax
mov dword [esp + 0x10], edx
mov edx, dword [edi + 0xc]
mov eax, dword [edx + 0x10]
cmp eax, 0xffffffff
je 0x42cb8e
cmp eax, 2
je 0x42cb8e
mov al, 1
jmp 0x42cb90
xor al, al
mov edx, dword [esp + 0x14]
xor ecx, ecx
cmp edx, ebx
mov byte [esi + 0x78], al
jle 0x42cbc6
lea ecx, [ecx]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + ecx*4]
add eax, 0x544
inc ecx
cmp ecx, edx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x20], ebx
mov dword [eax + 0x24], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x18], ebx
jl 0x42cba0
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x444c60
Capabilities:
Encode data using base64
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov esi, ecx
xor ecx, ecx
push edi
cmp byte [esp + 0x10], cl
jne 0x444c9f
movzx ecx, byte [eax - 0x50]
movzx edx, byte [eax + 0x2c]
sub edx, ecx
mov dword [eax + 0x34], edx
mov ecx, dword [eax - 0x7c]
test ecx, 0x100
jne 0x444c9d
cmp ecx, 2
je 0x444c90
cmp byte [eax - 0x6b], 0
je 0x444c9d
cmp dword [eax - 0x48], 0
je 0x444c9d
mov ecx, 1
jmp 0x444c9f
xor ecx, ecx
mov edi, dword [eax + 0x34]
test edi, edi
je 0x444d45
jge 0x444cb2
neg edi
add edi, edi
jmp 0x444cb6
lea edi, [edi + edi - 1]
lea edx, [ecx + 0x3c]
mov ebx, 1
mov eax, esi
call fcn.00444530
lea edx, [ebx + 0x3d]
mov eax, esi
cmp edi, ebx
je 0x444d4a
call fcn.00444530
sub edi, 2
test edi, edi
jle 0x444d33
lea ebx, [ebx]
mov al, byte [esi + 0x53]
test al, 1
je 0x444d24
movzx edx, al
mov eax, dword [esi + 0x10]
mov ecx, eax
shr ecx, 6
and ecx, 3
shr edx, 1
movzx ecx, byte [ecx + edx*4 + 0x61eb30]
sub eax, ecx
mov ecx, eax
xor ecx, 0x100
shr ecx, 8
add dword [esi + 0xc], ecx
shl eax, cl
mov dword [esi + 0x10], eax
mov dl, byte [edx*2 + 0x61ec31]
add dl, dl
inc dl
mov byte [esi + 0x53], dl
jmp 0x444d2e
mov edx, 0x3f
call fcn.004419c0
dec edi
test edi, edi
jg 0x444ce0
mov edx, 0x3f
mov eax, esi
xor ebx, ebx
call fcn.00444530
pop edi
pop esi
pop ebx
ret
lea edx, [ecx + 0x3c]
mov eax, esi
xor ebx, ebx
call fcn.00444530
pop edi
pop esi
pop ebx
ret

Function at 0x444dd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push ebp
cwde
push esi
add eax, ecx
mov esi, edx
movsx dx, byte [eax + 0x75]
push edi
movsx di, byte [eax + 0x7b]
xor ebx, ebx
cmp byte [eax + 0x7a], bl
movzx edx, dx
movzx ebp, di
jle 0x444dfd
cmp byte [ecx + 0x18f], bl
jne 0x444dfd
mov ebx, 1
test dx, dx
jle 0x444e0e
cmp byte [ecx + 0x18d], 0
jne 0x444e0e
add ebx, 2
test bp, bp
jle 0x444e75
movsx edx, bx
mov al, byte [esi + edx + 0x4a]
add edx, 0x36
test al, 1
je 0x444e5f
movzx edi, al
mov eax, dword [esi + 0x10]
mov ecx, eax
shr ecx, 6
and ecx, 3
shr edi, 1
movzx ecx, byte [ecx + edi*4 + 0x61eb30]
sub eax, ecx
mov ecx, eax
xor ecx, 0x100
shr ecx, 8
add dword [esi + 0xc], ecx
shl eax, cl
mov dword [esi + 0x10], eax
mov al, byte [edi*2 + 0x61ec31]
add al, al
inc al
mov byte [esi + edx + 0x14], al
jmp 0x444e64
call fcn.004419c0
sar bx, 2
add bx, 4
dec ebp
movzx ebx, bx
test bp, bp
jg 0x444e13
movsx edx, bx
add edx, 0x36
xor ebx, ebx
mov eax, esi
call fcn.00444530
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x455800
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x20], 0
jne 0x45580e
or eax, 0xffffffff
pop esi
ret
cmp byte [esi + 0x40], 0
je 0x455818
xor eax, eax
pop esi
ret
push edi
lea edi, [esi + 0x28]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edi
mov byte [esi + 0x41], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 0
push esi
push 0x4558c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x455864
cmp byte [esi + 0x40], 0
mov dword [esi + 0x1c], eax
jne 0x45585f
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call edi
cmp byte [esi + 0x40], 0
je 0x455855
pop edi
xor eax, eax
pop esi
ret
pop edi
or eax, 0xffffffff
pop esi
ret

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

Disassembly:
push esi
push edi
push 0
call sub.WS2_32.dll_WSASetLastError
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov edx, dword [edi + 0x1c]
push 0
push eax
push ecx
push edx
call sub.WS2_32.dll_send
and dword [edi + 0x14], 0xfffffff0
mov esi, eax
test esi, esi
jg 0x4589af
je 0x458993
cmp esi, 0xffffffff
jne 0x4589af
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 4
je 0x4589a9
cmp eax, 0xb
je 0x4589a9
cmp eax, 0x2733
jne 0x4589ad
or dword [edi + 0x14], 0xa
mov eax, esi
pop edi
pop esi
ret

Function at 0x45c570
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
xor esi, esi
test edx, edx
je 0x45c5b7
mov al, byte [edx]
test al, al
je 0x45c5b7
push edi
mov edi, 0x100
movsx eax, al
or eax, edi
mov ecx, eax
shr ecx, 2
xor ecx, eax
and ecx, 0xf
add edi, 0x100
rol esi, cl
mov ecx, eax
imul ecx, eax
mov al, byte [edx + 1]
inc edx
xor esi, ecx
test al, al
jne 0x45c587
mov eax, esi
shr eax, 0x10
pop edi
xor eax, esi
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x45d1c0
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
push ebx
push esi
push edi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x45d209
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x45d209
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push ecx
call fcn.0059e1af
add eax, 0x40
push eax
call fcn.005abe2c
add esp, 0xc
lea esp, [ebp - 0x210]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 8]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45d211
sub eax, edx
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.00599900
mov esi, esp
test esi, esi
jne 0x45d235
mov esi, str.no_stack_
jmp 0x45d2bf
push edi
push esi
push edi
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x45d261
test edi, edi
jbe 0x45d261
jmp 0x45d250
mov edx, dword [ebp + 8]
movsx cx, byte [eax + edx]
mov word [esi + eax*2], cx
inc eax
cmp eax, edi
jb 0x45d250
xor eax, eax
test edi, edi
jbe 0x45d2bf
cmp word [esi + eax*2], 0x25
jne case.0x45d284.43
lea ecx, [esi + eax*2 + 2]
movzx edx, word [ecx]
add edx, 0xffffffd6
cmp edx, 0x49
ja case.0x45d284.43
movzx edx, byte [edx + 0x45d374]
jmp dword [edx*4 + 0x45d35c]
inc eax
add ecx, 2
jmp 0x45d272
mov ecx, 0x53
mov word [esi + eax*2 + 2], cx
jmp case.0x45d284.43
mov edx, 0x73
jmp 0x45d2b5
mov ecx, 0x43
mov word [esi + eax*2 + 2], cx
jmp case.0x45d284.43
mov edx, 0x63
mov word [esi + eax*2 + 2], dx
inc eax
cmp eax, edi
jb 0x45d267
lea eax, [ebp + 0xc]
push eax
push esi
lea ecx, [ebp - 0x204]
push 0xff
push ecx
call fcn.00598269
xor edx, edx
add esp, 0x10
mov word [ebp - 6], dx
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x45d339
call fcn.0045d110
test eax, eax
je 0x45d339
push str.OPENSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
push 0
lea ecx, [ebp - 4]
push ecx
push 0
push 1
push 0
push 0
push 0
mov esi, eax
push 1
lea eax, [ebp - 0x204]
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
lea esp, [ebp - 0x210]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10
push str.OpenSSL:_FATAL
lea edx, [ebp - 0x204]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea esp, [ebp - 0x210]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x463c50
Capabilities:
Check if file exists

Disassembly:
push ebx
push esi
mov esi, eax
push esi
push edi
call fcn.00599840
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x463cb1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 2
lea ecx, [ebx + 1]
call fcn.0045bab0
push 0x6213a0
push esi
push 0x62ec14
push edi
push str.fopen_
push 5
call fcn.0045be10
add esp, 0x1c
call fcn.0059daab
cmp dword [eax], 2
lea ecx, [ebx + 0x6d]
push 0x20
lea eax, [ecx + 0x13]
je 0x463ca4
lea eax, [ebx + 2]
call fcn.0045bab0
add esp, 4
pop esi
xor eax, eax
pop ebx
ret
push 0x649e4c
call fcn.00458b20
mov esi, eax
add esp, 4
test esi, esi
jne 0x463cd2
push ebx
call fcn.0059951c
add esp, 4
pop esi
xor eax, eax
pop ebx
ret
push 1
push 0x6a
call fcn.00458fc0
add esp, 8
mov eax, esi
pop esi
pop ebx
ret