joyce8/EMBER2024-capa huggingface dataset:
Function at 0x480dd8
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebx
add esp, 0xfffffff8
xor edx, edx
mov dword [esp], edx
xor edx, edx
mov dword [eax], edx
xor edx, edx
mov dword [eax + 4], edx
xor edx, edx
mov dword [eax + 8], edx
xor edx, edx
mov dword [eax + 0xc], edx
xor edx, edx
mov dword [eax + 0x10], edx
push 0
push eax
lea edx, [esp + 8]
push edx
lea edx, [esp + 0x10]
push edx
push 1
lea edx, [eax + 0x20]
push edx
mov eax, dword [eax + 0x14]
push eax
call sub.ws2_32.dll_WSARecv
mov bl, 1
inc eax
jne 0x480e28
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x3e5
je 0x480e28
xor ebx, ebx
mov eax, ebx
pop ecx
pop edx
pop ebx
ret

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

Disassembly:
push ebx
push ecx
xor edx, edx
xor ecx, ecx
mov dword [eax], ecx
xor ecx, ecx
mov dword [eax + 4], ecx
xor ecx, ecx
mov dword [eax + 8], ecx
xor ecx, ecx
mov dword [eax + 0xc], ecx
xor ecx, ecx
mov dword [eax + 0x10], ecx
push 0
push eax
push edx
lea edx, [esp + 0xc]
push edx
push 1
lea edx, [eax + 0x20]
push edx
mov eax, dword [eax + 0x14]
push eax
call sub.ws2_32.dll_WSASend
mov bl, 1
inc eax
jne 0x480e77
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x3e5
je 0x480e77
xor ebx, ebx
mov eax, ebx
pop edx
pop ebx
ret

Function at 0x480eec
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebx
add esp, 0xffffffec
mov ebx, eax
push 1
push 0
push 0
push 0
push 1
push 2
call sub.ws2_32.dll_WSASocketA
mov dword [esp], eax
cmp dword [esp], 0xffffffff
je 0x480f43
test ebx, ebx
je 0x480f43
mov word [esp + 4], 2
push ebx
call sub.ws2_32.dll_htons
mov word [esp + 6], ax
xor eax, eax
mov dword [esp + 8], eax
push 0x10
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 8]
push eax
call sub.ws2_32.dll_bind
inc eax
jne 0x480f43
mov eax, esp
call fcn.00480ecc
mov eax, dword [esp]
add esp, 0x14
pop ebx
ret

Function at 0x480f84
Capabilities:
Initialize winsock library

Disassembly:
add esp, 0xfffffe70
push esp
push 0x202
call sub.ws2_32.dll_WSAStartup
test eax, eax
je 0x480fac
push 0x10
push 0x480fb4
push 0x480fbc
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x190
ret

Function at 0x4811fc
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe0
mov edi, edx
mov ebx, eax
xor eax, eax
mov dword [esp], eax
call sub.kernel32.dll_GetCurrentThreadId_1
mov edx, dword [0x49dc00]
cmp eax, dword [edx]
jne 0x48122b
push 0x40
push edi
push 0
push ebx
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
mov esi, eax
jmp 0x481236
push edi
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov esi, eax
dec esi
je 0x481258
sub esi, 0x101
jne 0x48126c
push esp
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetExitCodeThread
mov eax, dword [esp]
push eax
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_TerminateThread
jmp 0x48126c
push 0
push 0
push 0
push 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_PeekMessageA
jmp 0x48120b
cmp dword [ebx], 0xffffffff
je 0x48127f
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_CloseHandle
mov dword [ebx], 0xffffffff
add esp, 0x20
pop edi
pop esi
pop ebx
ret
Function at 0x48135c
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4813d3
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 1
jne 0x481394
mov eax, dword [ebp - 4]
mov byte [eax + 0x1c], 0
jmp 0x4813c2
cmp dword [ebp - 8], 0xffffffff
jne 0x4813c2
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, 0x481400
mov dl, 1
mov eax, dword [0x481124]
call fcn.0041137c
call fcn.00404720
mov eax, dword [ebp - 4]
mov byte [eax + 0x10], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4813ef
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x481ee0
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
xor eax, eax
mov dword [esi + 0xc0170], eax
xor eax, eax
mov dword [esi + 0xc01a4], eax
xor eax, eax
call fcn.00480eec
mov edi, eax
mov dword [esi + 0x28], edi
cmp edi, 0xffffffff
setne bl
test bl, bl
je 0x481f22
push 0x10
mov eax, dword [esi + 0x80090]
push eax
push edi
call sub.ws2_32.dll_WSAEventSelect
inc eax
jne 0x481f22
xor ebx, ebx
test bl, bl
je 0x481f97
mov word [esp], 2
movzx eax, word [esi + 0xc0178]
push eax
call sub.ws2_32.dll_htons
mov word [esp + 2], ax
mov eax, dword [esi + 0xc017c]
call fcn.00405240
push eax
call sub.ws2_32.dll_inet_addr
mov dword [esp + 4], eax
mov edx, 0x10000
mov eax, dword [esi + 0x28]
call fcn.00480e7c
mov edx, 0x10000
mov eax, dword [esi + 0x28]
call fcn.00480ea4
push 0x10
lea eax, [esp + 4]
push eax
mov eax, dword [esi + 0x28]
push eax
call sub.ws2_32.dll_connect
inc eax
jne 0x481f97
call sub.ws2_32.dll_WSAGetLastError
mov edi, eax
mov dword [esi + 0xc0170], edi
cmp edi, 0x2733
je 0x481f97
xor ebx, ebx
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4820ae
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
lea ebx, [eax + 0x80094]
push 0
mov eax, dword [ebx + 8]
push eax
mov eax, dword [ebx + 0xc]
push eax
mov eax, dword [ebx]
push eax
call sub.ws2_32.dll_recv
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x482094
mov byte [ebp - 5], 1
mov eax, dword [ebp - 0xc]
add dword [ebx + 4], eax
xor eax, eax
push ebp
push 0x48202e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 4]
mov edx, dword [ebp - 4]
add dword [edx + 0xc01b8], eax
mov eax, dword [ebx + 4]
push eax
lea ecx, [ebx + 0x10]
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xa00ec]
call dword [ebx + 0xa00e8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x482098
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4820b5
lea eax, [ebp - 0x10]
call fcn.00404db0
ret
Function at 0x48222c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
add eax, 0x2c
push eax
call sub.kernel32.dll_EnterCriticalSection
mov edi, ebx
mov ebx, esi
mov eax, dword [ebp - 4]
add eax, 0x44
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x482345
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
test eax, eax
jne 0x482282
test ebx, ebx
jne 0x4822c4
mov byte [ebp - 5], 1
call fcn.004047cc
jmp 0x48234c
add ebx, eax
cmp ebx, 0x80000
jae 0x4822a1
test esi, esi
jbe 0x4822be
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 4]
mov eax, edi
mov ecx, esi
call fcn.004032ec
jmp 0x4822be
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax], edx
call fcn.004047cc
jmp 0x48234c
mov eax, dword [ebp - 0xc]
mov edi, dword [eax + 8]
test ebx, ebx
jbe 0x482322
push 0
push ebx
push edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
push eax
call sub.ws2_32.dll_send
mov esi, eax
test esi, esi
jle 0x4822e4
sub ebx, esi
add edi, esi
jmp 0x48231e
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x482317
mov eax, dword [ebp - 0xc]
cmp edi, dword [eax + 8]
je 0x482307
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 8]
mov eax, edi
mov ecx, ebx
call fcn.004032ec
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
add eax, ebx
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], eax
jmp 0x482322
call fcn.004047cc
jmp 0x48234c
test ebx, ebx
ja 0x4822c8
mov eax, dword [ebp - 0xc]
mov dword [eax], ebx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48234c
mov eax, dword [ebp - 4]
add eax, 0x2c
push eax
call sub.kernel32.dll_LeaveCriticalSection
ret
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4891ec
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov esi, eax
test esi, esi
jne 0x489202
mov eax, esi
call fcn.004891c0
mov edi, 1
jmp 0x48920a
inc edi
cmp byte [esi + edi - 1], 0x20
je 0x489209
cmp byte [esi + edi - 1], 0x2d
jne 0x48921f
mov eax, esi
call fcn.004891c0
cmp byte [esi + edi - 1], 0x2b
jne 0x489227
inc edi
cmp byte [esi + edi - 1], 0x24
je 0x48924a
cmp byte [esi + edi - 1], 0x30
jne 0x489304
movzx eax, byte [esi + edi]
call fcn.00403570
cmp al, 0x58
jne 0x489304
cmp byte [esi + edi - 1], 0x30
jne 0x489252
inc edi
inc edi
cmp byte [esi + edi - 1], 0
jne 0x489261
mov eax, esi
call fcn.004891c0
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
jmp 0x4892f5
mov eax, ebx
add al, 0xd0
sub al, 0xa
jb 0x48928c
add al, 0xf9
sub al, 6
jb 0x489297
add al, 0xe6
sub al, 6
jb 0x4892a2
jmp 0x4892ad
movzx eax, bl
sub eax, 0x30
mov dword [ebp - 0x1c], eax
jmp 0x4892b4
movzx eax, bl
sub eax, 0x37
mov dword [ebp - 0x1c], eax
jmp 0x4892b4
movzx eax, bl
sub eax, 0x57
mov dword [ebp - 0x1c], eax
jmp 0x4892b4
mov eax, esi
call fcn.004891c0
mov eax, dword [ebp - 0x14]
shr eax, 0x1c
xor edx, edx
cmp edx, 0
jne 0x4892c8
cmp eax, 0
jbe 0x4892d1
jmp 0x4892ca
jle 0x4892d1
mov eax, esi
call fcn.004891c0
mov eax, dword [ebp - 0x1c]
cdq
push edx
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
shld edx, eax, 4
shl eax, 4
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
inc edi
movzx ebx, byte [esi + edi - 1]
test bl, bl
jne 0x489276
jmp 0x48937c
cmp byte [esi + edi - 1], 0
jne 0x489312
mov eax, esi
call fcn.004891c0
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x489367
xor bl, 0x30
movzx eax, bl
mov dword [ebp - 0xc], eax
push esi
mov eax, dword [ebp - 4]
mov ecx, 0xa
mul ecx
or edx, edx
jne 0x48934f
mov esi, eax
mov eax, dword [ebp - 8]
mul ecx
add edx, esi
add eax, dword [ebp - 0xc]
adc edx, 0
jb 0x48934f
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
jmp 0x489356
mov dword [ebp - 0xc], 0x29a
pop esi
mov eax, dword [ebp - 0xc]
sub eax, 0xa
jb 0x489366
mov eax, esi
call fcn.004891c0
inc edi
movzx ebx, byte [esi + edi - 1]
test bl, bl
jne 0x48931e
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x495e70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp], edx
mov ebp, eax
mov esi, 2
mov byte [esp + 5], 0
mov dword [esp + 8], ecx
mov byte [esp + 6], 0xeb
mov byte [esp + 7], 0x3b
mov edi, dword [esp]
dec edi
test edi, edi
jl 0x495f33
inc edi
movzx eax, byte [ebp]
xor al, byte [esp + 6]
inc ebp
cmp esi, 6
jne 0x495ee3
mov edx, eax
and dl, 0x3f
movzx edx, dl
movzx ebx, byte [esp + 7]
add edx, ebx
mov byte [ecx], dl
inc ecx
movzx eax, al
shr eax, 2
and al, 0x30
or byte [esp + 5], al
movzx eax, byte [esp + 5]
movzx edx, byte [esp + 7]
add eax, edx
mov byte [ecx], al
inc ecx
mov byte [esp + 5], 0
jmp 0x495f1d
movzx edx, al
shr edx, 2
mov byte [esp + 4], dl
movzx edx, byte [esp + 4]
and dl, 0x3c
and al, 3
or dl, al
movzx eax, dl
movzx edx, byte [esp + 7]
add eax, edx
mov byte [ecx], al
inc ecx
movzx eax, byte [esp + 5]
add eax, eax
add eax, eax
movzx edx, byte [esp + 4]
and dl, 3
or al, dl
mov byte [esp + 5], al
mov eax, esi
mov ebx, 6
cdq
idiv ebx
add edx, 2
mov esi, edx
dec edi
jne 0x495ea1
cmp esi, 2
je 0x495f47
movzx eax, byte [esp + 5]
movzx edx, byte [esp + 7]
add eax, edx
mov byte [ecx], al
inc ecx
mov eax, ecx
sub eax, dword [esp + 8]
mov byte [ecx], 0
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x495f58
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe8
mov edi, ecx
mov dword [esp], edx
mov ebp, eax
mov dword [esp + 0x10], edi
mov eax, dword [esp]
test eax, eax
jns 0x495f74
add eax, 3
sar eax, 2
mov edx, dword [esp]
and edx, 0x80000003
jns 0x495f87
dec edx
or edx, 0xfffffffc
inc edx
mov dword [esp + 4], edx
mov byte [esp + 0xd], 0xeb
mov dl, 0x3b
dec eax
test eax, eax
jl 0x496041
inc eax
mov dword [esp + 0x14], eax
mov dword [esp + 8], 0
mov esi, dword [esp + 8]
add esi, esi
add esi, esi
lea eax, [esi + ebp]
add eax, 3
movzx eax, byte [eax]
sub al, dl
mov byte [esp + 0xc], al
lea eax, [esi + ebp]
movzx eax, byte [eax]
sub al, dl
mov ecx, eax
add ecx, ecx
add ecx, ecx
and cl, 0xf0
movzx ebx, byte [esp + 0xc]
and bl, 0xc
or cl, bl
and al, 3
or cl, al
mov eax, ecx
xor al, byte [esp + 0xd]
mov byte [edi], al
inc edi
lea eax, [esi + ebp]
inc eax
movzx eax, byte [eax]
sub al, dl
mov ecx, eax
add ecx, ecx
add ecx, ecx
and cl, 0xf0
movzx ebx, byte [esp + 0xc]
add ebx, ebx
add ebx, ebx
and bl, 0xc
or cl, bl
and al, 3
or cl, al
mov eax, ecx
xor al, byte [esp + 0xd]
mov byte [edi], al
inc edi
add esi, ebp
add esi, 2
movzx eax, byte [esi]
sub al, dl
movzx ecx, byte [esp + 0xc]
add ecx, ecx
add ecx, ecx
and cl, 0xc0
or al, cl
xor al, byte [esp + 0xd]
mov byte [edi], al
inc edi
inc dword [esp + 8]
dec dword [esp + 0x14]
jne 0x495fa8
cmp dword [esp + 4], 2
jne 0x496087
mov eax, dword [esp]
add eax, ebp
mov ecx, eax
dec ecx
movzx ecx, byte [ecx]
sub cl, dl
mov byte [esp + 0xc], cl
sub eax, 2
movzx eax, byte [eax]
sub al, dl
mov edx, eax
add edx, edx
add edx, edx
and dl, 0xf0
movzx ecx, byte [esp + 0xc]
add ecx, ecx
add ecx, ecx
and cl, 0xc
or dl, cl
and al, 3
or dl, al
mov eax, edx
xor al, byte [esp + 0xd]
mov byte [edi], al
inc edi
jmp 0x4960f5
cmp dword [esp + 4], 3
jne 0x4960f5
mov esi, dword [esp]
add esi, ebp
mov eax, esi
dec eax
movzx eax, byte [eax]
sub al, dl
mov byte [esp + 0xc], al
mov eax, esi
sub eax, 3
movzx eax, byte [eax]
sub al, dl
mov ecx, eax
add ecx, ecx
add ecx, ecx
and cl, 0xf0
movzx ebx, byte [esp + 0xc]
and bl, 0xc
or cl, bl
and al, 3
or cl, al
mov eax, ecx
xor al, byte [esp + 0xd]
mov byte [edi], al
inc edi
sub esi, 2
movzx eax, byte [esi]
sub al, dl
mov edx, eax
add edx, edx
add edx, edx
and dl, 0xf0
movzx ecx, byte [esp + 0xc]
add ecx, ecx
add ecx, ecx
and cl, 0xc
or dl, cl
and al, 3
or dl, al
mov eax, edx
xor al, byte [esp + 0xd]
mov byte [edi], al
inc edi
mov eax, edi
sub eax, dword [esp + 0x10]
mov byte [edi], 0
add esp, 0x18
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x497d20
Capabilities:
Create tcp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x1c], ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x497ed8
push dword fs:[eax]
mov dword fs:[eax], esp
push 6
push 1
push 2
call sub.ws2_32.dll_socket
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x497d86
lea eax, [ebp - 0x1c]
push eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x497eec
call fcn.0040e844
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004978a8
test ebx, ebx
je 0x497d92
mov dword [ebp - 0x10], ebx
jmp 0x497e26
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
add eax, 0x40
push eax
call sub.kernel32.dll_EnterCriticalSection
xor eax, eax
push ebp
push 0x497ddd
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
call fcn.0048189c
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x497de4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
add eax, 0x40
push eax
call sub.kernel32.dll_LeaveCriticalSection
ret
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x18]
mov dword [eax], edx
mov edx, dword [ebp - 0x18]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x18]
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x18]
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x10], edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], 3
push eax
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x24]
push edx
push edx
mov edx, dword [ebp - 0x18]
push edx
lea edx, [eax + 0x38]
push edx
mov eax, dword [eax + 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call dword [eax + 4]
test eax, eax
jne 0x497eb5
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x3e5
je 0x497eb5
lea eax, [ebp - 0x2c]
push eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x497f30
call fcn.0040e844
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.004978a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x497edf
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00404dd4
lea eax, [ebp - 0x1c]
call fcn.00404db0
ret
Function at 0x43a780
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
jmp 0x43a79a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x43a7a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x43a790
mov eax, 1
add ebx, ebx
jne 0x43a7b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x43a7a8
jne 0x43a7c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43a7a8
xor ecx, ecx
sub eax, 3
jb 0x43a7d8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x43a84a
mov ebp, eax
add ebx, ebx
jne 0x43a7e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x43a7f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x43a814
inc ecx
add ebx, ebx
jne 0x43a800
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x43a7f5
jne 0x43a811
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43a7f5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43a834
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43a825
jmp 0x43a796
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43a834
add edi, ecx
jmp 0x43a796
pop esi
mov edi, esi
mov ecx, 0x91a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43a852
cmp byte [edi], 9
jne 0x43a852
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x43a857
lea edi, [esi + 0x38000]
mov eax, dword [edi]
or eax, eax
je 0x43a8cf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3f680]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3f760]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43a884
mov ecx, edi
jns 0x43a8b3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3f768]
or eax, eax
je 0x43a8c9
mov dword [ebx], eax
add ebx, 4
jmp 0x43a8a1
call dword [esi + 0x3f764]
mov ebp, dword [esi + 0x3f76c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x43a903
sub esp, 0xffffff80
jmp 0x41382f
Function at 0x408ee0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4139c8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x41d008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov ecx, 0x41ec44
mov ebx, dword [ebp + 0xc]
call fcn.00412f13
mov eax, dword [edi + 0x10]
test eax, eax
je 0x408f2d
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [edi + 4], 0
je 0x408f48
mov eax, dword [edi + 0x10]
test eax, eax
je 0x408f41
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor eax, eax
jmp 0x4090bd
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0
push ebx
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [0x41d7ec], 0
mov esi, eax
mov dword [ebp - 0x30], esi
je 0x409059
push ecx
mov ecx, 0x41d7ec
call fcn.0040eb20
mov eax, dword [0x41d7ec]
cmp byte [eax + 0x54], 0
je 0x409059
cmp dword [eax + 0x58], 5
jb 0x409059
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push dword [ebp - 0x14]
push esi
push 0x4176f0
push eax
call fcn.0040f940
add esp, 0x10
lea eax, [ebp - 0x2c]
mov ecx, 0x41d7ec
push 0x39
push str.RC::DmAvCore::RCImplThreadPoolSimple::Excute
push str.d:jenkinsworkspacepc_2345mpcsafe_build_2_rhinoprotect_framework_src_vbaselib_src_rcimplthreadpoolsimple.cpp
push eax
push 5
call fcn.0040f420
test bl, bl
je 0x409002
lea eax, [ebp - 0x2c]
mov ecx, 0x41d7ec
push eax
call fcn.0040f750
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x409045
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40903b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40903b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00411fb1
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp byte [ebp + 0x10], 0
je 0x409071
test esi, esi
je 0x40906a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 1
jmp 0x4090ad
mov ebx, dword [edi + 8]
lea ecx, [ebp - 0x30]
push ecx
mov eax, dword [ebx + 4]
push eax
push ebx
mov dword [ebp - 0x34], eax
call fcn.004084a0
mov edx, eax
mov ecx, 0x15555554
mov eax, dword [edi + 0xc]
sub ecx, eax
cmp ecx, 1
jae 0x4090a1
push str.list_T__too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
inc eax
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x34]
mov dword [ebx + 4], edx
mov dword [eax], edx
mov eax, dword [edi + 0x10]
test eax, eax
je 0x4090bb
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00411cf3
mov esp, ebp
pop ebp
ret 0xc