joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4df390
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
mov esi, esp
mov dword [esi + 0x68], ebp
mov dword [esi + 0x6c], esp
mov dword [esi + 0x78], 0xffffffff
mov dword [esi + 0x74], 0x4e2360
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x70]
mov edx, dword fs:[0]
mov dword [esi + 0x70], edx
mov dword fs:[0], ecx
lea edx, [esi + 0x38]
movsd xmm1, qword [eax + 0x10]
movsd xmm0, qword [eax + 8]
mov ecx, dword [eax + 0x18]
movsd qword [esi + 0x58], xmm1
movsd xmm1, qword [eax]
movsd qword [esi + 0x50], xmm0
mov dword [esi + 8], ecx
movsd qword [esi + 0x48], xmm1
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov byte [esi + 7], 1
mov dword [esi + 0x78], 1
push ecx
push eax
push edx
call fcn.0054c2e0
add esp, 0xc
mov ecx, dword [esi + 0x40]
mov edx, dword [esi + 0x38]
mov edi, dword [esi + 0x3c]
movsd xmm0, qword [esi + 0x58]
mov eax, dword [esi + 0x44]
movsd xmm1, qword [esi + 0x50]
mov dword [esi + 0x78], 2
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], ecx
mov ecx, dword [esi + 8]
movsd qword [esi + 0x30], xmm0
movsd xmm0, qword [esi + 0x48]
mov dword [esi + 0x1c], eax
movsd qword [esi + 0x28], xmm1
add ecx, 8
movsd qword [esi + 0x20], xmm0
mov dword [esi + 8], ecx
call fcn.004dc8c0
movsd xmm0, qword [esi + 0x30]
mov eax, dword [esi + 8]
movsd qword [eax + 0x10], xmm0
movsd xmm0, qword [esi + 0x20]
movsd xmm1, qword [esi + 0x28]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
lea eax, [esi + 0x10]
mov byte [esi + 7], 0
mov dword [esi + 0x78], 1
push eax
call fcn.0054c340
add esp, 4
xor eax, eax
mov ecx, dword [esi + 0x70]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4df830
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
mov esi, esp
mov dword [esi + 0x68], ebp
mov dword [esi + 0x6c], esp
mov dword [esi + 0x78], 0xffffffff
mov dword [esi + 0x74], 0x4e2380
mov edx, dword [ebp + 8]
lea eax, [esi + 0x70]
mov ecx, dword fs:[0]
mov dword [esi + 0x70], ecx
mov dword fs:[0], eax
mov dword [esi + 0x50], 4
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov byte [esi + 7], 1
mov dword [esi + 0x78], 1
lea edx, [esi + 0x38]
push ecx
push eax
push edx
call fcn.0054c2e0
add esp, 0xc
mov ecx, dword [esi + 0x40]
mov edx, dword [esi + 0x38]
mov edi, dword [esi + 0x3c]
movsd xmm0, qword [esi + 0x60]
mov eax, dword [esi + 0x44]
movsd xmm1, qword [esi + 0x58]
mov dword [esi + 0x78], 2
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], ecx
mov ecx, dword [ebp + 8]
movsd qword [esi + 0x30], xmm0
movsd xmm0, qword [esi + 0x50]
mov dword [esi + 0x1c], eax
movsd qword [esi + 0x28], xmm1
add ecx, 8
movsd qword [esi + 0x20], xmm0
mov dword [esi + 8], ecx
call fcn.004dc8c0
movsd xmm0, qword [esi + 0x30]
mov eax, dword [esi + 8]
movsd qword [eax + 0x10], xmm0
movsd xmm0, qword [esi + 0x20]
movsd xmm1, qword [esi + 0x28]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
lea eax, [esi + 0x10]
mov byte [esi + 7], 0
mov dword [esi + 0x78], 1
push eax
call fcn.0054c340
add esp, 4
xor eax, eax
mov ecx, dword [esi + 0x70]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4eb8e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x74
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x4f0b00
lea edi, [ebp - 0x18]
mov eax, dword [ebp + 8]
mov esi, dword fs:[0]
mov dword [ebp - 0x18], esi
mov dword fs:[0], edi
mov esi, ecx
movsd xmm0, qword [edx]
mov ebx, dword [ecx + 0x28]
movsd xmm1, qword [edx + 8]
mov ecx, dword [eax + 0x10]
movsd xmm2, qword [eax + 8]
movsd qword [ebp - 0x6c], xmm0
movsd xmm0, qword [eax]
cmp ebx, 0x8000
movsd qword [ebp - 0x64], xmm1
mov dword [ebp - 0x70], ecx
movsd qword [ebp - 0x78], xmm2
movsd qword [ebp - 0x80], xmm0
jae 0x4ebabc
movsd xmm1, qword [edx + 8]
movsd xmm0, qword [edx]
movsd xmm2, qword [eax]
movzx ecx, word [ebp + 0xc]
cmp ebx, dword [esi + 0x24]
mov dword [ebp - 0x28], esi
movsd qword [ebp - 0x34], xmm1
movsd xmm1, qword [eax + 8]
mov eax, dword [eax + 0x10]
movsd qword [ebp - 0x3c], xmm0
movsd qword [ebp - 0x50], xmm2
mov word [ebp - 0x1e], cx
mov dword [ebp - 0x40], eax
mov eax, ebx
movsd qword [ebp - 0x48], xmm1
mov word [ebp - 0x2c], cx
mov dword [ebp - 0x5c], 0
jne 0x4eb9b7
lea eax, [esi + 0x20]
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x24], ebx
push ebx
push eax
call fcn.00485a10
add esp, 8
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
mov eax, dword [esi + 0x28]
mov edx, dword [esi + 0x20]
mov edi, esi
movsd xmm0, qword [ebp - 0x5c]
movsd xmm1, qword [ebp - 0x54]
movsd xmm2, qword [ebp - 0x4c]
movsd xmm3, qword [ebp - 0x44]
movsd xmm4, qword [ebp - 0x3c]
movsd xmm5, qword [ebp - 0x34]
mov esi, dword [ebp - 0x2c]
imul eax, eax, 0x34
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x24], 0
mov dword [edx + eax + 0x30], esi
movsd qword [edx + eax + 0x28], xmm5
movsd qword [edx + eax + 0x20], xmm4
movsd qword [edx + eax + 0x18], xmm3
movsd qword [edx + eax + 0x10], xmm2
movsd qword [edx + eax + 8], xmm1
movsd qword [edx + eax], xmm0
inc dword [edi + 0x28]
mov edx, dword [edi + 0x18]
mov esi, dword [edi + 0x1c]
cmp ecx, esi
mov eax, 0
cmovae ecx, eax
jb 0x4eba34
nop word cs:[eax + eax]
test esi, esi
je 0x4eba70
movzx eax, word [edx + ecx*4]
cmp ax, 0xffff
je 0x4eba72
movzx edi, word [edx + ecx*4 + 2]
mov word [edx + ecx*4], bx
movzx ebx, word [ebp - 0x1e]
inc dword [ebp - 0x24]
mov word [edx + ecx*4 + 2], bx
inc ecx
mov word [ebp - 0x1e], di
mov ebx, eax
cmp ecx, esi
mov eax, 0
cmovae ecx, eax
jae 0x4eba30
jmp 0x4eba34
jmp 0x4eba70
movzx eax, word [ebp - 0x1e]
mov word [edx + ecx*4], bx
cmp dword [ebp - 0x24], 0x80
mov word [edx + ecx*4 + 2], ax
movzx ecx, byte [ebp + 0x14]
setb al
xor cl, 1
test al, cl
mov ecx, dword [ebp - 0x28]
jne 0x4ebaab
mov eax, dword [ecx + 4]
or eax, dword [ecx]
jne 0x4ebaab
mov dword [ecx + 4], 0
mov dword [ecx], 1
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x74
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x10], 0
push 0x617ff4
push 0x16
push 0x617fdc
call fcn.0059c670
add esp, 0xc
ud2
Function at 0x4f0b30
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x70
mov esi, esp
mov dword [esi + 0x58], ebp
mov dword [esi + 0x5c], esp
mov dword [esi + 0x68], 0xffffffff
mov dword [esi + 0x64], 0x4f3550
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x60]
mov edx, dword fs:[0]
mov dword [esi + 0x60], edx
mov dword fs:[0], ecx
mov dword [esi + 0x40], 4
lea edx, [esi + 0x30]
mov ecx, dword [eax]
mov eax, dword [ecx]
mov dword [esi + 4], ecx
mov ecx, dword [ecx + 4]
mov byte [esi + 3], 1
mov dword [esi + 0x68], 0
push ecx
push eax
push edx
call fcn.0054c2e0
add esp, 0xc
mov ecx, dword [esi + 0x38]
mov edx, dword [esi + 0x30]
mov edi, dword [esi + 0x34]
movsd xmm0, qword [esi + 0x50]
mov eax, dword [esi + 0x3c]
movsd xmm1, qword [esi + 0x48]
mov dword [esi + 0x68], 1
mov dword [esi + 8], edx
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], ecx
mov ecx, dword [esi + 4]
movsd qword [esi + 0x28], xmm0
movsd xmm0, qword [esi + 0x40]
mov dword [esi + 0x14], eax
movsd qword [esi + 0x20], xmm1
add ecx, 8
movsd qword [esi + 0x18], xmm0
mov dword [esi + 4], ecx
call fcn.004dc8c0
movsd xmm0, qword [esi + 0x28]
mov eax, dword [esi + 4]
movsd qword [eax + 0x10], xmm0
movsd xmm0, qword [esi + 0x18]
movsd xmm1, qword [esi + 0x20]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
lea eax, [esi + 8]
mov byte [esi + 3], 0
mov dword [esi + 0x68], 0
push eax
call fcn.0054c340
add esp, 4
mov eax, dword [esi + 0x60]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4f6850
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x4f6ba0
lea eax, [ebp - 0x18]
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], eax
mov dword [ebp - 0x10], 5
mov eax, dword [ecx]
mov dword [ebp - 0x20], eax
add eax, 0x30
mov dword [ebp - 0x24], eax
push eax
call fcn.00418980
add esp, 4
mov esi, dword [ebp - 0x20]
mov eax, dword [esi + 0x34]
test eax, eax
je 0x4f68b5
shl eax, 3
push 4
push eax
mov eax, dword [ebp - 0x24]
push dword [eax]
call fcn.00407080
add esp, 0xc
mov eax, dword [esi + 0x64]
test eax, eax
je 0x4f68d3
lock dec dword [eax]
jne 0x4f68d3
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 4
lea ecx, [eax + 0x64]
call fcn.00402ab0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 3
lea ecx, [eax + 0x68]
call fcn.004f5bb0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 2
add eax, 0x40
push eax
call fcn.004f3650
add esp, 4
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x20]
lock dec dword [eax]
jne 0x4f691b
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov dword [ebp - 0x10], 1
call fcn.00401b90
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x80]
test eax, eax
je 0x4f6948
lock dec dword [eax]
jne 0x4f6948
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x80]
mov edx, dword [eax + 0x84]
mov dword [ebp - 0x10], 0
call fcn.00401b90
mov esi, dword [ebp - 0x20]
mov eax, dword [esi + 0x88]
test eax, eax
je 0x4f6972
lock dec dword [eax]
jne 0x4f6972
mov ecx, dword [esi + 0x88]
mov edx, dword [esi + 0x8c]
mov dword [ebp - 0x10], 0xffffffff
call fcn.00401b90
cmp esi, 0xffffffff
je 0x4f698d
lock dec dword [esi + 4]
jne 0x4f698d
push 8
push 0xa8
push esi
call fcn.00407080
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4f7230
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x48
mov esi, esp
mov dword [esi + 0x30], ebp
mov dword [esi + 0x34], esp
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0x4f7430
mov eax, dword [ebp + 0x10]
lea ecx, [esi + 0x38]
mov edx, dword fs:[0]
mov dword [esi + 0x38], edx
mov dword fs:[0], ecx
mov dword [esi + 0x18], 2
mov byte [esi + 4], 1
mov dword [esi + 0x40], 0
mov eax, dword [eax]
mov dword [esi + 0xc], eax
mov eax, dword [0x69b784]
push 0
push eax
call fcn.004dba10
add esp, 8
test eax, eax
je 0x4f72cd
movzx ebx, byte [eax + 0x38]
movzx edx, byte [eax + 0x39]
test bl, bl
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], edx
sete cl
test dl, dl
setne ch
or ch, cl
mov byte [esi + 7], ch
je 0x4f72d3
mov ecx, edx
xor edi, edi
sub dl, 1
movzx edx, dl
movzx ecx, cl
cmovb edx, edi
test bl, bl
cmovne ecx, edx
mov byte [eax + 0x39], cl
jmp 0x4f72e8
xor ecx, ecx
xor edx, edx
jmp 0x4f730e
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov eax, dword [eax + 8]
mov byte [esi + 4], 1
push ecx
call eax
add esp, 4
lea eax, [esi + 9]
mov byte [esi + 0xa], 0
mov word [esi + 8], 0
mov byte [esi + 4], 1
push eax
call fcn.0053a300
add esp, 4
cmp byte [esi + 7], 0
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
je 0x4f7373
mov eax, dword [ebp + 0xc]
mov byte [esi + 5], cl
mov byte [esi + 6], dl
mov dword [esi + 0x40], 1
lea ecx, [esi + 0x18]
mov eax, dword [eax]
push dword [esi + 0xc]
push ecx
push eax
call fcn.0053ad40
add esp, 0xc
cmp dword [esi + 0x18], 2
je 0x4f733a
mov byte [esi + 5], 0
movsd xmm0, qword [esi + 0x28]
mov eax, dword [ebp + 8]
movsd xmm2, qword [esi + 0x18]
movsd xmm1, qword [esi + 0x20]
mov byte [esi + 4], 0
mov dword [esi + 0x40], 0
movsd qword [eax + 0x10], xmm0
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm2
lea eax, [esi + 5]
push eax
call fcn.0053a300
add esp, 4
jmp 0x4f738b
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x18]
mov dword [esi + 0x40], 0xffffffff
mov dword [eax], 2
call fcn.004f6bb0
mov eax, dword [esi + 0x38]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4f9ae0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x4fada0
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
push dword [ebp + 0xc]
call fcn.004f7e80
add esp, 4
mov edi, dword [ebp + 0x10]
push edi
mov ebx, dword [ebp + 0xc]
push ebx
call fcn.00482c90
add esp, 8
movzx ecx, word [ebx + 0x38]
mov word [ebp - 0x22], ax
mov dword [ebp - 0x20], 0
and cx, ax
movzx esi, cx
jmp 0x4f9b64
movzx eax, byte [eax + 4]
cmp al, byte [edi + 4]
je 0x4f9c06
nop word cs:[eax + eax]
nop dword [eax]
inc dword [ebp - 0x20]
inc esi
cmp esi, dword [ebx + 0x1c]
jb 0x4f9b76
mov eax, dword [ebx + 0x1c]
nop dword [eax]
test eax, eax
je 0x4f9b70
xor esi, esi
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x2c], esi
movzx ecx, word [eax + esi*4]
cmp ecx, 0xffff
je 0x4f9c16
mov dword [ebp - 0x28], ecx
movzx ecx, word [ebx + 0x38]
movzx eax, word [eax + esi*4 + 2]
mov edx, ecx
and edx, eax
sub esi, edx
and esi, ecx
cmp esi, dword [ebp - 0x20]
jb 0x4f9c16
cmp ax, word [ebp - 0x22]
mov esi, dword [ebp - 0x2c]
jne 0x4f9b60
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebp - 0x28]
cmp eax, ecx
jbe 0x4f9ca9
mov eax, dword [ebx + 0x20]
imul edx, ecx, 0x34
mov ecx, dword [eax + edx + 0x20]
test ecx, ecx
setne bl
cmp dword [edi], 0
sete bh
cmp bl, bh
mov ebx, dword [ebp + 0xc]
je 0x4f9b60
lea eax, [eax + edx + 0x20]
test ecx, ecx
je 0x4f9b46
mov dword [ebp - 0x10], 0
push edi
push eax
call fcn.00575990
add esp, 8
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp - 0x2c]
test al, al
je 0x4f9b60
mov edx, dword [ebp - 0x28]
mov al, 1
mov edi, esi
mov ecx, ebx
mov dword [ebp - 0x20], eax
mov al, 2
jmp 0x4f9c46
cmp dword [ebp - 0x20], 0x200
mov eax, dword [ebx]
mov dword [ebp - 0x20], 0
setae cl
xor eax, 2
or eax, dword [ebx + 4]
setne al
and al, cl
mov ecx, edi
mov edi, dword [edi]
mov esi, dword [ecx + 0xc]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x30], esi
mov esi, dword [ecx + 8]
mov ecx, ebx
mov ebx, dword [ebp + 8]
cmp byte [ebp - 0x20], 0
mov dword [ebx], ecx
mov dword [ebx + 4], edi
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], esi
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x2c]
movzx edx, word [ebp - 0x22]
mov dword [ebx + 0x10], edi
mov dword [ebx + 0x14], esi
mov esi, dword [ebp + 0x10]
mov word [ebx + 0x18], dx
mov byte [ebx + 0x1a], al
je 0x4f9c95
mov eax, dword [esi]
test eax, eax
je 0x4f9c95
lea ecx, [esi + 0xc]
mov edx, dword [esi + 4]
mov esi, dword [esi + 8]
mov eax, dword [eax + 8]
mov dword [ebp - 0x10], 0xffffffff
push esi
push edx
push ecx
call eax
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
push 0x61bce8
push eax
push ecx
call fcn.005a0c50
add esp, 0xc
ud2
Function at 0x4fb150
Capabilities:
Set socket configuration

Disassembly:
push esi
push eax
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
mov esi, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [esp], ecx
mov ecx, esp
push ecx
push 0x8004667e
push eax
call sub.ws2_32.dll_ioctlsocket
cmp eax, 0xffffffff
je 0x4fb181
mov byte [esi], 4
mov eax, esi
add esp, 4
pop esi
ret
call fcn.00581a90
mov dword [esi + 4], eax
mov dword [esi], 0
mov eax, esi
add esp, 4
pop esi
ret

Function at 0x4fb1a0
Capabilities:
Set socket configuration

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
mov dword [esp + 8], 1
mov esi, dword [eax]
lea eax, [esp + 8]
push 4
push eax
push 8
push 0xffff
push esi
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x4fb2e0
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], esi
xor ebp, ebp
mov esi, 0
mov ebx, dword [ecx + 8]
cmp ebx, 0x3b9aca00
je 0x4fb242
mov eax, 0x3e8
mul dword [ecx]
mov dword [esp], eax
mov eax, 0x3e8
mov esi, edx
mul dword [ecx + 4]
mov edi, eax
mov ecx, edx
mov edx, 0x431bde83
mov eax, ebx
add edi, esi
mov esi, 0xffffffff
adc ecx, 0
mul edx
shr edx, 0x12
add edx, dword [esp]
adc edi, 0
adc ecx, 0
setb al
xor ebx, ebx
neg edi
mov edi, dword [esp + 0x2c]
sbb ebx, ebx
movzx eax, al
or ebx, edx
or eax, ecx
mov ecx, dword [esp + 0x34]
cmove esi, ebx
mov ebx, dword [ecx + 0x18]
cmp ebx, 0x3b9aca00
je 0x4fb29c
mov eax, 0x3e8
mul dword [ecx + 0x10]
mov dword [esp], eax
mov eax, 0x3e8
mov ebp, edx
mul dword [ecx + 0x14]
mov edi, eax
mov ecx, edx
mov edx, 0x431bde83
mov eax, ebx
add edi, ebp
mov ebp, 0xffffffff
adc ecx, 0
mul edx
shr edx, 0x12
add edx, dword [esp]
adc edi, 0
adc ecx, 0
setb al
xor ebx, ebx
neg edi
mov edi, dword [esp + 0x2c]
sbb ebx, ebx
movzx eax, al
or ebx, edx
or eax, ecx
cmove ebp, ebx
mov dword [esp + 8], 1
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], 0
lea eax, [esp + 0x14]
push 0
push 0
push eax
push 0
push 0
push 0xc
lea eax, [esp + 0x20]
push eax
push 0x98000004
push dword [esp + 0x24]
call sub.ws2_32.dll_WSAIoctl
cmp eax, 0xffffffff
je 0x4fb301
mov byte [edi], 4
jmp 0x4fb30f
call fcn.00581a90
mov ecx, eax
mov edx, eax
shr eax, 0x18
shr ecx, 8
shl edx, 0x18
mov byte [edi + 7], al
mov dword [edi + 1], edx
mov word [edi + 5], cx
mov byte [edi], 0
jmp 0x4fb30f
call fcn.00581a90
mov dword [edi + 4], eax
mov dword [edi], 0
mov eax, edi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4fb320
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push edi
push esi
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
cmp word [edx], 0
je 0x4fb40a
movups xmm0, xmmword [edx + 4]
mov ecx, dword [edx + 0x14]
mov esi, dword [edx + 0x18]
movzx edx, word [edx + 0x1c]
mov dword [eax + 0x20], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x50], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x58], 0
mov dword [eax + 0x54], 0
mov dword [eax + 0x60], 0
mov dword [eax + 0x5c], 0
mov dword [eax + 0x68], 0
mov dword [eax + 0x64], 0
mov dword [eax + 0x70], 0
mov dword [eax + 0x6c], 0
mov dword [eax + 0x78], 0
mov dword [eax + 0x74], 0
mov dword [eax + 0x7c], 0
mov di, 0x17
movups xmmword [eax + 8], xmm0
mov dword [eax + 0x18], esi
rol dx, 8
mov esi, 0x1c
jmp 0x4fb4f0
mov ecx, dword [edx + 2]
movzx edx, word [edx + 6]
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x54], 0
mov dword [eax + 0x50], 0
mov dword [eax + 0x5c], 0
mov dword [eax + 0x58], 0
mov dword [eax + 0x64], 0
mov dword [eax + 0x60], 0
mov dword [eax + 0x6c], 0
mov dword [eax + 0x68], 0
mov dword [eax + 0x74], 0
mov dword [eax + 0x70], 0
mov dword [eax + 0x7c], 0
mov dword [eax + 0x78], 0
mov esi, 0x10
mov di, 2
rol dx, 8
mov word [eax], di
mov word [eax + 2], dx
mov dword [eax + 4], ecx
mov dword [eax + 0x80], esi
pop esi
pop edi
ret
Function at 0x51c080
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x58
mov ebp, dword [esp + 0x70]
cmp dword [ebp + 8], 0
jne 0x51c287
mov ebx, dword [esp + 0x7c]
movzx eax, byte [esp + 0x78]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x74]
lea edx, [esp + 4]
movzx ecx, byte [ebx + 0x20]
movzx eax, al
mov byte [esp + 0x1c], cl
lea ecx, [esp + 0x1c]
push eax
push edi
push ecx
push edx
call fcn.00515510
add esp, 0x10
movzx eax, byte [esp + 4]
cmp al, 3
jne 0x51c0fe
cmp dword [ebp], 0
je 0x51c12b
mov word [esi], 0x101
mov dword [esi + 4], 1
mov dword [esi + 8], 0x6283d4
mov dword [esi + 0xc], 0x628398
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
jmp 0x51c121
movsd xmm0, qword [esp + 0x14]
movsd xmm2, qword [esp + 5]
movsd xmm1, qword [esp + 0xd]
movsd qword [esi + 0x10], xmm0
movsd qword [esi + 9], xmm1
movsd qword [esi + 1], xmm2
mov byte [esi], al
mov eax, esi
add esp, 0x58
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 4]
cmp eax, edi
mov dword [esp], eax
jbe 0x51c232
mov eax, dword [0x69b710]
mov eax, dword [eax]
cmp eax, 1
ja 0x51c0d4
movzx eax, byte [0x69b2f0]
test al, al
je 0x51c0d4
movzx ecx, al
cmp ecx, 1
je 0x51c163
cmp ecx, 2
jne 0x51c26d
mov al, 2
movzx eax, al
push eax
push dword [0x69b2e8]
call fcn.005313d0
add esp, 8
test al, al
je 0x51c0d4
mov eax, dword [0x69b2e8]
mov edx, dword [eax + 0x20]
test edx, edx
je 0x51c29d
mov edi, dword [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
lea ebx, [esp + 0x74]
lea ecx, [eax + 0x1c]
mov dword [esp + 4], 0x62855c
mov dword [esp + 8], 3
mov dword [esp + 0x14], 0
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], 0x522860
lea ebx, [esp + 0x48]
mov dword [esp + 0xc], ebx
lea ebx, [esp + 4]
mov dword [esp + 0x10], 2
mov dword [esp + 0x1c], edi
mov edi, esp
mov dword [esp + 0x20], edx
movlps qword [esp + 0x24], xmm0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x50], edi
lea edi, [esp + 0x1c]
mov dword [esp + 0x54], 0x522860
mov dword [esp + 0x30], edi
lea edi, [esp + 0x30]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 0x628574
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], 1
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x3c]
push ecx
push eax
call fcn.00531b00
add esp, 8
jmp 0x51c0d4
lea eax, [edi + 2]
mov ecx, eax
shr ecx, 0x1f
mov dword [ebp], ecx
mov ecx, dword [ebx + 8]
mov dword [ebp + 4], eax
cmp ecx, dword [ebx + 0xc]
jbe 0x51c254
mov dword [esi + 4], 1
mov dword [esi + 8], edi
jmp 0x51c265
mov dword [ebp + 8], 1
mov dword [ebp + 0xc], edi
mov dword [esi + 4], 0
mov byte [esi], 3
jmp 0x51c121
push 0x69b2e8
call fcn.0059e2f0
add esp, 4
test al, al
jne 0x51c163
jmp 0x51c0d4
push 0x6284e0
push 0x28
push 0x6284b8
call fcn.005a0b60
add esp, 0xc
ud2
push 0x628514
push 0x22
push str.FieldSet_corrupted__this_is_a_bug_
call fcn.005a0a40
add esp, 0xc
ud2