joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000b4e3
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, 0x1541
xor ebx, ebx
mov dword [0x10193768], 0
mov dword [0x1019376c], 0
mov dword [0x10193778], 0
mov dword [0x10193760], 0x1541
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, ebx
mov dword [ebp - 0x14], eax
mov eax, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], ebx
je 0x1000b651
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x28]
mov edi, 0x100
add edx, 1
mov ebx, eax
add ebx, 1
add esi, 0xffffe50f
mov dword [0x10193760], esi
mov dword [ebp - 0x30], eax
mov eax, edx
cdq
idiv edi
mov dword [0x10193768], edx
mov dword [0x10193764], 0x1c5a
mov esi, dword [ebp - 0x24]
movzx esi, byte [esi + edx]
add esi, ecx
mov eax, esi
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x1019376c], edx
mov dword [0x10193760], 0xe53
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x10193770], cl
mov dword [0x10193764], 0x1303
mov edi, dword [ebp - 0x24]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x10193770]
mov edx, dword [0x1019376c]
mov byte [edi + edx], cl
mov edx, dword [0x10193760]
mov ecx, edx
add ecx, 0x1414
mov dword [0x10193760], ecx
mov ecx, dword [0x10193768]
movzx ecx, byte [edi + ecx]
mov esi, dword [0x1019376c]
movzx esi, byte [edi + esi]
add esi, ecx
mov ecx, edx
add ecx, 0xfffff366
mov dword [0x10193760], ecx
and esi, 0xff
mov dword [0x10193778], esi
mov cl, byte [edi + esi]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x30]
mov ch, byte [esi + edi]
add edx, 0xffffe34d
mov dword [0x10193760], edx
xor ch, cl
mov edx, dword [ebp - 0x20]
mov byte [edx + edi], ch
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
jne 0x1000b663
mov dword [0x10193764], 0xaeb
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x10193768]
mov ecx, dword [0x10193760]
mov edx, dword [0x1019376c]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x2c], esi
jmp 0x1000b54e
Function at 0x4021e0
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x405518
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x94
mov eax, dword [0x409040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ecx + 0x1818]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004031b0
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
push ecx
cmova eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x78]
push ecx
push 0
push 0
push 0
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0x44
push 0
push 0
push 0
push eax
movlpd qword [ebp - 0x74], xmm0
movlpd qword [ebp - 0x6c], xmm0
movlpd qword [ebp - 0x64], xmm0
movlpd qword [ebp - 0x5c], xmm0
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movups xmmword [ebp - 0x88], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40233f
cmp dword [ebp - 0x18], 7
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
cmova ecx, dword [ebp - 0x2c]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x2c]
cmova ecx, dword [ebp - 0x2c]
push ecx
push eax
push ecx
lea ecx, [ebp - 0xa0]
call fcn.00403890
mov esi, eax
mov byte [ebp - 4], 1
mov edx, str.Open_GameLaucher__CreateProcess:
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00403670
cmp dword [esi + 0x14], 0xf
mov edx, esi
jbe 0x4022e8
mov edx, dword [esi]
push 0x4039a0
push ecx
push dword [esi + 0x10]
mov ecx, eax
call fcn.004041f0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [ebp - 0x8c]
cmp ecx, 0xf
jbe 0x40233f
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402335
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402335
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004045bd
add esp, 8
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x40237b
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402371
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402371
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004045bd
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040446a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x4028c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x4028ec
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x402914
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x40291a
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, ecx
cdq
mov dword [esp + 0x10], eax
mov ecx, edx
mov dword [esp + 0x14], ecx
test edi, edi
jl 0x402982
jg 0x402931
test esi, esi
je 0x402982
test ecx, ecx
jl 0x40297d
jg 0x40293b
test eax, eax
je 0x40297d
cmp edi, ecx
jg 0x40294f
jl 0x402945
cmp esi, eax
jae 0x40294f
mov eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x24]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [esp + 0x14]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x402985
mov ecx, dword [ebp + 8]
jmp 0x40298f
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x4029a9
jg 0x40298f
test esi, esi
je 0x4029a9
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x4029a9
push eax
push esi
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4029c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], esi
test eax, eax
jg 0x4029ec
jl 0x4029e0
test ecx, ecx
jne 0x4029ec
pop esi
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x402a05
push eax
push ecx
push esi
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
push edi
mov edi, ecx
mov eax, dword [eax]
mov dword [ebp - 8], eax
test eax, eax
je 0x402a53
mov eax, dword [ebx + 0x2c]
lea edx, [ebx + 0x2c]
mov dword [ebp - 0xc], edx
mov eax, dword [eax]
test eax, eax
je 0x402a59
mov edi, dword [ebp - 4]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push dword [ebp - 8]
push edi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [ebp - 4], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [ebp - 4]
jmp 0x402a59
lea eax, [ebx + 0x2c]
mov dword [ebp - 0xc], eax
cmp dword [ebx + 0x4c], 0
je 0x402ac6
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x402a82
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [eax], edx
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp edi, 0xfff
jbe 0x402ab4
nop
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call eax
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x402ac6
cmp edi, eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
ja 0x402a90
test edi, edi
je 0x402ac6
push dword [ebx + 0x4c]
push edi
push 1
push esi
call eax
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x402e40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x409040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x402e70
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040446a
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x402eac
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x402eac
lea ecx, [edi - 1]
mov eax, ebx
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
pop edi
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040446a
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x402f83
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x402ed4
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x402ee0
movsx eax, bl
jmp 0x402f18
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x402f42
sub eax, 1
je 0x402f42
sub eax, 2
jne 0x402f83
movsx eax, byte [ebp - 0x25]
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmove ebx, ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040446a
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x402f60
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x402f83
lea ecx, [ebp - 0x25]
mov byte [esi + 0x3d], 1
or eax, 0xffffffff
cmp dword [ebp - 0x30], ecx
pop edi
pop esi
cmovne eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040446a
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040446a
mov esp, ebp
pop ebp
ret 4
Function at 0x4033b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x409040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x40346c
cmp byte [esi + 0x3d], 0
je 0x40346c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x40345a
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x403421
sub eax, 1
je 0x403425
sub eax, 2
jne 0x40345a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040446a
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x403443
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x40345a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040446a
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040446a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0040446a
mov esp, ebp
pop ebp
ret

Function at 0x404f09
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x404f48
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x404f48
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x404f48
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x404f48
cmp dword [ecx + 0x74], 0xe
jbe 0x404f48
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1000e1bc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x1000e1cb
pop dword [ebp - 0x14]
mov eax, 0x56884099
add eax, 0xb978a132
sub dword [ebp - 0x14], eax
push 0x40
push 0x1000
push 0x39089
push 0
mov eax, 0x7003eaad
add eax, 0x9ffd55b7
add eax, dword [ebp - 0x14]
call dword [eax]
mov ecx, 0x430573f6
sub ecx, 0x43052bda
xor edx, edx
add edx, eax
mov edi, 0x10018600
add edi, dword [ebp - 0x14]
mov esi, 0x6e5898fd
sub esi, 0x446c80d
xor dword [ebp - 8], 0x56dbf1b0
mov ebx, dword [edi]
xor dword [ebp - 0x10], edx
sub ebx, esi
mov dword [ebp - 4], 0x482c8298
mov dword [edx], ebx
xor dword [ebp - 8], edx
add edx, 4
add edi, 0xfb7d64a3
add edi, 0x4829b61
loop 0x1000e226
add eax, 0x11343
xor ebx, ebx
add ebx, eax
add eax, 0xfdd6d9de
sub eax, 0xfdd6d9d9
mov ecx, 0x10000000
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x40f330
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov dword [ebp - 4], 0
jmp 0x40f34b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 8]
jge 0x40f391
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0xc]
call fcn.00405410
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0x4116e8
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x40f342
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 8]
sub edx, 1
mov dword [ebp - 4], edx
jmp 0x40f3ab
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x40f3e9
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x10]
call fcn.00405410
push eax
mov eax, dword [ebp + 0xc]
push eax
push str._s_s
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x40f3a2
mov esp, ebp
pop ebp
ret

Function at 0x40f3f0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx]
cmp edx, 0x22
jne 0x40f45d
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx]
test edx, edx
je 0x40f444
mov eax, dword [ebp - 4]
movsx ecx, byte [eax]
cmp ecx, 0x22
jne 0x40f439
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 8], edx
jmp 0x40f444
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x40f419
mov ecx, dword [ebp - 8]
movsx edx, byte [ecx]
cmp edx, 0x20
jne 0x40f458
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x40f488
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx]
test edx, edx
je 0x40f485
mov eax, dword [ebp - 4]
movsx ecx, byte [eax]
cmp ecx, 0x20
jne 0x40f47a
mov eax, dword [ebp - 4]
add eax, 1
jmp 0x40f488
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x40f45d
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x401ae0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x40406c], eax
push str.Riched32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push str.mifedount
push str.Deltapo
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x401b33
xor eax, eax
jmp 0x401b4e
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x401060
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push esi
push edi
push 0x11
pop ecx
xor eax, eax
lea edi, [ebp - 0x58]
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor esi, esi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
push esi
push esi
push esi
push 0x20
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], esi
push esi
mov dword [ebp - 0x58], 0x44
mov dword [ebp - 0x2c], 1
mov word [ebp - 0x28], si
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edi, eax
cmp edi, esi
je 0x4010d7
cmp dword [ebp + 0xc], esi
je 0x4010bf
push 0xffffffffffffffff
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4010dd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x4010e3
Capabilities:
Accept command line arguments
Get common file path
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x4bc
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edi, eax
push str._delete
push edi
call fcn.00401670
pop ecx
mov esi, eax
neg esi
pop ecx
sbb esi, esi
neg esi
push 0
pop ebx
jne 0x40112b
push str._noruntask
push edi
call fcn.00401670
test eax, eax
pop ecx
pop ecx
mov dword [ebp + 0x64], 1
je 0x40112e
mov dword [ebp + 0x64], ebx
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x40730f
lea eax, [ebp - 0x254]
push eax
call edi
push 0x407310
lea eax, [ebp + 0x2c]
push eax
call edi
push 0x200
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x38
lea eax, [ebp + 0x2c]
push eax
push str.USERNAME
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
cmp esi, ebx
je 0x40119f
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str._schtasks.exe__delete__tn__JavaUpdate
lea eax, [ebp - 0x254]
push eax
call esi
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp - 0x254]
push eax
call esi
push str.___f
jmp 0x40127b
push 0x80
lea eax, [ebp - 0x54]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
jbe 0x4011f3
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
jmp 0x4011d2
cmp byte [ebp + eax - 0x54], 0x5c
je 0x4011d7
dec eax
jns 0x4011cb
jmp 0x40120d
mov byte [ebp + eax - 0x54], bl
push 0x407350
lea eax, [ebp - 0x54]
push eax
call esi
push 0x407354
lea eax, [ebp - 0x54]
push eax
call esi
jmp 0x40120d
push str.jusched.exe
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x54]
push str._s_s
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x454]
push str._s_schtasks.exe__run__tn__JavaUpdate
push eax
call edi
add esp, 0xc
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp - 0x454]
push eax
call esi
push 0x40739c
lea eax, [ebp - 0x454]
push eax
call esi
push str._schtasks.exe__create__tn__JavaUpdate
lea eax, [ebp - 0x254]
push eax
call esi
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp - 0x254]
push eax
call esi
push str.___tr
lea eax, [ebp - 0x254]
push eax
call esi
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x254]
push eax
call esi
push str.__sc_daily
lea eax, [ebp - 0x254]
push eax
call esi
cmp dword [ebp + 0x64], ebx
lea eax, [ebp - 0x254]
je 0x4012a9
push 1
push eax
call fcn.00401060
lea eax, [ebp - 0x454]
push ebx
push eax
call fcn.00401060
add esp, 0x10
jmp 0x4012b2
push ebx
push eax
call fcn.00401060
pop ecx
pop ecx
pop edi
pop esi
xor eax, eax
pop ebx
add ebp, 0x68
leave
ret 0x10