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

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov al, byte [esi]
xor al, 0x30
inc esi
test al, al
je 0x1001634b
pop edi
pop esi
pop ebp
mov eax, 0xfffff251
pop ebx
ret
mov al, byte [esi]
cmp al, 0x80
jae 0x10016354
inc esi
jmp 0x10016372
and eax, 0xff
xor ecx, ecx
xor eax, 0x80
inc esi
test eax, eax
jle 0x10016372
xor edx, edx
mov dl, byte [esi]
shl ecx, 8
xor ecx, edx
inc esi
dec eax
jne 0x10016365
mov al, byte [esi]
inc esi
cmp al, 2
je 0x10016383
pop edi
pop esi
pop ebp
mov eax, 0xfffff251
pop ebx
ret
mov al, byte [esi]
cmp al, 0x80
jae 0x10016393
and eax, 0xff
inc esi
mov ebp, eax
jmp 0x100163b1
and eax, 0xff
xor ebp, ebp
xor eax, 0x80
inc esi
test eax, eax
jle 0x100163b1
xor ecx, ecx
mov cl, byte [esi]
shl ebp, 8
xor ebp, ecx
inc esi
dec eax
jne 0x100163a4
mov ebx, dword [esp + 0x14]
mov ecx, 0x103
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov dl, byte [ebx]
mov byte [ebx], dl
push ebp
push esi
push ebx
mov dword [ebx + 0x408], 1
call fcn.100144b0
add esp, 0xc
add esi, ebp
test eax, eax
jne 0x10016448
mov al, byte [esi]
inc esi
cmp al, 2
je 0x100163f0
pop edi
pop esi
pop ebp
mov eax, 0xfffff251
pop ebx
ret
mov al, byte [esi]
cmp al, 0x80
jae 0x10016400
and eax, 0xff
inc esi
mov ebp, eax
jmp 0x1001641e
and eax, 0xff
xor ebp, ebp
xor eax, 0x80
inc esi
test eax, eax
jle 0x1001641e
xor ecx, ecx
mov cl, byte [esi]
shl ebp, 8
xor ebp, ecx
inc esi
dec eax
jne 0x10016411
lea edx, [ebx + 0x40c]
mov ecx, 0x103
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov al, byte [edx]
mov byte [edx], al
push ebp
push esi
push edx
mov dword [ebx + 0x814], 1
call fcn.100144b0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x10020750
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x18], ecx
mov dword [eax + 0x14], ecx
ret
Function at 0x10034b40
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x1d]
mov byte [esp + 0x1c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x3d]
mov byte [esp + 0x3c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x60]
lea edi, [esp + 0x1c]
mov dword [esp + 0x10], 0
mov ecx, dword [eax + 0x40]
lea esi, [eax + 0x20]
mov edx, ecx
mov dword [esp + 0x14], esi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov ebx, dword [eax + 8]
mov ebp, dword [eax + 0x44]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x70]
test ecx, ecx
jbe 0x10034c7f
jmp 0x10034bb1
mov eax, dword [esp + 0x60]
push 0
lea ecx, [esp + 0x20]
push ebx
push ecx
lea edx, [esp + 0x24]
lea ecx, [esp + 0x48]
push edx
push ecx
push eax
call fcn.10034700
add esp, 0x18
test eax, eax
jne 0x10034ca3
xor esi, esi
test ebp, ebp
jbe 0x10034bff
mov edi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x64]
lea edx, [esp + 0x3c]
lea eax, [esp + 0x3c]
sub edi, edx
sub ecx, eax
lea eax, [esp + esi + 0x3c]
mov dl, byte [edi + eax]
xor dl, byte [eax]
inc esi
cmp esi, ebp
mov byte [ecx + eax], dl
jb 0x10034bee
mov edi, ebx
xor ecx, ecx
sub edi, ebp
je 0x10034c15
lea esi, [esp + ecx + 0x1c]
inc ecx
cmp ecx, edi
mov al, byte [esi + ebp]
mov byte [esi], al
jb 0x10034c07
mov eax, dword [esp + 0x74]
test eax, eax
mov eax, edi
jne 0x10034c3b
cmp eax, ebx
jae 0x10034c55
mov edx, dword [esp + 0x64]
mov ecx, eax
sub ecx, ebx
add ecx, ebp
inc eax
cmp eax, ebx
mov cl, byte [ecx + edx]
mov byte [esp + eax + 0x1b], cl
jb 0x10034c23
jmp 0x10034c55
cmp eax, ebx
jae 0x10034c55
mov ecx, dword [esp + 0x6c]
mov edx, eax
sub edx, ebx
add edx, ebp
inc eax
cmp eax, ebx
mov dl, byte [edx + ecx]
mov byte [esp + eax + 0x1b], dl
jb 0x10034c3f
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x6c]
mov esi, dword [esp + 0x64]
mov ecx, dword [esp + 0x70]
add eax, ebp
add edi, ebp
add esi, ebp
cmp eax, ecx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x64], esi
mov dword [esp + 0x10], eax
jb 0x10034bad
mov edi, dword [esp + 0x14]
mov ecx, ebx
mov eax, ecx
lea esi, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x70]
mov ecx, eax
and ecx, 3
xor eax, eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x68]
mov dword [ecx], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
Function at 0x10034cb0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x3d]
mov byte [esp + 0x3c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x1d]
mov byte [esp + 0x1c], 0
rep stosd dword es:[edi], eax
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x10], 0
stosw word es:[edi], ax
mov ecx, dword [ebx + 0x40]
mov ebp, dword [ebx + 0x44]
stosb byte es:[edi], al
mov eax, dword [ebx + 8]
mov edx, ecx
mov dword [esp + 0x60], eax
lea eax, [ebx + 0x20]
mov esi, eax
lea edi, [esp + 0x3c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x14], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x70]
test ecx, ecx
jbe 0x10034dbf
mov eax, dword [esp + 0x60]
push 0
lea ecx, [esp + 0x40]
push eax
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x28]
push edx
push eax
push ebx
call fcn.10034700
add esp, 0x18
test eax, eax
jne 0x10034de3
xor ecx, ecx
test ebp, ebp
jbe 0x10034d73
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x64]
lea edx, [esp + 0x1c]
lea eax, [esp + 0x1c]
sub esi, edx
sub edi, eax
lea eax, [esp + ecx + 0x1c]
mov dl, byte [esi + eax]
xor dl, byte [eax]
inc ecx
cmp ecx, ebp
mov byte [edi + eax], dl
jb 0x10034d62
mov ecx, dword [esp + 0x60]
test ecx, ecx
jbe 0x10034d91
mov eax, ecx
lea esi, [esp + 0x1c]
lea edi, [esp + 0x3c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x6c]
mov esi, dword [esp + 0x64]
mov ecx, dword [esp + 0x70]
add eax, ebp
add edi, ebp
add esi, ebp
cmp eax, ecx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x64], esi
mov dword [esp + 0x10], eax
jb 0x10034d21
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x60]
lea esi, [esp + 0x3c]
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x68]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x70]
mov dword [eax], ecx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
Function at 0x10034df0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x21]
mov byte [esp + 0x20], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x41]
mov byte [esp + 0x40], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x64]
lea edi, [esp + 0x20]
mov dword [esp + 0x10], 0
mov ecx, dword [eax + 8]
lea edx, [eax + 0x20]
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 0x40]
mov ebx, ecx
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov ebp, dword [eax + 0x44]
and ecx, 3
mov dword [esp + 0x18], edx
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x74]
test ecx, ecx
jle 0x10034f0f
jmp 0x10034e67
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x24]
push edx
push ecx
lea edx, [esp + 0x28]
lea ecx, [esp + 0x4c]
push edx
push ecx
push eax
mov ebx, 1
call fcn.10034700
add esp, 0x18
test eax, eax
jne 0x10034f33
xor ecx, ecx
test ebp, ebp
jle 0x10034ebe
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x68]
lea edx, [esp + 0x40]
lea eax, [esp + 0x40]
sub esi, edx
sub edi, eax
lea eax, [esp + ecx + 0x40]
mov dl, byte [esi + eax]
xor dl, byte [eax]
inc ecx
cmp ecx, ebp
mov byte [edi + eax], dl
jl 0x10034ead
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x40]
dec ecx
js 0x10034ee1
xor eax, eax
mov al, byte [esp + ecx + 0x20]
add eax, ebx
mov byte [esp + ecx + 0x20], al
shr eax, 8
and eax, 1
mov ebx, eax
je 0x10034ee1
dec ecx
jns 0x10034ec8
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x70]
mov esi, dword [esp + 0x68]
mov ecx, dword [esp + 0x74]
add eax, ebp
add edi, ebp
add esi, ebp
cmp eax, ecx
mov dword [esp + 0x70], edi
mov dword [esp + 0x68], esi
mov dword [esp + 0x10], eax
jl 0x10034e63
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edi, edx
mov edx, ecx
lea esi, [esp + 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x6c]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x74]
mov dword [eax], ecx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret

Function at 0x100361ca
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x10036201
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x100361e8
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x100361f9
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x10036203
inc edi
add eax, 0x28
cmp edi, esi
jb 0x100361de
xor eax, eax
pop edi
pop esi
ret
Function at 0x10036573
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov al, byte [0xa145c633]
mov byte cs:[ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.10036196
push eax
push esi
push dword [ebp + 8]
call fcn.1003614b
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.10036196
push eax
push esi
push dword [ebp + 8]
call fcn.1003614b
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.10036186
sti
mov byte [0x9d8826ae], al
jl 0x1003660b
invalid
invalid
Function at 0x100385fc
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x1004a9d0
cmp edx, dword [eax]
je 0x1003861e
add eax, 8
inc ecx
cmp eax, 0x1004aa60
jl 0x1003860f
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x1004a9d0]
jne 0x1003874c
mov eax, dword [0x1004b4f4]
cmp eax, 1
je 0x10038726
test eax, eax
jne 0x1003864f
cmp dword [0x1004b4f8], 1
je 0x10038726
cmp edx, 0xfc
je 0x1003874c
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10038686
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.10039940
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.10039a30
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x100386c9
lea eax, [ebp - 0x1a4]
push eax
call fcn.10039a30
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x1003e254
push edi
call fcn.10039f30
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.10039940
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.10039950
lea eax, [ebp - 0xa0]
push 0x1003e234
push eax
call fcn.10039950
push dword [esi + 0x1004a9d4]
lea eax, [ebp - 0xa0]
push eax
call fcn.10039950
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.10039e9f
add esp, 0x2c
pop edi
jmp 0x1003874c
lea eax, [ebp + 8]
lea esi, [esi + 0x1004a9d4]
push 0
push eax
push dword [esi]
call fcn.10039a30
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x1001dc70
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1001dc97
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1001dc92
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
jmp 0x1001de39
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x1001dcd1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0xfffffff5
je 0x1001de39
mov dword [ebp - 0x14], 0x32fd2d1a
mov dword [ebp - 0xc], 3
mov dword [ebp - 0x30], 3
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x1001dd13
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x58], eax
or eax, 0xffffffff
jne 0x1001dd13
and dword [ebp - 0x1c], 0
jmp 0x1001dd1a
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0xfffffffc
je 0x1001dd29
mov dword [ebp - 0x20], 1
jmp 0x1001dd2d
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
add eax, 0x3989
cmp eax, 0x874b
jge 0x1001dd45
mov dword [ebp - 0x24], 1
jmp 0x1001dd49
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
sub ecx, dword [eax]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
lea eax, [ecx + eax - 2]
cmp eax, 0x1449c9fb
jl 0x1001dd6a
mov dword [ebp - 0x28], 1
jmp 0x1001dd6e
and dword [ebp - 0x28], 0
cmp dword [ebp - 0x28], 0x2978
jne 0x1001dd80
mov dword [ebp - 0x40], 1
jmp 0x1001dd84
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x14], 0xfffffffd
jle 0x1001dd99
mov dword [ebp - 0x2c], 1
jmp 0x1001dd9d
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x1001ddf2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0xc], 0x6d5d64f6
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x1001ddd7
mov dword [ebp - 0x18], 1
jmp 0x1001dddb
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
cmp dword [ebp - 0x18], 0
je 0x1001ddf2
mov dword [ebp - 0x48], 1
jmp 0x1001ddf6
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x1001de25
mov dword [ebp - 0x4c], 0xaedf47f2
cmp dword [ebp - 0x4c], 0
je 0x1001de23
jmp 0x1001de39
jmp 0x1001de34
mov dword [ebp - 0x50], 0xafca8629
cmp dword [ebp - 0x50], 0
je 0x1001de34
jmp 0x1001de39
jmp 0x1001dcc6
mov esp, ebp
pop ebp
ret
Function at 0x100329ab
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x100329cf
xor eax, eax
jmp 0x10032aee
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x100329ed
xor eax, eax
jmp 0x10032aee
push 0x14d0
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
call fcn.10030db1
add esp, 0x10
cmp dword [ebp - 0xc], 0
jne 0x10032a11
xor eax, eax
jmp 0x10032aee
push 1
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10030c6d
add esp, 0x18
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 8]
push 0
call fcn.1002a4a3
add esp, 0x10
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x1c], ecx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x3119
push 1
push 0x6867
push 0x6d0c
call fcn.10030e0b
add esp, 0x18
push dword [ebp - 4]
call fcn.10030a10
pop ecx
test eax, eax
jne 0x10032a7e
xor eax, eax
jmp 0x10032aee
push 1
lea eax, [ebp - 4]
push eax
call fcn.1003291b
pop ecx
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x10032ad6
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x14], ecx
jne 0x10032aaa
xor eax, eax
jmp 0x10032aee
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x10032ac3
xor eax, eax
jmp 0x10032aee
push 1
lea eax, [ebp - 4]
push eax
push 0x53e8
call fcn.10032950
add esp, 0xc
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x10032ae7
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
jmp 0x10032aeb
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x10044f8a
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10044fa1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
jmp 0x10044fac
push 0xfaa
call dword [sym.imp.KERNEL32.dll_Sleep]
pop ebp
ret
Function at 0x1007a3f2
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10081330]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1006a834
mov dword [ebp - 0x14], eax
cmp dword [0x1066dd40], esi
jne 0x1007a4e5
push 0x800
push esi
push 0x1000967c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1007a472
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1007a5c5
push esi
push esi
push 0x1000967c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1007a5c5
push 0x10009694
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1007a5c5
push eax
call ebx
push 0x100096a0
push edi
mov dword [0x1066dd40], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100096b0
push edi
mov dword [0x1066dd44], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100096c4
push edi
mov dword [0x1066dd48], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1066dd50], eax
test eax, eax
je 0x1007a4e2
push 0x100096e0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1066dd4c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1007a50a
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1007a4fd
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1007a51f
push 4
pop eax
jmp 0x1007a5c7
cmp dword [ebp - 0x14], esi
je 0x1007a51f
push dword [0x1066dd40]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1007a504
mov eax, dword [0x1066dd4c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1007a57d
cmp dword [0x1066dd50], edi
je 0x1007a57d
push eax
call ebx
push dword [0x1066dd50]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1007a57d
test eax, eax
je 0x1007a57d
call ecx
test eax, eax
je 0x1007a572
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1007a572
test byte [ebp - 8], 1
jne 0x1007a57d
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1007a5ad
mov eax, dword [0x1066dd44]
cmp eax, edi
je 0x1007a5aa
push eax
call ebx
test eax, eax
je 0x1007a5aa
call eax
mov esi, eax
test esi, esi
je 0x1007a5aa
mov eax, dword [0x1066dd48]
cmp eax, edi
je 0x1007a5aa
push eax
call ebx
test eax, eax
je 0x1007a5aa
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1066dd40]
call ebx
test eax, eax
je 0x1007a5c5
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1007a5c7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret
Function at 0x427a20
Capabilities:
Encode data using xor

Disassembly:
or edx, edi
xor edx, dword fs:[esi - 0x66]
cmp eax, dword [ebx + 0xed48fcb]
jo 0x427a82
adc al, byte [ebp - 0x16]
and dword [ecx - 0x5f4628ea], esi
inc edx
xchg byte [ebx], bh
pop ebp
xchg edi, eax
pop eax
sahf
xchg esi, eax
les edi, [eax]
jp 0x427a48
dec esi
invalid
mov ah, 0x72
xor cl, al
mov dl, 0x30
les eax, [esi]
add esi, 0x68
clc
xchg ecx, eax
lodsd eax, dword [esi]
clc
mul dh
out dx, al
insd dword es:[edi], dx
xor al, cl
je 0x427a55
out 0x63, eax
out 0x7b, eax
mov byte [ecx + 0xe], dh
pop ebp
add ecx, dword [esi - 0x26]
dec ebx
pop ecx
bound esp, qword [eax + 0x790d897d]
jmp 0x427a22
mul edi
add eax, dword [ecx + edi*2 - 0x1d387214]
adc eax, 0x9c7e9139
push esi
aad 0xba
int 0x36
xor byte [ebp + 0x4a9f98a6], 0x53
salc
push esi
pop ecx
in al, dx
mov ecx, dword [esi + ecx*2 + 0x7ebacca]
jbe 0x427abb
pop ecx
pop ebp
fstp xword [di - 0xf64]
xchg dword [ebp + 0x71], edi
nop
inc eax
pop eax
add byte [ebx], cl
invalid
fimul word [edi - 0x58b69ea7]
enter 0x7218, 0xffffffffffffffeb
ljmp 0xdcb9

Function at 0x431ab0
Capabilities:
Encode data using xor

Disassembly:
cmp eax, 0x4bd0906f
mov ebp, 0x5f0ad203
test eax, 0xc8020062
add bl, byte [ebx - 0x21]
xor dword [edi + 0x1a8f850b], ebp
sbb bl, byte [esi - 0x452bfdf4]
sbb bl, byte [esi - 0x452bfdf4]
inc esp
pop ss
add byte [eax + 7], ah
inc esp
wait
imul edx, dword [eax + 0x3f8a5856], 0x31
in al, dx
cmc
bound ebx, qword [ebp + edx - 0x6b]
dec esi
in eax, 0xcf
mov al, byte [0xb956a360]
xor edx, eax
add byte [edx], cl
not dword [0xf57d75ef]
imul ebx, dword [esi - 0x118b10ec], 0x6c
shr dword [edi - 0x56], 1
out 0xac, eax
jg 0x431a9a
mov esi, ecx
lea esi, [eax - 0x68]
les edi, [edi - 0x32]
hlt