joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40811c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040656e
and dword [ebp - 4], 0
cmp dword [0x465ee4], 0
mov ebx, eax
jne 0x4081cd
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40827e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40827e
push eax
call fcn.004064fc
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x465ee4], eax
call esi
push eax
call fcn.004064fc
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x465ee8], eax
call esi
push eax
call fcn.004064fc
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x465eec], eax
call esi
push eax
call fcn.004064fc
pop ecx
mov dword [0x465ef4], eax
test eax, eax
je 0x4081cd
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004064fc
pop ecx
mov dword [0x465ef0], eax
mov eax, dword [0x465ef0]
cmp eax, ebx
je 0x408225
cmp dword [0x465ef4], ebx
je 0x408225
push eax
call fcn.00406577
push dword [0x465ef4]
mov esi, eax
call fcn.00406577
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408225
test edi, edi
je 0x408225
call esi
test eax, eax
je 0x40821c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40821c
test byte [ebp - 0xc], 1
jne 0x408225
or dword [ebp + 0x10], 0x200000
jmp 0x40825e
mov eax, dword [0x465ee8]
cmp eax, ebx
je 0x40825e
push eax
call fcn.00406577
pop ecx
test eax, eax
je 0x40825e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40825e
mov eax, dword [0x465eec]
cmp eax, ebx
je 0x40825e
push eax
call fcn.00406577
pop ecx
test eax, eax
je 0x40825e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x465ee4]
call fcn.00406577
pop ecx
test eax, eax
je 0x40827e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408280
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100194d5
Capabilities:
Query environment variable
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xea0
mov eax, dword [0x100400b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0x14]
push edi
test esi, esi
jne 0x100194fb
mov eax, 0x80070057
jmp 0x1001970d
push ebx
push dword [ebp + 0xc]
lea eax, [ebp - 0x484]
xor ebx, ebx
push str.SoftwareMicrosoftOffice_i.0Registration
push 0x100
push eax
mov dword [esi], ebx
mov dword [ebp - 0xe9c], ebx
call fcn.1001a3af
add esp, 0x10
test eax, eax
je 0x100196fd
lea eax, [ebp - 0xe9c]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x484]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100196fd
push 0x40
lea eax, [ebp - 0x84]
push eax
push dword [ebp + 0x10]
push dword [ebp - 0xe9c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push dword [ebp - 0xe9c]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, 0x103
je 0x100196fd
test edi, edi
jne 0x1001970a
push 0xffffffffffffffff
lea eax, [ebp - 0x484]
mov edi, 0x100
push eax
lea eax, [ebp - 0x284]
push edi
push eax
call fcn.1001a3af
add esp, 0x10
cmp eax, 0x50
je 0x1001970a
push 0xffffffffffffffff
push 0x100393f0
lea eax, [ebp - 0x284]
push edi
push eax
call fcn.1001a3af
add esp, 0x10
cmp eax, 0x50
je 0x1001970a
push 0xffffffffffffffff
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x284]
push edi
push eax
call fcn.1001a3af
add esp, 0x10
cmp eax, 0x50
je 0x1001970a
lea eax, [ebp - 0xe94]
mov dword [ebp - 0xe98], ebx
push eax
push 1
push ebx
lea eax, [ebp - 0x284]
mov dword [ebp - 0xe94], ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x10019655
lea eax, [ebp - 0xea0]
mov dword [ebp - 0xea0], 0x802
push eax
lea eax, [ebp - 0xe90]
push eax
lea eax, [ebp - 0xe98]
push eax
push ebx
push 0x1003b278
push dword [ebp - 0xe94]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
cmp dword [ebp - 0xe94], ebx
je 0x10019669
push dword [ebp - 0xe94]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x100196ce
cmp dword [ebp - 0xe98], 1
je 0x1001967f
cmp dword [ebp - 0xe98], 2
jne 0x100196ce
cmp dword [ebp - 0xe98], 2
jne 0x100196d2
push 0x104
lea eax, [ebp - 0x68c]
push eax
lea eax, [ebp - 0xe90]
push eax
call dword [sym.imp.kernel32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x102
ja 0x100196d2
push 0xffffffffffffffff
lea eax, [ebp - 0x68c]
push eax
lea eax, [ebp - 0xe90]
push 0x401
push eax
call fcn.1001a3af
xor ebx, ebx
add esp, 0x10
cmp eax, 0x50
setne bl
test ebx, ebx
je 0x1001970a
lea eax, [ebp - 0xe90]
push str._no_more_entries_
push eax
call fcn.1001a3af
pop ecx
pop ecx
test eax, eax
je 0x1001970a
xor eax, eax
cmp ax, word [ebp - 0xe90]
je 0x1001970a
lea eax, [ebp - 0xe90]
push eax
jmp 0x10019702
push str._no_more_entries_
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1001c65c
leave
ret 0x10
Function at 0x1001a3af
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x1001a3be
pop dword [ebp - 0x1c]
mov eax, 0x1001a3be
sub dword [ebp - 0x1c], eax
push 0x40
push 0x1000
push 0x409b5
push 0
mov eax, 0x8690f9b2
add eax, 0x897227a6
add eax, dword [ebp - 0x1c]
call dword [eax]
mov ecx, 0xf71b648
sub ecx, 0xf71727c
xor ebx, ebx
add ebx, eax
mov edi, 0x33e1490
add edi, 0xcc66b70
add edi, dword [ebp - 0x1c]
mov edx, 0x9d8450a0
mov dword [ebp - 8], 0x673b1b97
mov esi, dword [edi]
add dword [ebp - 4], edi
xor esi, edx
mov dword [ebx], esi
xor dword [ebp - 4], edx
add ebx, 0xc84204d8
sub ebx, 0xc84204d4
add edi, 0x2ac717e3
add edi, 0xd538e821
loop 0x1001a414
add eax, 0xa2829fa7
add eax, 0x5d7e625c
mov ebx, eax
add eax, 0x57fc953c
add eax, 0xa8036ac9
mov ecx, 0xdd259b77
add ecx, 0x32da6489
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x571d0f05
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
nop
nop
mov eax, section..rsrc
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x2ca06955
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x407005
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42f874]
jne 0x40700f
repz ret
jmp fcn.0040b2dc

Function at 0x40a15d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004055f8
and dword [ebp - 4], 0
cmp dword [0x434944], 0
mov ebx, eax
jne 0x40a20e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a2bf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40a2bf
push eax
call fcn.00405586
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x434944], eax
call esi
push eax
call fcn.00405586
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x434948], eax
call esi
push eax
call fcn.00405586
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43494c], eax
call esi
push eax
call fcn.00405586
pop ecx
mov dword [0x434954], eax
test eax, eax
je 0x40a20e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00405586
pop ecx
mov dword [0x434950], eax
mov eax, dword [0x434950]
cmp eax, ebx
je 0x40a266
cmp dword [0x434954], ebx
je 0x40a266
push eax
call fcn.00405601
push dword [0x434954]
mov esi, eax
call fcn.00405601
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a266
test edi, edi
je 0x40a266
call esi
test eax, eax
je 0x40a25d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a25d
test byte [ebp - 0xc], 1
jne 0x40a266
or dword [ebp + 0x10], 0x200000
jmp 0x40a29f
mov eax, dword [0x434948]
cmp eax, ebx
je 0x40a29f
push eax
call fcn.00405601
pop ecx
test eax, eax
je 0x40a29f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a29f
mov eax, dword [0x43494c]
cmp eax, ebx
je 0x40a29f
push eax
call fcn.00405601
pop ecx
test eax, eax
je 0x40a29f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x434944]
call fcn.00405601
pop ecx
test eax, eax
je 0x40a2bf
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a2c1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10008d80
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x10008f44
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7000]
push edi
jmp 0x10008daa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10008db1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10008da0
mov eax, 1
add ebx, ebx
jne 0x10008dc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10008db8
jne 0x10008dd4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10008db8
xor ecx, ecx
sub eax, 3
jb 0x10008de8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x10008e5a
mov ebp, eax
add ebx, ebx
jne 0x10008df3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x10008e00
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x10008e24
inc ecx
add ebx, ebx
jne 0x10008e10
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10008e05
jne 0x10008e21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10008e05
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10008e44
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10008e35
jmp 0x10008da6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10008e44
add edi, ecx
jmp 0x10008da6
pop esi
mov edi, esi
mov ecx, 0x88
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x10008e62
cmp byte [edi], 0
jne 0x10008e62
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 0x10008e67
lea edi, [esi + 0x6000]
mov eax, dword [edi]
or eax, eax
je 0x10008ed6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x803c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x10008e94
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8040]
or eax, eax
je 0x10008ed0
mov dword [ebx], eax
add ebx, 4
jmp 0x10008eb1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x10008f07
cmp al, 0xef
ja 0x10008efa
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x10008edc
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x10008ee9
mov ebp, dword [esi + 0x8044]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
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 0x10008f3b
sub esp, 0xffffff80
jmp 0x100014cc
Function at 0x57e770
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x121000]
push edi
jmp 0x57e78a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x57e791
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57e780
mov eax, 1
add ebx, ebx
jne 0x57e7a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x57e7b4
jne 0x57e7d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57e7d3
dec eax
add ebx, ebx
jne 0x57e7c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x57e798
add ebx, ebx
jne 0x57e7cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x57e825
xor ecx, ecx
sub eax, 3
jb 0x57e7eb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x57e85a
sar eax, 1
mov ebp, eax
jmp 0x57e7f6
add ebx, ebx
jne 0x57e7f6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57e7c4
inc ecx
add ebx, ebx
jne 0x57e804
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57e7c4
add ebx, ebx
jne 0x57e811
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x57e806
jne 0x57e822
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x57e806
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x57e844
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x57e836
jmp 0x57e786
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x57e844
add edi, ecx
jmp 0x57e786
pop esi
mov edi, esi
mov ecx, 0x40d6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x57e862
cmp byte [edi], 0x11
jne 0x57e862
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 0x57e867
lea edi, [esi + 0x177000]
mov eax, dword [edi]
or eax, eax
je 0x57e8df
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2179ac]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x217b28]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x57e894
mov ecx, edi
jns 0x57e8c3
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 + 0x217b2c]
or eax, eax
je 0x57e8d9
mov dword [ebx], eax
add ebx, 4
jmp 0x57e8b1
call dword [esi + 0x217b3c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x57e910
cmp al, 0xef
ja 0x57e903
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x57e8e5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x57e8f2
mov ebp, dword [esi + 0x217b30]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x57e944
sub esp, 0xffffff80
jmp 0x4204f7
Function at 0x4010e8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42d004]
jne 0x4010f2
repz ret
jmp fcn.004019e1

Function at 0x40611b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42d004]
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.00402f8e
and dword [ebp - 0x14], 0
cmp dword [0x42fc84], 0
mov dword [ebp - 0x18], eax
jne 0x4061ce
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x406276
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x406276
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x42fc84], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42fc88], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42fc8c], eax
call edi
push eax
call esi
mov dword [0x42fc94], eax
test eax, eax
je 0x4061ce
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x42fc90], eax
mov eax, dword [0x42fc90]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x406227
cmp dword [0x42fc94], ecx
je 0x406227
push eax
call esi
push dword [0x42fc94]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x406227
test ebx, ebx
je 0x406227
call edi
test eax, eax
je 0x40621e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40621e
test byte [ebp - 8], 1
jne 0x406227
or dword [ebp + 0x10], 0x200000
jmp 0x40625a
mov eax, dword [0x42fc88]
cmp eax, dword [ebp - 0x18]
je 0x40625a
push eax
call esi
test eax, eax
je 0x40625a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40625a
mov eax, dword [0x42fc8c]
cmp eax, dword [ebp - 0x18]
je 0x40625a
push eax
call esi
test eax, eax
je 0x40625a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42fc84]
call esi
test eax, eax
je 0x406276
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x406278
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004010e8
leave
ret
Function at 0x427cd0
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
test ebx, ebx
jle 0x427ce4
call fcn.00427c50
xor byte [esi + edi], al
inc esi
cmp esi, ebx
jl 0x427cd7
pop esi
cmp ebx, 0x2d
jne 0x427cfe
mov dword [0x2bd56e8], 0xa62e7790
mov dword [0x2bd56ec], 0xffffffff
ret

Function at 0x427d00
Capabilities:
Create pipe

Disassembly:
sub esp, 0x24
mov eax, dword [0x42d004]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [0x42e210]
push ebx
mov ebx, dword [0x2bd56dc]
push edi
mov edi, dword [0x2bd325c]
call fcn.00427ca0
cmp dword [0x2bd56dc], 0x2f
jne 0x427d6d
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
call fcn.00427cd0
mov ecx, dword [esp + 0x24]
pop edi
pop ebx
xor ecx, esp
call fcn.004010e8
add esp, 0x24
ret
Function at 0x430a67ba
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x430aa9f0]
jne 0x430a67c4
repz ret
jmp fcn.430a7df9

Function at 0x430a820a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x430a8219
pop dword [ebp - 0x40]
mov eax, 0xbf81ca8e
add eax, 0x8388b78b
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0x3551f
push 0
mov eax, 0x46b4134b
sub eax, 0x3aa02ab
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0xa07f1ece
add ecx, 0x5f812011
xor ebx, ebx
add ebx, eax
mov edi, 0x6308bfe4
sub edi, 0x1ffde1e4
add edi, dword [ebp - 0x40]
mov edx, 0x4f131c26
xor dword [ebp - 0x34], 0x840405ed
mov esi, dword [edi]
sub dword [ebp - 0x28], 0xddbc993d
sub esi, edx
xor dword [ebp - 0x20], esi
mov dword [ebx], esi
xor dword [ebp - 4], 0xae48e282
add ebx, 0x6bea109a
sub ebx, 0x6bea1096
add edi, 0x85644fb2
sub edi, 0x85644fae
loop 0x430a8274
add eax, 0x68a4ca76
sub eax, 0x68a3dc27
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x430a0000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x10005470
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x100054a2
jl 0x10005495
test ecx, ecx
jne 0x100054a2
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x1000556c
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.10007110
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x1000550e
jg 0x100054cd
test esi, esi
je 0x1000550e
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x100054e5
mov eax, dword [esp + 0x10]
jl 0x100054df
cmp eax, esi
jae 0x100054e5
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.10012a40
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x10005539
mov eax, dword [ebx]
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [0x10033234]
mov ecx, ebx
call esi
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x10005555
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x100054b4
jl 0x10005555
test ecx, ecx
jne 0x100054b4
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x100055ab
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
test eax, eax
je 0x100055ab
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.10012a40
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [esp + 0x18], 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
cmp dword [ebx + 0x4c], 0
mov ecx, edi
je 0x1000561b
mov esi, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [esi], eax
jne 0x100055d1
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [esi], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
mov ecx, edi
cmp edi, 0xfff
jbe 0x10005604
nop
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.1001a454
sub edi, eax
add esp, 0x10
add esi, eax
mov ecx, edi
cmp eax, 0xfff
jne 0x1000562f
cmp edi, eax
ja 0x100055e0
test ecx, ecx
je 0x1000561b
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.1001a454
mov ecx, edi
add esp, 0x10
sub ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, ecx
sbb edx, 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
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