joyce8/EMBER2024-capa huggingface dataset:
Function at 0x864040
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1d4000]
push edi
or ebp, 0xffffffff
jmp 0x864062
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x864069
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x864058
mov eax, 1
add ebx, ebx
jne 0x86407b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x86408c
jne 0x8640ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8640ab
dec eax
add ebx, ebx
jne 0x864098
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x864070
add ebx, ebx
jne 0x8640a7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x8640fd
xor ecx, ecx
sub eax, 3
jb 0x8640c3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x864132
sar eax, 1
mov ebp, eax
jmp 0x8640ce
add ebx, ebx
jne 0x8640ce
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x86409c
inc ecx
add ebx, ebx
jne 0x8640dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x86409c
add ebx, ebx
jne 0x8640e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x8640de
jne 0x8640fa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x8640de
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x86411c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x86410e
jmp 0x86405e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x86411c
add edi, ecx
jmp 0x86405e
pop esi
mov edi, esi
mov ecx, 0x69d6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x86413a
cmp byte [edi], 0x13
jne 0x86413a
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 0x86413f
lea edi, [esi + 0x45b000]
mov eax, dword [edi]
or eax, eax
je 0x8641b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x468b94]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x468cd4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x86416c
mov ecx, edi
jns 0x86419b
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 + 0x468cd8]
or eax, eax
je 0x8641b1
mov dword [ebx], eax
add ebx, 4
jmp 0x864189
call dword [esi + 0x468ce8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x8641e8
cmp al, 0xef
ja 0x8641db
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x8641bd
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x8641ca
mov ebp, dword [esi + 0x468cdc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x86421c
sub esp, 0xffffff80
jmp 0x4af4c0
Function at 0x503b67
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x5032dd
mov dword [0x50521c], 2
jmp 0x503b97
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x504088
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c6a
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503c97
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c6a
mov eax, dword [0x505250]
jmp 0x503ca4
call 0x502b16
ret

Function at 0xe48ee4
Capabilities:
Encode data using xor

Disassembly:
jmp 0xe48eee
pushal
call 0xe48ef4
pop ebp
sub ebp, 0x10
sub ebp, 0xa48ee4
jmp 0xe48f0a
mov eax, 0xa48ee4
add eax, ebp
add eax, 0x4c
mov ecx, 0x5cf
mov edx, 0xca108023
xor byte [eax], dl
inc eax
dec ecx
jne 0xe48f21
jmp 0xe48f34
test al, 0xee
test al, 0xaa
pop ds
and esp, dword [ebx]
and esp, dword [edx + 0x2323dbe2]
and esp, dword [eax]
out dx, al
wait
and eax, 0x99232323
or esp, dword [ebx]
and esp, dword [ebx]
aam 0xc1
and bl, ch
test al, 0xa2
das
and esp, dword [ebx]
and esp, dword [eax]
out 0xae, al
inc edi
pop es
fild qword [edx + 0x47ae0727]
pop es
fild qword [edx + 0x5b4b0727]
add byte [edx], 0x23
dec ebx
dec edi
into
mov eax, dword [0x70f2223]
dec ebx
jo 0xe48fd4
invalid
inc edi
pop es
fild qword [edx + 0x7e77070f]
fcom qword [esi + 0x2f]
fcom qword [esi + 0x2b]
retf
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
sub esp, 0xc
mov ecx, dword [esp + 0x10]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FormatMessageW]
push 0
push 0
lea eax, [esp + 0xc]
push eax
push 0
push ecx
push 0
push 0x1300
call esi
push 0
lea edx, [esp + 0xc]
push edx
push 0x81
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
mov edx, dword [esp + 8]
lea eax, [esp + 4]
push eax
push 0
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push edx
push 0x2500
call esi
mov eax, dword [esp + 0xc]
push 0x10
push 0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
add esp, 0xc
ret
Function at 0x4010f0
Capabilities:
Delete file
Get common file path
Terminate process
Write file on windows

Disassembly:
sub esp, 0x428
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x424], eax
mov eax, dword [esp + 0x42c]
lea ecx, [esp + 0x21c]
push ecx
push 0x104
mov dword [esp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x401135
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401000
add esp, 4
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.0040147a
mov esi, dword [sym.imp.KERNEL32.dll_FormatMessageW]
mov ebx, dword [sym.imp.USER32.dll_LoadStringW]
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
add esp, 4
lea ebx, [ebx]
call fcn.0040148c
push eax
call fcn.0040148c
push eax
lea edx, [esp + 0x234]
push edx
push str._wswebp_04x_04x.msi
lea eax, [esp + 0x34]
push 0x104
push eax
call fcn.00401080
add esp, 0x18
push 0
push 0
push 1
push 0
push 3
push 0x40000000
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x401226
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
je 0x401160
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
lea edx, [esp + 0x1c]
push edx
push 0
push eax
push 0
push 0x1300
call esi
push 0
lea eax, [esp + 0x24]
push eax
push 0x81
push 0
call ebp
push eax
call ebx
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x14]
push ecx
push 0
lea edx, [esp + 0x24]
push edx
push 0
push 0
push eax
push 0x2500
call esi
mov ecx, dword [esp + 0x1c]
push 0x10
push 0
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x401160
mov esi, dword [esp + 0x440]
mov eax, dword [esp + 0x10]
push 0
lea edx, [esp + 0x1c]
push edx
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x401254
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401000
add esp, 4
cmp dword [esp + 0x18], esi
je 0x401264
push 0x52
call fcn.00401000
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 5
call sub.msi.dll_MsiSetPropertyW
push 0x4091b0
lea ecx, [esp + 0x28]
push ecx
call sub.msi.dll_MsiOpenDatabaseW
lea edx, [esp + 0x24]
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test esi, esi
je 0x4012a5
cmp esi, 0x642
je 0x4012a5
push esi
call fcn.00401000
add esp, 4
mov ecx, dword [esp + 0x434]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004014ad
add esp, 0x428
ret
Function at 0x4012c0
Capabilities:
Extract resource via kernel32 functions
Get system information on windows

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
push 8
push 0
push 0x409194
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x4012e6
push 0x7e
call fcn.00401000
add esp, 4
push str.GetNativeSystemInfo
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4012ff
lea ecx, [esp + 0x10]
push ecx
call eax
jmp 0x40130a
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x38]
inc eax
movzx ecx, ax
push str.MSIFILE
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x401336
push 0x661
call fcn.00401000
add esp, 4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x401353
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401000
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push ebx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push ebp
call fcn.004010f0
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x10

Function at 0x4014ad
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x4014b7
repz ret
jmp fcn.00402b3e
Function at 0x405efc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
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.004026ca
and dword [ebp - 0x14], 0
cmp dword [0x40da0c], 0
mov dword [ebp - 0x18], eax
jne 0x405faf
push 0x40a128
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x406057
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40a11c
push ebx
call edi
test eax, eax
je 0x406057
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x40a10c
push ebx
mov dword [0x40da0c], eax
call edi
push eax
call esi
push 0x40a0f8
push ebx
mov dword [0x40da10], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40da14], eax
call edi
push eax
call esi
mov dword [0x40da1c], eax
test eax, eax
je 0x405faf
push 0x40a0c4
push ebx
call edi
push eax
call esi
mov dword [0x40da18], eax
mov eax, dword [0x40da18]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x406008
cmp dword [0x40da1c], ecx
je 0x406008
push eax
call esi
push dword [0x40da1c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x406008
test ebx, ebx
je 0x406008
call edi
test eax, eax
je 0x405fff
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x405fff
test byte [ebp - 8], 1
jne 0x406008
or dword [ebp + 0x10], 0x200000
jmp 0x40603b
mov eax, dword [0x40da10]
cmp eax, dword [ebp - 0x18]
je 0x40603b
push eax
call esi
test eax, eax
je 0x40603b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40603b
mov eax, dword [0x40da14]
cmp eax, dword [ebp - 0x18]
je 0x40603b
push eax
call esi
test eax, eax
je 0x40603b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40da0c]
call esi
test eax, eax
je 0x406057
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x406059
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004014ad
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408e84
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x361e4355
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x441473e7
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x4029dc
Capabilities:
Parse pe header

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

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

Disassembly:
sti
xor ah, byte [edx + 0x6e17997a]
lodsb al, byte [esi]
dec ebp
inc edx
out dx, al
rol dword [edi + ebp*8], 1
lodsd eax, dword [esi]
adc edi, edx
add byte [eax], cl
inc ebp
lea edx, [eax - 0x1dc854c8]
call fcn.00d0f938
ja 0x84f293d8
mov ch, 0x3b
or ebx, dword [ebx - 0x704c500f]
jge 0x983925
movsx edx, al
call 0x5cb7f10a
popal
or al, 0x1f
mov ebx, 0x5b987d34
std
push edx
das
adc esi, eax
jecxz 0x983999
test byte [esi - 0x64], al
pushfd
int1
pop eax
cmpsd dword [esi], dword es:[edi]
jl 0x983971
sar byte [esp + ebx - 0xc], 1
mov bh, byte [eax]
push ecx
jne 0x9839bd
ret
inc esi
jno 0x9839ca
pop eax
fmul dword [eax + 0x45]
xchg dword [esi - 0x7d], esp
sub dword [edi], 0x9516f8c1
sar eax, 0x16
xchg ebp, eax
push esi
mov byte [0x59dbd7f9], al
inc ebp
pop ecx
fldenv [0xc2e67e08]
pop ecx
in al, dx
inc eax
fstp xword [ecx + 0x75]
jne 0x9839a5
out 0xca, al
mov ch, 0x4f
sub byte [ebp + 0x32], ah
adc bl, byte [ebx - 0x4ffc8de]
retf 0x4fb5
sti
push cs
mov cl, 0x1f
stc
pop edx
pop eax
pop ebp
call 0x8f7c06e1
sub ebp, dword [ecx - 0x19]
mov word [ecx], gs
dec esp
xor cl, ah
add dword [esi + edx*2 + 0x69f72751], edi
push es
stosd dword es:[edi], eax
loopne 0x9839be
pop ds
mov bh, 0xd4
hlt
Function at 0x1000180a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x101a7664]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x68]
stosd dword es:[edi], eax
mov esi, edx
push 0x44
mov dword [ebp - 0x6c], esi
mov ebx, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x54]
pop edi
push edi
push 0
push eax
call fcn.100fd2b0
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
or dword [ebp - 0x28], 1
xor eax, eax
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], edi
push eax
xor edi, edi
push edi
push edi
push edi
push edi
push edi
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x10001891
push 0xffffffffffffffff
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x64]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x68]
call esi
xor eax, eax
jmp 0x100018db
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
push edi
mov esi, eax
lea eax, [ebp - 0x58]
push eax
push 0x400
push esi
push edi
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push dword [ebp - 0x58]
mov ecx, str._null_
test ebx, ebx
mov eax, ecx
cmovne eax, ebx
push esi
push eax
mov eax, dword [ebp - 0x6c]
test eax, eax
cmovne ecx, eax
push ecx
push str.cimg::system___:_Command__s__module_name__s__failed_with_error__lu:__s
call fcn.100017ba
add esp, 0x14
or eax, 0xffffffff
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100fb279
leave
ret
Function at 0x1000309f
Capabilities:
Check mutex on windows
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
test eax, eax
push ebx
push esi
mov esi, 0x10163428
push edi
cmovne esi, eax
mov edi, ecx
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100030ba
sub ecx, edx
lea ebx, [ecx + 1]
test ebx, ebx
je 0x100030e3
push ebx
call fcn.100fb7e2
push ebx
push esi
push eax
mov dword [ebp - 4], eax
call fcn.100fcd30
mov ebx, dword [ebp - 4]
add esp, 0x10
jmp 0x100030e5
xor ebx, ebx
cmp dword [edi + 0x18], 0
lea esi, [edi + 0x1c]
je 0x100030fa
cmp dword [esi], 0
je 0x100030fa
mov ecx, edi
call fcn.100031be
call fcn.1000281a
mov ecx, dword [ebp + 8]
cmp eax, ecx
cmovb ecx, eax
mov dword [edi + 0x18], ecx
call fcn.10002857
mov ecx, dword [ebp + 0xc]
cmp eax, ecx
push 3
cmovb ecx, eax
mov word [edi + 0xbc], 0x100
cmp dword [ebp + 0x14], 4
pop eax
cmovb eax, dword [ebp + 0x14]
mov dword [edi + 0x20], eax
mov al, byte [ebp + 0x18]
mov byte [edi + 0x30], al
mov eax, 0x80000000
mov dword [edi + 0x50], eax
mov dword [edi + 0x4c], eax
mov al, byte [ebp + 0x1c]
mov dword [esi], ecx
mov ecx, edi
mov byte [edi + 0x60], al
mov dword [edi + 0x34], ebx
call fcn.100027c3
cmp byte [edi + 0x30], 0
je 0x1000315e
mov ecx, edi
call fcn.1000300b
push 8
call fcn.100fb7e2
pop ecx
mov esi, eax
xor ebx, ebx
push ebx
push ebx
push ebx
mov dword [esi], edi
mov eax, dword [edi + 0x34]
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push ebx
push ebx
push ebx
push ebx
mov dword [edi + 0xc8], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push esi
push 0x10002c53
push ebx
push ebx
mov dword [edi + 0xc4], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push dword [edi + 0xc4]
mov dword [edi + 0xc0], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x18
Function at 0x100031be
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x18], ebx
je 0x10003276
cmp dword [esi + 0x1c], ebx
je 0x10003276
push dword [esi + 0xcc]
call dword [sym.imp.USER32.dll_DestroyWindow]
push ebx
push dword [esi + 0xc0]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0xdc]
call fcn.10020b60
push dword [esi + 0x34]
call fcn.10020b60
pop ecx
pop ecx
mov dword [esi + 0xdc], ebx
mov dword [esi + 0x34], ebx
cmp byte [esi + 0x30], bl
je 0x10003240
mov eax, dword [esi + 0xd0]
test eax, eax
je 0x10003223
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 0xd0], ebx
cmp word [esi + 0x124], bx
je 0x10003240
push ebx
lea eax, [esi + 0xe0]
push eax
call dword [sym.imp.USER32.dll_ChangeDisplaySettingsW]
and dword [esi + 0x2c], ebx
mov eax, 0x80000000
and dword [esi + 0x28], ebx
mov ecx, esi
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x50], eax
mov dword [esi + 0x4c], eax
mov byte [esi + 0x30], bl
mov byte [esi + 0x60], 1
mov dword [esi + 0x34], ebx
call fcn.100027c3
mov eax, esi
pop esi
pop ebx
ret
pop esi
pop ebx
jmp fcn.100027c3

Function at 0x100036cc
Capabilities:
Get common file path
Get program files directory

Disassembly:
mov eax, dword fs:[0x2c]
mov ecx, dword [0x101ae344]
push ebx
push esi
xor ebx, ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x101aedc8]
push edi
cmp eax, dword [ecx + 4]
jle 0x10003738
mov esi, 0x101aedc8
push esi
call fcn.100fb311
cmp dword [0x101aedc8], 0xffffffff
pop ecx
jne 0x10003738
push 0x1011e0a0
mov dword [0x101aed68], ebx
mov dword [0x101aed6c], ebx
mov dword [0x101aed70], ebx
mov dword [0x101aed74], ebx
mov byte [0x101aed78], bl
mov dword [0x101aed7c], ebx
call fcn.100fb7bf
pop ecx
push esi
call fcn.100fb2c0
pop ecx
call fcn.100016b6
push 0xffffffffffffffff
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x101aed7c], ebx
jne 0x100037b3
push 1
push 1
push 1
push 0x104
mov ecx, 0x101aed68
call fcn.100064c2
mov eax, dword [0x101aed7c]
push ebx
push 0x26
mov byte [eax], bl
push dword [0x101aed7c]
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x100037b3
push str.PROGRAMFILES
call fcn.10107b8b
pop ecx
test eax, eax
je 0x100037a5
push 0x103
push eax
push dword [0x101aed7c]
call fcn.10102550
add esp, 0xc
jmp 0x100037b3
mov edi, dword [0x101aed7c]
mov esi, str.C:PROGRA1
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100016b6
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [0x101aed7c]
pop edi
pop esi
pop ebx
ret

Function at 0x100053a1
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x100053cb
mov eax, dword [ebp + 8]
push eax
mov dword [0x101aea6c], eax
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
push eax
push eax
push eax
push 0x10005823
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
inc eax
pop ebp
ret 0xc