joyce8/EMBER2024-capa huggingface dataset:
Function at 0x55ad7a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5b5880]
jne 0x55ad84
repz ret
jmp fcn.005616f5

Function at 0x569bcc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5b5880]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00562dc1
and dword [ebp - 0x14], 0
cmp dword [0x5c9288], 0
mov dword [ebp - 0x18], eax
jne 0x569c7f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x569d27
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x569d27
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x5c9288], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x5c928c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x5c9290], eax
call edi
push eax
call esi
mov dword [0x5c9298], eax
test eax, eax
je 0x569c7f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x5c9294], eax
mov eax, dword [0x5c9294]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x569cd8
cmp dword [0x5c9298], ecx
je 0x569cd8
push eax
call esi
push dword [0x5c9298]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x569cd8
test ebx, ebx
je 0x569cd8
call edi
test eax, eax
je 0x569ccf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x569ccf
test byte [ebp - 8], 1
jne 0x569cd8
or dword [ebp + 0x10], 0x200000
jmp 0x569d0b
mov eax, dword [0x5c928c]
cmp eax, dword [ebp - 0x18]
je 0x569d0b
push eax
call esi
test eax, eax
je 0x569d0b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x569d0b
mov eax, dword [0x5c9290]
cmp eax, dword [ebp - 0x18]
je 0x569d0b
push eax
call esi
test eax, eax
je 0x569d0b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5c9288]
call esi
test eax, eax
je 0x569d27
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x569d29
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055ad7a
leave
ret
Function at 0x42e001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e072
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x2a18742b
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x42e060
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x42e0d2
mov ebx, 0x42cd70
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x130a1920
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40915c
nop
mov ecx, 0x64de59a0
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x3f1541c6
nop
nop
nop
test eax, eax
nop
je 0x431084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43106c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x408510
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
cmp dword [0x43120c], 0
mov ebp, esp
push edi
mov ecx, dword [ebp + 0xc]
push esi
push ebx
mov ebx, dword [ebp + 0x10]
jne 0x408551
xor edx, edx
mov eax, edx
mov esi, 8
mov edi, eax
and eax, 1
neg eax
shr edi, 1
and eax, 0xedb88320
xor eax, edi
dec esi
jne 0x40852e
mov dword [edx*4 + 0x431208], eax
inc edx
cmp edx, 0x100
jne 0x408527
mov eax, dword [ebp + 8]
not eax
jmp 0x40856b
mov dl, byte [ecx]
dec ebx
inc ecx
xor edx, eax
movzx edx, dl
shr eax, 8
xor eax, dword [edx*4 + 0x431208]
test ebx, ebx
jne 0x408558
pop ebx
not eax
pop esi
pop edi
pop ebp
ret 0xc

Function at 0x40213f
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
push ebx
push esi
push edi
je 0x402194
push dword [esp + 0x10]
push 0x4020be
call dword [sym.imp.USER32.DLL_EnumWindows]
mov esi, dword [0x403384]
test esi, esi
je 0x4021ed
xor edi, edi
mov ebx, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 8], eax
jne 0x40218c
cmp byte [esi + 0x10], 0
je 0x40218c
push 3
push edi
push edi
push edi
push edi
push 0xfffffffffffffffe
push dword [esi + 0xc]
call dword [sym.imp.USER32.DLL_SetWindowPos]
mov esi, ebx
test ebx, ebx
jne 0x402168
jmp 0x4021ed
mov esi, dword [0x403384]
test esi, esi
je 0x4021ed
xor edi, edi
push ebp
mov ebx, dword [esi]
lea ebp, [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp], eax
jne 0x4021e6
cmp byte [esi + 0x11], 0
je 0x4021c2
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.DLL_EnableWindow]
cmp byte [esi + 0x10], 0
je 0x4021d9
push 3
push edi
push edi
push edi
push edi
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.USER32.DLL_SetWindowPos]
push ebp
push 0x403384
call fcn.004022b5
pop ecx
pop ecx
mov esi, ebx
test ebx, ebx
jne 0x4021a1
pop ebp
pop edi
pop esi
pop ebx
ret 4
Function at 0x404670
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x40b430
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
lea ecx, [esp + 0x1c]
mov eax, dword [esi + 0x50]
push eax
push 1
push 0
call sub.MFC42.DLL_CPen::CPen
mov edi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov ebx, dword [esi + 0x54]
mov dword [esp + 0x68], 0
mov esi, dword [edi + 8]
mov edx, dword [ecx]
sub esi, dword [edi]
mov dword [esp + 0x50], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x10], esi
mov dword [esp + 0x54], eax
mov eax, dword [ecx + 8]
mov esi, dword [edi + 0xc]
fild dword [esp + 0x10]
sub eax, edx
sub esi, dword [edi + 4]
mov dword [esp + 0x10], eax
mov ecx, dword [ecx + 0xc]
fstp qword [esp + 0x24]
fild dword [esp + 0x10]
fld qword [esp + 0x24]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x14], esi
fdiv st(1)
sub ecx, eax
fst qword [esp + 0x3c]
fild dword [esp + 0x14]
mov dword [esp + 0x14], ecx
lea ecx, [ebx*8]
push ecx
fstp qword [esp + 0x30]
fild dword [esp + 0x18]
fld qword [esp + 0x30]
fdiv st(1)
fst qword [esp + 0x48]
fxch st(1)
fmul st(1)
fstp qword [esp + 0x38]
fstp st(0)
fxch st(1)
fmul st(1)
fstp qword [esp + 0x18]
fstp st(0)
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test ebx, ebx
jle 0x404809
test eax, eax
je 0x404816
xor esi, esi
test ebx, ebx
jle 0x4047dc
fld qword [esp + 0x24]
fsub qword [esp + 0x14]
fmul qword [0x40c338]
fld qword [esp + 0x2c]
fsub qword [esp + 0x34]
fmul qword [0x40c338]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x58]
mov edx, dword [esp + 0x50]
mov ecx, dword [eax + esi*8]
sub ecx, edx
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fmul qword [esp + 0x3c]
fild dword [edi]
faddp st(1)
fadd st(2)
call sub.MSVCRT.dll__ftol
mov edx, dword [esp + 0x10]
mov dword [edx + esi*8], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x58]
mov eax, dword [esp + 0x54]
mov edx, dword [ecx + esi*8 + 4]
sub edx, eax
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fmul qword [esp + 0x44]
fild dword [edi + 4]
faddp st(1)
fadd st(1)
call sub.MSVCRT.dll__ftol
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, ebx
mov dword [ecx + esi*8 - 4], eax
jl 0x404776
fstp st(0)
fstp st(0)
mov esi, dword [ebp + 8]
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_2
mov ecx, dword [esi + 4]
mov edi, eax
mov eax, dword [esp + 0x10]
push ebx
push eax
push ecx
call dword [sym.imp.GDI32.dll_Polyline]
push edi
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_2
mov eax, dword [esp + 0x10]
test eax, eax
je 0x404816
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x1c], 0x40c324
lea ecx, [esp + 0x1c]
mov dword [esp + 0x68], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x60]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4058b0
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x404
lea ecx, [esp + 4]
push ebx
push ebp
push esi
xor esi, esi
push edi
xor eax, eax
mov dword [ecx], eax
inc eax
add ecx, 4
cmp eax, 0x100
jl 0x4058c2
mov ebx, dword [esp + 0x424]
mov ebp, dword [esp + 0x41c]
xor ecx, ecx
lea edi, [esp + 0x14]
mov eax, ecx
xor edx, edx
div ebx
xor eax, eax
mov al, byte [edx + ebp]
mov edx, dword [edi]
add eax, edx
add esi, eax
and esi, 0x800000ff
jns 0x405904
dec esi
or esi, 0xffffff00
inc esi
mov dl, byte [edi]
mov eax, dword [esp + esi*4 + 0x14]
mov byte [esp + 0x10], dl
mov dword [edi], eax
mov edx, dword [esp + 0x10]
add edi, 4
and edx, 0xff
inc ecx
cmp ecx, 0x100
mov dword [esp + esi*4 + 0x14], edx
jl 0x4058e3
mov eax, dword [esp + 0x420]
xor edx, edx
test eax, eax
jbe 0x4059b2
mov ebp, dword [esp + 0x418]
inc ecx
and ecx, 0x800000ff
jns 0x40594f
dec ecx
or ecx, 0xffffff00
inc ecx
mov edi, dword [esp + ecx*4 + 0x14]
add esi, edi
and esi, 0x800000ff
jns 0x405965
dec esi
or esi, 0xffffff00
inc esi
mov bl, byte [esp + ecx*4 + 0x14]
mov edi, dword [esp + esi*4 + 0x14]
mov byte [esp + 0x10], bl
mov dword [esp + ecx*4 + 0x14], edi
mov edi, dword [esp + 0x10]
and edi, 0xff
mov dword [esp + esi*4 + 0x14], edi
mov ebx, dword [esp + ecx*4 + 0x14]
add ebx, edi
and ebx, 0x800000ff
jns 0x405999
dec ebx
or ebx, 0xffffff00
inc ebx
mov bl, byte [esp + ebx*4 + 0x14]
xor byte [edx + ebp], bl
inc edx
cmp edx, eax
jb 0x40593e
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x404
ret
mov eax, dword [esp + 0x418]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x404
ret
Function at 0x40a090
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40b56b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x40c658
mov eax, dword [esi + 0x30]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], 1
je 0x40a120
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x20]
mov ecx, edx
push ebx
sub eax, ecx
mov ecx, dword [esi + 0x28]
mov ebx, edi
sub ecx, ebx
mov ebx, dword [esi + 0x1c]
cmp esi, ebp
je 0x40a0e7
mov ebp, dword [esi + 4]
push 0xcc0020
push edx
push edi
push ebp
push eax
mov eax, dword [ebx + 4]
push ecx
push edx
push edi
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x18]
pop ebx
test eax, eax
jne 0x40a111
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x40a126
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x40a126
mov dword [esi + 8], ebp
mov dword [esi + 4], ebp
lea edi, [esi + 0x10]
mov dword [esp + 0x10], edi
mov dword [edi], 0x40c324
mov ecx, edi
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, esi
mov dword [edi], 0x40c310
mov dword [esp + 0x1c], 0xffffffff
call fcn.0040b03c
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x405ef7
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x7a1274], 0
push esi
jne 0x405f2e
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f08
mov dword [ecx*4 + 0x7a1270], eax
inc ecx
cmp ecx, 0x100
jl 0x405f03
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f5f
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x7a1270]
xor eax, esi
inc ecx
dec edx
jne 0x405f41
pop edi
not eax
pop esi
ret 0xc
Function at 0x10014fe0
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
push ebx
push esi
push edi
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x114], 0
jmp 0x10015011
mov eax, dword [ebp - 0x114]
add eax, 1
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
cmp eax, dword [ebp - 0x104]
jae 0x10015035
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp + eax*4 - 0x100]
cmp ecx, dword [ebp + 8]
jne 0x10015033
jmp 0x10015035
jmp 0x10015002
mov eax, dword [ebp - 0x114]
cmp eax, dword [ebp - 0x104]
jne 0x1001506b
cmp dword [ebp - 0x104], 0x40
jae 0x1001506b
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp + 8]
mov dword [ebp + eax*4 - 0x100], ecx
mov eax, dword [ebp - 0x104]
add eax, 1
mov dword [ebp - 0x104], eax
xor eax, eax
jne 0x10014ff6
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], 0
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
lea eax, [ebp - 0x110]
push eax
push 0
push 0
lea ecx, [ebp - 0x104]
push ecx
mov edx, dword [ebp + 8]
add edx, 1
push edx
call dword [sym.imp.WS2_32.dll_select]
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
jle 0x100150cf
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_recv]
jmp 0x100150e7
cmp dword [ebp - 0x108], 0
jne 0x100150e1
mov eax, dword [ebp + 0x18]
mov dword [eax], 1
mov eax, dword [ebp - 0x108]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10015370
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
cmp dword [ebp + 0xc], 0
je 0x10015388
mov dword [ebp - 4], 0
jmp 0x1001538f
mov dword [ebp - 4], 1
lea eax, [ebp - 4]
push eax
push 0x8004667e
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100153b0
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x160
push ebx
push esi
push edi
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x11c], 0
mov eax, dword [ebp + 0x10]
and eax, 1
je 0x100153ee
lea eax, [ebp - 0x104]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp + 0x10]
and eax, 2
je 0x10015402
lea eax, [ebp - 0x104]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp + 0x10]
and eax, 4
je 0x10015416
lea eax, [ebp - 0x104]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x120], 0
jmp 0x1001543b
mov eax, dword [ebp - 0x120]
add eax, 1
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
cmp eax, dword [ebp - 0x104]
jae 0x1001545f
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp + eax*4 - 0x100]
cmp ecx, dword [ebp + 8]
jne 0x1001545d
jmp 0x1001545f
jmp 0x1001542c
mov eax, dword [ebp - 0x120]
cmp eax, dword [ebp - 0x104]
jne 0x10015495
cmp dword [ebp - 0x104], 0x40
jae 0x10015495
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp + 8]
mov dword [ebp + eax*4 - 0x100], ecx
mov eax, dword [ebp - 0x104]
add eax, 1
mov dword [ebp - 0x104], eax
xor eax, eax
jne 0x10015420
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], 0
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp - 0x11c]
push ecx
mov edx, dword [ebp - 0x118]
push edx
mov eax, dword [ebp - 0x114]
push eax
mov ecx, dword [ebp + 8]
add ecx, 1
push ecx
call dword [sym.imp.WS2_32.dll_select]
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
jle 0x100154e8
xor eax, eax
jmp 0x10015506
cmp dword [ebp - 0x108], 0
jne 0x10015503
push 0x274c
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, 1
jmp 0x10015506
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1001b780
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0xffffffff
cmp dword [ebp + 0x14], 0
je 0x1001b7aa
cmp dword [ebp + 8], 0
jne 0x1001b7ac
jmp 0x1001b7fc
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 0xc]
test eax, eax
jle 0x1001b7bc
cmp dword [ebp + 0x10], 0
jg 0x1001b7be
jmp 0x1001b7fc
push 0x100673bc
mov eax, dword [ebp + 0x14]
push eax
call fcn.10043098
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1001b7da
jmp 0x1001b7fc
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 1
mov edx, dword [ebp + 8]
add edx, dword [ebp + 0xc]
push edx
call fcn.100497b7
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0
je 0x1001b80e
mov eax, dword [ebp - 4]
push eax
call fcn.10042bcc
add esp, 4
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10041c7d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x10041c85
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x10041c76
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.10041a31
cmp dword [ecx - 0x6e], edx
push es
lea eax, [ebp - 0x58]
push eax
call fcn.10041a41
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.100419f6
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x10041d1f
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.10041a31
pop esp
add ah, byte [esi - 0x3fba72f7]
push eax
call fcn.10041a41
push eax
push esi
push dword [ebp + 8]
call fcn.100419f6
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.10041a31
int1
sar dword [edi - 0x17ba72f7], 0x88
pop ebp
call 0xf961a5f2
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
fcmovb st(0), st(6)
inc ebp
idiv dword [edi - 0x39c18]
call dword [eax + 0x56]
Function at 0x10041dd4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
fcmovb st(0), st(6)
inc ebp
idiv dword [edi - 0x39c18]
call dword [eax + 0x56]
push dword [ebp + 8]
call fcn.100419f6
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.10041a41
push eax
push esi
push dword [ebp + 8]
call fcn.100419f6
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.10041a41
push eax
push esi
push dword [ebp + 8]
invalid
push ebp
Function at 0x100420c6
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x100420e5
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x100420e0
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x100420ca
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x100420d2
cmp edx, ebx
jne 0x10042220
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x100420a1
add eax, dword [eax + 4]
jmp 0x1004208e
mov dword [ebp + 0xc], ebx
jmp 0x100420f0
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10042108
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x10042126
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x10042184
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x1004216b
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x10042174
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x1004217e
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x10042160
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x100420ea
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x100421d1
dec eax
je 0x100421c8
sub eax, 3
je 0x100421bf
mov dword [ebp - 4], 0x40
jmp 0x100421ee
mov dword [ebp - 4], 4
jmp 0x100421d4
mov dword [ebp - 4], 0x20
jmp 0x100421d4
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x10042220
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x100421a0
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.10041a31
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax