joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003a00
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x10011674]
sub esp, 0x390
test eax, eax
jne 0x10003c30
push esi
mov ecx, 0x80
call fcn.100042e0
mov dword [0x10011674], eax
push 0xff
lea eax, [ebp - 0x18f]
push 0
push eax
mov byte [ebp - 0x190], 0
call sub.MSVCRT.dll_memset
mov esi, dword [0x10012a44]
add esp, 0xc
mov dword [ebp - 0x10], 0
test esi, esi
jne 0x10003a78
push 0x100
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x10003a70
mov ecx, eax
call fcn.100079d4
mov esi, eax
jmp 0x10003a72
xor esi, esi
mov dword [0x10012a44], esi
push edi
mov edi, esi
test esi, esi
jne 0x10003aa3
push 0x100
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x10003a9b
mov ecx, eax
call fcn.100079d4
mov esi, eax
jmp 0x10003a9d
xor esi, esi
mov dword [0x10012a44], esi
mov eax, dword [edi + 0xec]
call eax
push eax
mov eax, dword [esi + 0xd0]
push 0
push 0x20400
call eax
mov esi, eax
mov eax, dword [0x10012a48]
mov dword [ebp - 4], 0
pop edi
test eax, eax
jne 0x10003aef
push 0x8c
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x10003ae8
mov ecx, eax
call fcn.10007ee2
jmp 0x10003aea
xor eax, eax
mov dword [0x10012a48], eax
mov eax, dword [eax + 0x80]
lea ecx, [ebp - 4]
push ecx
push 8
push esi
call eax
mov eax, dword [0x10012a48]
pop esi
test eax, eax
jne 0x10003b29
push 0x8c
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x10003b22
mov ecx, eax
call fcn.10007ee2
jmp 0x10003b24
xor eax, eax
mov dword [0x10012a48], eax
mov eax, dword [eax + 0x68]
lea ecx, [ebp - 0x10]
push ecx
push 0x200
lea ecx, [ebp - 0x390]
push ecx
push 1
push dword [ebp - 4]
call eax
mov eax, dword [0x10012a48]
mov dword [ebp - 8], 0
test eax, eax
jne 0x10003b74
push 0x8c
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x10003b6d
mov ecx, eax
call fcn.10007ee2
jmp 0x10003b6f
xor eax, eax
mov dword [0x10012a48], eax
mov eax, dword [eax + 0x64]
lea ecx, [ebp - 8]
push ecx
push dword [ebp - 0x390]
call eax
mov edx, dword [ebp - 8]
lea ecx, [ebp - 0x190]
call fcn.100048e0
lea eax, [ebp - 0x8f]
push 0x7f
push 0
push eax
mov byte [ebp - 0x90], 0
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x90]
push eax
mov dword [ebp - 0xc], 0x80
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea edx, [ebp - 0x90]
lea ecx, [ebp - 0x190]
call fcn.100048e0
lea ecx, [ebp - 0x190]
push 0
push 0x151f20dc
call fcn.10004980
lea ecx, [ebp - 0x190]
push 0
push eax
call fcn.10004150
push edx
push eax
push str._I64u
push dword [0x10011674]
call sub.MSVCRT.dll_sprintf
mov ecx, dword [0x10011210]
add esp, 0x10
mov edx, 0x10011240
push 0x200
call fcn.10003700
mov ecx, dword [0x10011674]
mov edx, eax
call fcn.100048e0
mov eax, dword [0x10011674]
mov esp, ebp
pop ebp
ret
Function at 0x100064d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000fa30
push 0x100077be
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov eax, ecx
mov dword [ebp - 0x24], eax
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100066cd
mov ebx, dword [eax + 0x3c]
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x100066cd
mov eax, dword [0x10012a44]
test eax, eax
jne 0x10006544
push 0x100
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x1000653d
mov ecx, eax
call fcn.100079d4
jmp 0x1000653f
xor eax, eax
mov dword [0x10012a44], eax
push 4
push 0x2000
push dword [ebx + 0x50]
push dword [ebx + 0x34]
mov eax, dword [eax + 0x14]
call eax
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x1000657e
call fcn.10003e60
push 4
push 0x2000
push dword [ebx + 0x50]
push 0
mov eax, dword [eax + 0x14]
call eax
mov dword [ebp - 0x20], eax
test eax, eax
je 0x100066cd
call fcn.10003e60
lea esi, [eax + 0x9c]
push 0x14
push 0
call fcn.10003e60
mov eax, dword [eax + 0xa8]
call eax
push eax
mov eax, dword [esi]
call eax
mov edi, eax
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x20]
mov dword [edi + 4], eax
mov dword [edi + 0xc], 0
call fcn.10003e60
lea esi, [eax + 0x9c]
push 0x1000
push 0
call fcn.10003e60
mov ecx, dword [eax + 0xa8]
call ecx
push eax
mov eax, dword [esi]
call eax
mov dword [edi + 8], eax
mov dword [edi + 0x10], 0
call fcn.10003e60
push 4
push 0x1000
push dword [ebx + 0x50]
mov esi, dword [ebp - 0x20]
push esi
mov eax, dword [eax + 0x14]
call eax
call fcn.10003e60
push 4
push 0x1000
push dword [ebx + 0x54]
push esi
mov eax, dword [eax + 0x14]
call eax
mov esi, eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x3c]
add ecx, dword [ebx + 0x54]
push ecx
mov edx, eax
mov ecx, esi
call fcn.10004350
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x3c]
add eax, esi
mov dword [edi], eax
mov esi, dword [ebp - 0x20]
mov dword [eax + 0x34], esi
push edi
mov edx, ebx
mov ecx, dword [ebp - 0x24]
call fcn.10006130
mov edx, esi
sub edx, dword [ebx + 0x34]
je 0x1000664a
mov ecx, edi
call fcn.100066e0
mov ecx, edi
call fcn.10005ed0
test eax, eax
je 0x100066c6
mov ecx, edi
call fcn.10006240
mov eax, dword [edi]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x100066b3
xor bl, bl
add eax, esi
mov dword [ebp - 4], 0
push 0
push 1
push esi
call eax
movzx ecx, bl
mov edx, 1
test eax, eax
cmove ecx, edx
mov byte [ebp - 0x19], cl
mov dword [ebp - 4], 0xffffffff
jmp 0x100066a8
test cl, cl
jne 0x100066c6
mov dword [edi + 0x10], 1
mov eax, edi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.10006370
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100084d2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
mov eax, dword [ebx + 0x3c]
push edi
mov edi, dword [eax + ebx + 0x78]
add edi, ebx
xor esi, esi
mov dword [ebp - 4], edx
cmp dword [edi + 0x18], esi
jbe 0x1000850b
mov eax, dword [edi + 0x20]
lea ecx, [ebx + esi*4]
mov edx, dword [ecx + eax]
mov ecx, dword [ebp - 4]
add edx, ebx
call fcn.10008529
test eax, eax
jne 0x10008512
inc esi
cmp esi, dword [edi + 0x18]
jb 0x100084ee
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [edi + 0x24]
lea eax, [eax + esi*2]
movzx ecx, word [eax + ebx]
mov eax, dword [edi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + ebx]
add eax, ebx
jmp 0x1000850d

Function at 0x1000857d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
add esi, edx
push edi
mov edi, ecx
cmp edx, 4
jb 0x100085bb
push ebx
mov ebx, edx
shr ebx, 2
mov eax, dword [edi]
imul esi, esi, 0x5bd1e995
imul eax, eax, 0x5bd1e995
mov ecx, eax
shr ecx, 0x18
xor ecx, eax
imul ecx, ecx, 0x5bd1e995
xor esi, ecx
sub edx, 4
add edi, 4
dec ebx
jne 0x10008594
pop ebx
dec edx
je 0x100085d6
dec edx
je 0x100085cd
dec edx
jne 0x100085e1
movzx eax, byte [edi + 2]
shl eax, 0x10
xor esi, eax
movzx eax, byte [edi + 1]
shl eax, 8
xor esi, eax
movzx eax, byte [edi]
xor esi, eax
imul esi, esi, 0x5bd1e995
mov ecx, esi
shr ecx, 0xd
xor ecx, esi
imul ecx, ecx, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
pop edi
xor eax, ecx
pop esi
pop ebp
ret 4

Function at 0x10008cba
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 0x38]
mov dl, byte [esi + 0x34]
test edi, edi
jle 0x10008cf1
mov ecx, dword [esi + 0x260]
push ebx
movzx ebx, dl
mov eax, ecx
shr eax, 0x18
xor eax, ebx
shl ecx, 8
xor ecx, dword [eax*4 + 0x10010ae0]
mov dword [esi + 0x260], ecx
dec edi
jne 0x10008cd6
pop ebx
mov eax, dword [esi + 0x34]
mov byte [esi + eax + 0x58], 1
mov ecx, dword [esi + 0x38]
mov eax, ecx
dec eax
je 0x10008d6d
dec eax
je 0x10008d59
dec eax
je 0x10008d4d
mov byte [ecx + esi + 0x54], 1
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x24]
mov byte [ecx + eax], dl
inc dword [esi + 0x44]
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x24]
mov byte [ecx + eax], dl
inc dword [esi + 0x44]
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x24]
mov byte [ecx + eax], dl
inc dword [esi + 0x44]
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x24]
mov byte [ecx + eax], dl
inc dword [esi + 0x44]
mov cl, byte [esi + 0x38]
mov edx, dword [esi + 0x44]
mov eax, dword [esi + 0x24]
sub cl, 4
mov byte [edx + eax], cl
jmp 0x10008d76
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x24]
mov byte [ecx + eax], dl
inc dword [esi + 0x44]
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x24]
mov byte [ecx + eax], dl
inc dword [esi + 0x44]
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x24]
jmp 0x10008d73
mov ecx, dword [esi + 0x24]
mov eax, dword [esi + 0x44]
mov byte [ecx + eax], dl
inc dword [esi + 0x44]
pop edi
pop esi
pop ebp
ret
Function at 0x4187a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [edx + 8]
mov dword [esp], edx
mov esi, ecx
mov cl, 1
lea ebp, [eax + 1]
mov dword [edx + 8], ebp
mov edi, dword [edx]
mov edx, dword [edx + 4]
cmp ebp, edx
mov dword [esp + 8], edx
jae 0x4187e8
mov cl, byte [edi + ebp]
cmp cl, 0x2b
je 0x4187d7
cmp cl, 0x2d
mov cl, 1
jne 0x4187e8
xor ecx, ecx
jmp 0x4187d9
mov cl, 1
mov edx, dword [esp]
add eax, 2
mov ebp, eax
mov dword [edx + 8], eax
mov edx, dword [esp + 8]
cmp ebp, edx
jae 0x41899e
mov eax, edi
mov edi, ecx
mov edx, dword [esp]
mov cl, byte [eax + ebp]
mov dword [esp + 0x1c], eax
lea eax, [ebp + 1]
mov dword [edx + 8], eax
add cl, 0xd0
cmp cl, 0xa
jae 0x4189a8
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x38]
mov dword [esp + 4], esi
movzx esi, cl
cmp eax, edx
jae 0x418898
neg edx
add ebp, 2
mov ecx, edi
mov dword [esp + 0x18], ebx
jmp 0x418847
mov edx, ebx
lea ebx, [ebx + ebp + 1]
movzx eax, al
lea ecx, [esi + esi*4]
inc ebp
lea esi, [eax + ecx*2]
mov ecx, edi
cmp ebx, 1
je 0x41889a
mov eax, dword [esp + 0x1c]
movzx eax, byte [eax + ebp - 1]
add al, 0xd0
cmp al, 0xa
jae 0x41889a
mov ebx, edx
mov edx, dword [esp]
cmp esi, 0xccccccc
mov dword [edx + 8], ebp
jl 0x418830
jne 0x41886c
cmp al, 7
jbe 0x418830
mov edx, dword [esp + 0x18]
xor eax, eax
movzx esi, cl
movzx edi, byte [esp + 0x34]
mov ecx, dword [esp + 4]
or edx, dword [esp + 0x3c]
mov edx, dword [esp]
sete al
push esi
push eax
push edi
call fcn.0056ae10
add esp, 0x2c
jmp 0x41898c
mov ecx, edi
mov edi, dword [esp + 0x40]
xor eax, eax
test cl, cl
je 0x4188b4
mov ecx, edi
add ecx, esi
setns al
add eax, 0x7fffffff
add edi, esi
jmp 0x4188c0
cmp edi, esi
setns al
add eax, 0x7fffffff
sub edi, esi
cmovo edi, eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 4]
movd xmm0, eax
movd xmm1, ecx
mov eax, edi
punpckldq xmm1, xmm0
neg eax
punpckldq xmm1, xmmword [0x573210]
cmovl eax, edi
cmp eax, 0x135
subpd xmm1, xmmword [0x573220]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
jb 0x418948
movsd xmm2, qword [0x573230]
xorpd xmm1, xmm1
nop word cs:[eax + eax]
nop dword [eax + eax]
ucomisd xmm0, xmm1
jne 0x418928
jnp 0x418971
test edi, edi
jns 0x4189cc
divsd xmm0, xmm2
add edi, 0x134
mov eax, edi
neg eax
cmovl eax, edi
cmp eax, 0x135
jae 0x418920
mov ecx, dword [0x61c0b8]
test edi, edi
movsd xmm1, qword [ecx + eax*8]
js 0x418991
mulsd xmm0, xmm1
movapd xmm1, xmmword [0x573240]
andpd xmm1, xmm0
ucomisd xmm1, qword [0x573250]
jae 0x4189cc
cmp byte [esp + 0x34], 0
jne 0x418980
xorpd xmm0, xmmword [0x573260]
movsd qword [esi + 8], xmm0
xor eax, eax
mov dword [esi], eax
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
divsd xmm0, xmm1
cmp byte [esp + 0x34], 0
je 0x418978
jmp 0x418980
mov dword [esp + 0xc], 5
jmp 0x4189b0
mov dword [esp + 0xc], 0xc
lea eax, [esp + 0xc]
push eax
push dword [esp + 4]
call fcn.0056aea0
add esp, 8
mov dword [esi + 4], eax
mov dword [esi], 1
jmp 0x418989
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0xd
push eax
push dword [esp + 4]
call fcn.0056aea0
add esp, 8
mov dword [esi + 4], eax
mov eax, 1
jmp 0x418987
Function at 0x437f70
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address

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], 0x4381b0
lea eax, [esi + 0x70]
mov ecx, dword fs:[0]
mov dword [esi + 0x70], ecx
mov dword fs:[0], eax
lea eax, [esi + 4]
mov dword [esi + 0x78], 0
push eax
call fcn.004ccf10
add esp, 4
mov eax, dword [ebp + 8]
movsd xmm1, qword [eax + 0x10]
movsd xmm0, qword [eax + 0x20]
movsd xmm2, qword [eax + 0x18]
movsd xmm3, qword [eax]
movsd qword [esi + 0x50], xmm1
movsd xmm1, qword [eax + 8]
movsd qword [esi + 0x58], xmm2
mov eax, dword [esi + 0x1c]
movsd qword [esi + 0x60], xmm0
movsd qword [esi + 0x40], xmm3
movsd xmm2, qword [esi + 4]
movsd qword [esi + 0x48], xmm1
movsd xmm1, qword [esi + 0xc]
movsd qword [esi + 0x20], xmm2
mov dword [esi + 0x38], eax
movsd qword [esi + 0x28], xmm1
movsd xmm1, qword [esi + 0x14]
movsd qword [esi + 0x30], xmm1
push 8
push 0x48
call fcn.0043c290
add esp, 8
test eax, eax
je 0x43804c
mov edi, eax
lea eax, [esi + 0x20]
push 0x48
push eax
push edi
call fcn.0054ad50
add esp, 0xc
mov eax, dword [esi + 0x70]
mov edx, 0x5756cc
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 8
push 0x48
call fcn.00570650
add esp, 8
ud2
Function at 0x4392c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [esp + 0x24]
mov esi, dword [eax + 4]
mov edx, dword [eax + 8]
mov ecx, dword [eax]
cmp edx, esi
jae 0x439311
mov edi, 0x800013
nop dword [eax]
movzx ebx, byte [ecx + edx]
mov bh, bl
add bh, 0xf7
cmp bh, 0x17
ja 0x4393a5
movzx ebp, bh
bt edi, ebp
jae 0x4393a5
inc edx
cmp esi, edx
mov dword [eax + 8], edx
jne 0x4392e0
mov dword [esp], 0
mov edx, esi
jmp 0x439318
mov dword [esp], 0
movzx edi, byte [esp]
movzx ebx, bl
shl ebx, 0x10
shl edi, 8
or ebx, edi
xor ebx, 0x6e0100
jne 0x439384
lea edi, [edx + 1]
cmp edi, esi
mov dword [eax + 8], edi
jae 0x4393b3
mov bl, byte [ecx + edx + 1]
lea edi, [edx + 2]
mov dword [eax + 8], edi
cmp bl, 0x75
jne 0x43937a
cmp edi, esi
jae 0x4393b3
mov bl, byte [ecx + edx + 2]
lea edi, [edx + 3]
mov dword [eax + 8], edi
cmp bl, 0x6c
jne 0x43937a
cmp edi, esi
jae 0x4393b3
mov cl, byte [ecx + edx + 3]
add edx, 4
mov esi, 0
mov dword [eax + 8], edx
xor edx, edx
cmp cl, 0x6c
mov ecx, 0
je 0x4393cf
mov dword [esp + 4], 9
jmp 0x4393bb
push eax
call fcn.0041c580
add esp, 4
mov cx, 1
test ax, ax
je 0x43939c
mov si, 1
jmp 0x4393cf
shr eax, 0x10
xor esi, esi
mov edx, eax
jmp 0x4393cf
mov edi, eax
mov al, 1
mov dword [esp], eax
mov eax, edi
jmp 0x439318
mov dword [esp + 4], 5
lea ecx, [esp + 4]
push ecx
push eax
call fcn.0056aea0
add esp, 8
mov edx, eax
mov si, 1
shl ecx, 0x10
movzx eax, si
or eax, ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4393e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
mov edi, dword [eax + 4]
mov edx, dword [eax + 8]
mov ecx, dword [eax]
cmp edx, edi
jae 0x439429
mov ebp, 0x800013
movzx ebx, byte [ecx + edx]
mov bh, bl
add bh, 0xf7
cmp bh, 0x17
ja 0x439432
movzx esi, bh
bt ebp, esi
jae 0x439432
inc edx
cmp edi, edx
mov dword [eax + 8], edx
jne 0x439400
mov dword [esp], 0
mov edx, edi
jmp 0x43943b
mov dword [esp], 0
jmp 0x43943f
mov esi, eax
mov al, 1
mov dword [esp], eax
mov eax, esi
mov ebp, dword [esp + 0x28]
movzx esi, byte [esp]
movzx ebx, bl
shl ebx, 0x10
shl esi, 8
or ebx, esi
xor ebx, 0x6e0100
jne 0x4394b5
lea esi, [edx + 1]
cmp esi, edi
mov dword [eax + 8], esi
jae 0x4394f5
mov bl, byte [ecx + edx + 1]
mov byte [esp], bl
lea ebx, [edx + 2]
cmp byte [esp], 0x75
mov dword [eax + 8], ebx
jne 0x4394ff
cmp ebx, edi
jae 0x4394f5
mov bl, byte [ecx + edx + 2]
mov byte [esp], bl
lea ebx, [edx + 3]
cmp byte [esp], 0x6c
mov dword [eax + 8], ebx
jne 0x4394ff
cmp ebx, edi
jae 0x4394f5
mov cl, byte [ecx + edx + 3]
add edx, 4
mov dword [eax + 8], edx
cmp cl, 0x6c
jne 0x4394ff
mov dword [ebp + 4], 0
mov dword [ebp], 0
jmp 0x43951f
lea ecx, [esp + 4]
push eax
push ecx
call fcn.0041bac0
add esp, 8
cmp dword [esp + 4], 1
jne 0x4394db
mov eax, dword [esp + 8]
mov ecx, 1
mov dword [ebp + 4], eax
mov dword [ebp], ecx
jmp 0x43951f
lea eax, [esp + 8]
mov ecx, dword [eax + 8]
movsd xmm0, qword [eax]
xor eax, eax
mov dword [ebp + 0xc], ecx
movsd qword [ebp + 4], xmm0
mov dword [ebp], eax
jmp 0x43951f
mov dword [esp + 4], 5
jmp 0x439507
mov dword [esp + 4], 9
lea ecx, [esp + 4]
push ecx
push eax
call fcn.0056aea0
add esp, 8
mov dword [ebp + 4], eax
mov dword [ebp], 1
mov eax, ebp
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x439530
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
mov edi, dword [eax + 4]
mov edx, dword [eax + 8]
mov ecx, dword [eax]
cmp edx, edi
jae 0x439579
mov ebp, 0x800013
movzx ebx, byte [ecx + edx]
mov bh, bl
add bh, 0xf7
cmp bh, 0x17
ja 0x439582
movzx esi, bh
bt ebp, esi
jae 0x439582
inc edx
cmp edi, edx
mov dword [eax + 8], edx
jne 0x439550
mov dword [esp], 0
mov edx, edi
jmp 0x43958b
mov dword [esp], 0
jmp 0x43958f
mov esi, eax
mov al, 1
mov dword [esp], eax
mov eax, esi
mov ebp, dword [esp + 0x28]
movzx esi, byte [esp]
movzx ebx, bl
shl ebx, 0x10
shl esi, 8
or ebx, esi
xor ebx, 0x6e0100
jne 0x439605
lea esi, [edx + 1]
cmp esi, edi
mov dword [eax + 8], esi
jae 0x439645
mov bl, byte [ecx + edx + 1]
mov byte [esp], bl
lea ebx, [edx + 2]
cmp byte [esp], 0x75
mov dword [eax + 8], ebx
jne 0x43964f
cmp ebx, edi
jae 0x439645
mov bl, byte [ecx + edx + 2]
mov byte [esp], bl
lea ebx, [edx + 3]
cmp byte [esp], 0x6c
mov dword [eax + 8], ebx
jne 0x43964f
cmp ebx, edi
jae 0x439645
mov cl, byte [ecx + edx + 3]
add edx, 4
mov dword [eax + 8], edx
cmp cl, 0x6c
jne 0x43964f
mov dword [ebp + 4], 0
mov dword [ebp], 0
jmp 0x43966f
lea ecx, [esp + 4]
push eax
push ecx
call fcn.0041c020
add esp, 8
cmp dword [esp + 4], 1
jne 0x43962b
mov eax, dword [esp + 8]
mov ecx, 1
mov dword [ebp + 4], eax
mov dword [ebp], ecx
jmp 0x43966f
lea eax, [esp + 8]
mov ecx, dword [eax + 8]
movsd xmm0, qword [eax]
xor eax, eax
mov dword [ebp + 0xc], ecx
movsd qword [ebp + 4], xmm0
mov dword [ebp], eax
jmp 0x43966f
mov dword [esp + 4], 5
jmp 0x439657
mov dword [esp + 4], 9
lea ecx, [esp + 4]
push ecx
push eax
call fcn.0056aea0
add esp, 8
mov dword [ebp + 4], eax
mov dword [ebp], 1
mov eax, ebp
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x439680
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
mov edi, dword [eax + 4]
mov edx, dword [eax + 8]
mov ecx, dword [eax]
cmp edx, edi
jae 0x4396c9
mov ebp, 0x800013
movzx ebx, byte [ecx + edx]
mov bh, bl
add bh, 0xf7
cmp bh, 0x17
ja 0x4396d2
movzx esi, bh
bt ebp, esi
jae 0x4396d2
inc edx
cmp edi, edx
mov dword [eax + 8], edx
jne 0x4396a0
mov dword [esp], 0
mov edx, edi
jmp 0x4396db
mov dword [esp], 0
jmp 0x4396df
mov esi, eax
mov al, 1
mov dword [esp], eax
mov eax, esi
mov ebp, dword [esp + 0x28]
movzx esi, byte [esp]
movzx ebx, bl
shl ebx, 0x10
shl esi, 8
or ebx, esi
xor ebx, 0x6e0100
jne 0x439755
lea esi, [edx + 1]
cmp esi, edi
mov dword [eax + 8], esi
jae 0x439795
mov bl, byte [ecx + edx + 1]
mov byte [esp], bl
lea ebx, [edx + 2]
cmp byte [esp], 0x75
mov dword [eax + 8], ebx
jne 0x43979f
cmp ebx, edi
jae 0x439795
mov bl, byte [ecx + edx + 2]
mov byte [esp], bl
lea ebx, [edx + 3]
cmp byte [esp], 0x6c
mov dword [eax + 8], ebx
jne 0x43979f
cmp ebx, edi
jae 0x439795
mov cl, byte [ecx + edx + 3]
add edx, 4
mov dword [eax + 8], edx
cmp cl, 0x6c
jne 0x43979f
mov dword [ebp + 4], 0
mov dword [ebp], 0
jmp 0x4397bf
lea ecx, [esp + 4]
push eax
push ecx
call fcn.0041c900
add esp, 8
cmp dword [esp + 4], 1
jne 0x43977b
mov eax, dword [esp + 8]
mov ecx, 1
mov dword [ebp + 4], eax
mov dword [ebp], ecx
jmp 0x4397bf
lea eax, [esp + 8]
mov ecx, dword [eax + 8]
movsd xmm0, qword [eax]
xor eax, eax
mov dword [ebp + 0xc], ecx
movsd qword [ebp + 4], xmm0
mov dword [ebp], eax
jmp 0x4397bf
mov dword [esp + 4], 5
jmp 0x4397a7
mov dword [esp + 4], 9
lea ecx, [esp + 4]
push ecx
push eax
call fcn.0056aea0
add esp, 8
mov dword [ebp + 4], eax
mov dword [ebp], 1
mov eax, ebp
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43dce0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x43feb0
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov eax, dword [0x61cc1c]
cmp eax, 3
je 0x43dd44
lea eax, [ebp - 0x38]
mov byte [ebp - 0x38], 1
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push 0x576d8c
push eax
push 0
push 0x61cc1c
call fcn.0056fe50
add esp, 0x10
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 0
call fcn.0050b1b0
mov esi, eax
test eax, eax
je 0x43de62
push 1
push 0x100
call fcn.0043c2e0
add esp, 8
mov ebx, dword [ebp + 8]
test eax, eax
je 0x43de7c
mov edi, eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
push 4
push 0x98
call fcn.0043c290
add esp, 8
test eax, eax
je 0x43de85
movsd xmm0, qword [ebp - 0x30]
mov ecx, dword [ebp - 0x28]
movsd xmm1, qword [ebx + 8]
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x14], 0
movsd xmm2, qword [ebx + 0x10]
movsd xmm3, qword [ebx]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], 1
mov dword [eax + 0x20], ecx
movsd qword [eax + 0x18], xmm0
mov dword [eax + 0x24], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], edi
mov dword [eax + 0x50], 0x100
mov dword [eax + 0x54], 0x100
movsd qword [eax + 0x60], xmm1
movsd xmm1, qword [ebx + 0x18]
movsd qword [eax + 0x68], xmm2
movsd xmm2, qword [ebx + 0x20]
lea ecx, [ebp - 0x24]
movsd qword [eax + 0x58], xmm3
movsd qword [eax + 0x70], xmm1
movsd xmm1, qword [ebx + 0x28]
movsd qword [eax + 0x78], xmm2
movsd xmm2, qword [ebx + 0x30]
movsd qword [eax + 0x80], xmm1
movsd xmm1, qword [ebx + 0x38]
movsd qword [eax + 0x88], xmm2
movsd qword [eax + 0x90], xmm1
call fcn.0043dee0
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
mov dword fs:[0], ecx
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov byte [ebp - 0x1d], 1
push 0x5765cc
push 0x23
push str.assertion_failed:__handle.is_null__C:Userscompile_bamboo.cargo_registry_srcgithub.com_1ecc6299db9ec823curl_0.4.42_srceasyhandler.rs
call fcn.005707b0
add esp, 0xc
ud2
push 1
push 0x100
jmp 0x43de8c
push 4
push 0x98
call fcn.00570650
add esp, 8
ud2