joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101b94c7
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x1022ba70]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x101b9507
cmp byte [ebx], 0xa
jne 0x101b9507
or byte [eax + edi + 0x28], 4
jmp 0x101b950c
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x101b960a
mov al, byte [edx]
cmp al, 0x1a
je 0x101b95ec
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x101b953b
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x101b9560
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x101b956a
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x101b951d
jmp 0x101b960a
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x101b95e7
cmp dword [ebp - 0xc], 0
je 0x101b95e7
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x1022ba70]
test byte [eax + edi + 0x28], 0x48
je 0x101b95c1
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x101b95ac
mov byte [esi], dl
jmp 0x101b95bd
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x1022ba70]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x101b960a
cmp byte [ebp - 1], 0xa
jne 0x101b95d0
cmp esi, ebx
jne 0x101b95d0
mov byte [esi], 0xa
jmp 0x101b9609
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.101ba047
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x101b960a
mov byte [esi], 0xd
jmp 0x101b9609
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x1022ba70]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x101b9606
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x101b960a
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x101b9613
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x1022ba70]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x101b9656
cmp word [esi], dx
jne 0x101b9656
or byte [edi + eax + 0x28], 4
jmp 0x101b965b
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x101b97ae
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x101b978e
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x101b969d
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x101b96d3
cmp eax, edx
jae 0x101b96df
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x101b9675
jmp 0x101b97ae
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x101b978a
cmp dword [ebp - 0x14], 0
je 0x101b978a
mov eax, dword [ebx*4 + 0x1022ba70]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x101b9762
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x101b972b
mov word [esi], cx
jmp 0x101b975e
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x1022ba70]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x1022ba70]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x1022ba70]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x101b97ae
pop ebx
cmp word [ebp - 4], bx
jne 0x101b9773
cmp esi, dword [ebp + 0xc]
jne 0x101b9773
mov word [esi], bx
jmp 0x101b97ab
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.101ba047
add esp, 0x10
cmp word [ebp - 4], bx
je 0x101b97ae
push 0xd
jmp 0x101b97a7
mov ecx, dword [ebx*4 + 0x1022ba70]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x101b97a5
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x101b97ae
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x101bf4ed
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x101bf58a
push ebx
push esi
call fcn.101bf4b6
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.101be46f
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x101bf537
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x101bf589
push edi
push eax
call fcn.101b6ed8
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x101bf557
call fcn.101b6af4
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x101bf588
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.101be46f
add esp, 0x20
test eax, eax
jne 0x101bf576
push edi
call fcn.101b6af4
jmp 0x101bf57e
push ebx
call fcn.101b6af4
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x101bf58d
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x101bf59e
pop esi
ret
push ebx
push edi
push esi
call fcn.101bf4b6
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.101b6ed8
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x101bf5c6
push ebx
push esi
push edi
call fcn.101a1ab0
add esp, 0xc
push 0
call fcn.101b6af4
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x101bf98a
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.101bf5db
Function at 0x101c5fcf
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.101c5f4b
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x101c6147
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x101c6147
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x101c60f6
jg 0x101c6028
test eax, eax
je 0x101c60ec
push 1
push 0x1000
call fcn.101b5c8e
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x101c604e
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x101c60e3
push 0x8000
push ebx
call fcn.101c5e7c
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x101c607a
jg 0x101c6075
cmp ecx, 0x1000
jb 0x101c607a
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.101b68f4
add esp, 0x10
cmp eax, 0xffffffff
je 0x101c60bf
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x101c6075
jl 0x101c60a6
test ecx, ecx
jne 0x101c6067
push dword [ebp - 0xc]
push ebx
call fcn.101c5e7c
push esi
call fcn.101b6af4
add esp, 0xc
xor edi, edi
jmp 0x101c6158
cmp byte [edi + 0x24], 0
je 0x101c60d6
cmp dword [edi + 0x20], 5
jne 0x101c60d6
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x101c60e1
mov edi, dword [edi + 0x18]
jmp 0x101c60e3
xor edi, edi
push esi
call fcn.101b6af4
pop ecx
jmp 0x101c6158
test ecx, ecx
jg 0x101c60b8
jl 0x101c60f6
test eax, eax
jae 0x101c60b8
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.101ba047
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x101c6119
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x101c60b8
jmp 0x101c6150
push ebx
call fcn.101badde
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x101c60b8
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x101c6158
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x101c6155
mov edi, dword [edi + 0x18]
jmp 0x101c6158
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.101ba047
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x101c6b10
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x101c6b3d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x101c6b3d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
jmp 0x431219

Function at 0x40892e
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x4085d8
add esi, ecx
call fcn.0040895a
mov esi, esi
xor dword [edx], ebx
inc edx
inc ecx
mov ecx, 0xa9126e2a
cmp edx, eax
jne fcn.0040892e
push 0x559d740e
pop ecx
push 0xc95ec256
pop esi
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x412722
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x4186e0], 0
push ebx
push esi
mov esi, 0x4186e8
jne 0x41274e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x418700], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x4186e0], 1
push dword [0x418700]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x4127eb
push 0x14
push 8
push dword [0x418068]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x412815
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4186e4]
test eax, eax
je 0x412790
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x4186e4], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x41281a
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x418700]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x418068]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x412815
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x401390
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
xor eax, eax
xor edx, edx
cmp ecx, 0
je 0x4013c3
mov dl, byte [esi]
lea esi, [esi + 1]
xor dl, byte [edi]
lea edi, [edi + 1]
or al, dl
dec ecx
jne 0x4013ab
neg eax
shr eax, 0x1f
pop edi
pop esi
ret

Function at 0x44c240
Capabilities:
Reference opendns dns server

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d2ab0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x64c00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov edi, dword [ebp + 8]
test edi, edi
je 0x44c321
push 0x400
call fcn.005b1cbb
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x44c321
push 0x3fc
lea ecx, [ebx + 4]
push 0
push ecx
call fcn.005af670
mov esi, dword [0x5d43c8]
add esp, 0xc
mov dword [ebx], 2
push str.208.67.222.222
call esi
push str.208.67.220.220
mov dword [ebx + 4], eax
call esi
mov esi, dword [0x5d40a0]
push 0
mov dword [ebx + 8], eax
lea eax, [ebp + 8]
push eax
push ebx
push 0x142
push 5
push edi
call esi
test eax, eax
jne 0x44c2e6
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x18]
push 0
lea eax, [ebp + 8]
push eax
push ebx
push 0x142
push 1
push edi
call esi
test eax, eax
jne 0x44c321
mov esi, dword [ebp + 8]
nop
test esi, esi
je 0x44c316
mov ecx, dword [esi + 0x18]
call fcn.0044c0a0
mov esi, dword [esi]
jmp 0x44c300
push 1
push dword [ebp + 8]
call dword [0x5d40a4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x456180
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], edx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0xc], esi
push edi
mov edi, dword [esi]
lea ecx, [esi + 8]
mov ebx, dword [esi + 4]
mov dword [ebp - 4], ecx
test edx, edx
je 0x4561e9
mov edx, dword [ebp + 0xc]
sub dword [ebp + 8], edx
mov esi, dword [ebp - 4]
lea eax, [edi + 1]
movzx edi, al
lea edx, [edx + 1]
mov cl, byte [ecx + edi]
movzx eax, cl
add eax, ebx
movzx ebx, al
mov eax, dword [ebp - 4]
mov al, byte [eax + ebx]
mov byte [esi + edi], al
add al, cl
mov byte [esi + ebx], cl
mov ecx, esi
movzx eax, al
movzx eax, byte [eax + ecx]
mov ecx, dword [ebp + 8]
xor al, byte [ecx + edx - 1]
mov ecx, esi
sub dword [ebp - 8], 1
mov byte [edx - 1], al
jne 0x4561a6
mov esi, dword [ebp - 0xc]
mov dword [esi], edi
xor eax, eax
pop edi
mov dword [esi + 4], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45f960
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 0x1505
push edi
lea edi, [esi + eax]
cmp esi, edi
jae 0x45f996
mov al, byte [esi]
push eax
call fcn.0046ba00
movsx ecx, al
inc esi
mov eax, ebx
add esp, 4
shl eax, 5
add eax, ebx
xor ecx, eax
mov ebx, ecx
cmp esi, edi
jb 0x45f978
pop edi
pop esi
movzx eax, bl
pop ebx
pop ebp
ret
Function at 0x46aa80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x10]
call fcn.0046aac0
add esp, 4
mov dword [ebp + 0x10], eax
pop ebp
jmp fcn.005c8b13

Function at 0x46c970
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x46c991
cmp dword [esi + 0x80], 0
je 0x46c991
push 2
push 3
push esi
call fcn.0046bfa0
add esp, 0xc
push dword [ebp + 0xc]
call fcn.0046c3d0
add esp, 4
test esi, esi
je 0x46c9b4
cmp dword [esi + 0x80], 0
je 0x46c9b4
push 3
push esi
call fcn.0046bfe0
add esp, 8
pop esi
pop ebp
ret
Function at 0x4791d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call fcn.005c0974
add esp, 0x18
test eax, eax
je 0x4791f2
cmp eax, 0xffffffff
jne 0x4791f4
xor eax, eax
pop ebp
ret

Function at 0x479bc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c8
mov eax, dword [0x64c00c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x650cc4], 0
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x158], ebx
jne 0x479bf6
call fcn.0047cac0
test al, al
je 0x479c07
mov byte [0x650cc4], 1
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045760b
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x9c0]
test eax, eax
je 0x479c28
push 0x400
push eax
call fcn.004a9960
add esp, 8
call fcn.0047cac0
test al, al
jne 0x479bf6
push esi
push edi
nop word [eax + eax]
mov ebx, 2
mov dword [ebp - 0x150], 4
lea eax, [ebp - 0x44]
mov dword [ebp - 0x148], ebx
mov dword [ebp - 0x14c], eax
nop
lea eax, [ebp - 0x188]
push eax
call fcn.0046c020
push 1
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x178], xmm0
movups xmmword [ebp - 0x168], xmm0
call fcn.0046b9d0
lea eax, [ebp - 0x198]
push eax
call fcn.0046c020
mov esi, dword [eax + 8]
lea eax, [ebp - 0x1a8]
push eax
call fcn.0046c020
add esp, 0x10
mov ecx, eax
mov eax, esi
inc ebx
cdq
mov dword [ebp - 0x154], ebx
add eax, dword [ecx]
push 0
adc edx, dword [ecx + 4]
push ebx
push edx
push eax
call fcn.005d02f0
movups xmm1, xmmword [ebp - 0x178]
mov esi, dword [ebp - 0x148]
mov edi, eax
mov ebx, edx
dec esi
movaps xmm0, xmm1
movd eax, xmm1
psrldq xmm0, 4
movd ecx, xmm0
shld ebx, edi, 8
push ecx
push eax
push 0
push esi
shl edi, 8
call fcn.005d02f0
xor edi, eax
xor ebx, edx
lea eax, [ebp - 0x1b8]
mov dword [ebp - 0x168], edi
push eax
mov dword [ebp - 0x164], ebx
call fcn.0046c020
lea esi, [eax + 8]
lea eax, [ebp - 0x1c8]
push eax
call fcn.0046c020
mov edx, dword [ebp - 0x148]
add esp, 8
mov ecx, dword [esi]
mov ebx, dword [ebp - 0x154]
add ecx, dword [eax]
lea eax, [edx + 2]
mov dword [ebp - 0x148], ebx
imul edx, dword [ebp - 0x160]
imul ecx, eax
mov eax, dword [ebp - 0x14c]
shl ecx, 0x10
xor ecx, edx
mov dword [ebp - 0x160], ecx
movups xmm0, xmmword [ebp - 0x168]
movups xmmword [eax], xmm0
add eax, 0x10
sub dword [ebp - 0x150], 1
mov dword [ebp - 0x14c], eax
jne 0x479c50
movsd xmm0, qword [0x5d9478]
lea eax, [ebp - 0x44]
sub esp, 8
movsd qword [esp], xmm0
push 0x40
push eax
call fcn.004a8c00
add esp, 0x10
call fcn.0047cac0
test al, al
je 0x479c30
lea eax, [ebp - 0x144]
mov byte [ebp - 0x144], 0
push 0x100
push eax
call fcn.004a97a0
add esp, 8
cmp byte [ebp - 0x144], 0
pop edi
pop esi
je 0x479dd4
lea eax, [ebp - 0x144]
push 0x400
push eax
call fcn.004a9960
add esp, 8
call fcn.0047cac0
test al, al
jne 0x479bf6
push str.libcurl_is_now_using_a_weak_random_seed__n
push dword [ebp - 0x158]
call fcn.004687a0
add esp, 8
call fcn.0047cac0
xor edx, edx
mov ecx, 0x23
test al, al
pop ebx
cmovne ecx, edx
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045760b
mov esp, ebp
pop ebp
ret