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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x101cd7b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x18]
cmp dword [ebx], 0x13
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], eax
jae 0x10175e9e
or eax, 0xffffffff
jmp 0x1017603b
and word [edi], 0
push 3
mov dword [ebp - 0x10], 0xa87f
mov ax, word [ebp - 0x10]
mov ecx, edi
pop edx
xor ax, word [ecx]
inc ecx
inc ecx
dec edx
jne 0x10175eb2
push 0x10
mov word [edi], ax
push edx
lea eax, [ebp - 0x24]
push eax
call fcn.10158dd0
push esi
call fcn.1015d770
push 6
push dword [ebp - 8]
mov esi, eax
lea eax, [ebp - 0x24]
push eax
call fcn.10159960
add esp, 0x1c
cmp esi, 8
jb 0x10175ef6
mov eax, dword [ebp - 0x2c]
lea eax, [eax + esi - 8]
push 8
push eax
lea eax, [ebp - 0x1c]
jmp 0x10175eff
push esi
push dword [ebp - 0x2c]
lea eax, [ebp - 0x14]
sub eax, esi
push eax
call fcn.10159960
mov esi, dword [ebp - 0x28]
add esp, 0xc
mov byte [esi], 0x30
push 6
inc esi
lea eax, [ebp - 0x14]
push edi
mov byte [esi], 0x31
push eax
inc esi
call fcn.10159960
add esp, 0xc
push 6
pop edi
call fcn.1015978d
mov byte [ebp + edi - 0x14], al
inc edi
cmp edi, 8
jb 0x10175f25
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
call fcn.10175dc0
movzx eax, byte [ebp - 0xc]
pop ecx
pop ecx
mov ecx, eax
shr ecx, 4
mov cl, byte [ecx + 0x101a796c]
mov byte [esi], cl
inc esi
push 0xf
pop ecx
and eax, ecx
mov al, byte [eax + 0x101a796c]
mov byte [esi], al
movzx eax, byte [ebp - 0xb]
mov edx, eax
shr edx, 4
mov dl, byte [edx + 0x101a796c]
and eax, ecx
inc esi
mov byte [esi], dl
mov al, byte [eax + 0x101a796c]
inc esi
mov byte [esi], al
movzx eax, byte [ebp - 0xa]
mov edx, eax
shr edx, 4
mov dl, byte [edx + 0x101a796c]
and eax, ecx
inc esi
mov byte [esi], dl
mov al, byte [eax + 0x101a796c]
inc esi
mov byte [esi], al
movzx eax, byte [ebp - 9]
mov edx, eax
shr edx, 4
mov dl, byte [edx + 0x101a796c]
and eax, ecx
inc esi
mov byte [esi], dl
mov al, byte [eax + 0x101a796c]
inc esi
mov byte [esi], al
movzx eax, byte [ebp - 8]
mov edx, eax
shr edx, 4
mov dl, byte [edx + 0x101a796c]
and eax, ecx
inc esi
mov byte [esi], dl
mov al, byte [eax + 0x101a796c]
inc esi
mov byte [esi], al
movzx eax, byte [ebp - 7]
mov edx, eax
shr edx, 4
mov dl, byte [edx + 0x101a796c]
and eax, ecx
inc esi
mov byte [esi], dl
mov al, byte [eax + 0x101a796c]
inc esi
mov byte [esi], al
movzx eax, byte [ebp - 6]
mov edx, eax
shr edx, 4
mov dl, byte [edx + 0x101a796c]
inc esi
mov byte [esi], dl
and eax, ecx
mov al, byte [eax + 0x101a796c]
inc esi
mov byte [esi], al
movzx eax, byte [ebp - 5]
inc esi
mov edx, eax
shr edx, 4
mov dl, byte [edx + 0x101a796c]
mov byte [esi], dl
and eax, ecx
mov al, byte [eax + 0x101a796c]
inc esi
mov byte [esi], al
inc esi
mov byte [esi], 0
sub esi, dword [ebp - 0x28]
xor eax, eax
mov dword [ebx], esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101593ee
leave
ret
Function at 0x10176dff
Capabilities:
Hash data with md5

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 + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x18], ecx
ret
Function at 0x418dcc
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
push ebx
push esi
mov esi, ecx
push edi
push 1
mov eax, dword [esi + 0x2e88]
pop ebx
cmp eax, 2
jne 0x418e05
lea ecx, [esi + 0x2e90]
call fcn.00401f9e
push dword [ebp + 8]
mov edi, eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
cmp edi, eax
jmp 0x418ec3
test eax, eax
jne 0x418e92
lea eax, [ebp - 0x404]
push pe_nt_image_headers32
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetClassNameA]
lea eax, [ebp - 0x404]
lea edi, [esi + 0x2e90]
push eax
call fcn.00428ea0
pop ecx
push eax
lea eax, [ebp - 0x404]
push eax
mov ecx, edi
call fcn.00401f26
push eax
call fcn.00428fc0
add esp, 0xc
test eax, eax
jne 0x418ed7
inc dword [esi + 0x2ea8]
push dword [esi + 0x2ea8]
lea eax, [esi + 0x2ea8]
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x404]
push str._s_u
push eax
call fcn.00429357
add esp, 0x10
mov ecx, edi
call fcn.00401f26
push eax
lea eax, [ebp - 0x404]
jmp 0x418eb9
lea eax, [ebp - 0x404]
push 0x400
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x404]
lea ecx, [esi + 0x2e90]
push eax
call fcn.00401f26
push eax
call fcn.00428f30
pop ecx
pop ecx
test eax, eax
jne 0x418ed7
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esi + 0x2eb0], eax
mov byte [esi + 0x2eac], 1
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret 8

Function at 0x41b18f
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
push edi
mov esi, ecx
call fcn.0041b3c1
cmp byte [esi + 0xc], 1
jne 0x41b1bd
push 0xffffffffffffffff
mov edi, 0x43cb10
push dword [esi + 0x10]
mov ecx, edi
push 1
call fcn.0042427b
jmp 0x41b1eb
lea ebx, [esi + 0x1c]
mov edi, 0x43cb10
push ebx
mov ecx, edi
call fcn.00424590
test al, al
je 0x41b20d
lea eax, [esi + 0x124]
push eax
lea eax, [ebp - 0x210]
push eax
push 0x104
push ebx
call dword [sym.imp.KERNEL32.DLL_GetFullPathNameA]
mov ecx, edi
call fcn.0042455b
lea eax, [esi + 0x1c]
mov ebx, 0x43ce60
push eax
mov ecx, ebx
call fcn.0040750c
test eax, eax
je 0x41b219
mov ecx, edi
call fcn.00424447
mov dword [0x440040], 1
jmp 0x41b266
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryA]
mov ecx, esi
call fcn.0041b26b
mov ecx, esi
call fcn.0041b350
cmp byte [0x43cb08], 1
jne 0x41b249
mov ecx, esi
call fcn.0041b85b
push 1
mov ecx, ebx
call fcn.0040763c
mov ecx, edi
call fcn.00424447
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryA]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x426ed0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
lea eax, [ebp - 0x128]
push ebx
push eax
push dword [ebp + 8]
call fcn.004266c7
lea eax, [ebp - 0x230]
push eax
push dword [ebp + 0xc]
call fcn.004266c7
lea eax, [ebp - 0x128]
push eax
call fcn.004266ae
add esp, 0x14
test al, al
je 0x426f58
lea eax, [ebp - 0x230]
push eax
call fcn.004266ae
xor ebx, ebx
pop ecx
test al, al
je 0x426f23
cmp byte [ebp + 0x10], bl
je 0x426f58
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.004267b4
pop ecx
test al, al
pop ecx
je 0x426f73
lea eax, [ebp - 0x230]
push 1
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.00426ded
add esp, 0xc
test al, al
jne 0x426f5c
xor al, al
jmp 0x426fd6
lea eax, [ebp - 0x128]
push 1
push eax
call fcn.00426fd9
pop ecx
test al, al
pop ecx
setne al
jmp 0x426fd6
lea eax, [ebp - 0x128]
push eax
call fcn.00428ea0
mov byte [ebp + eax - 0x127], bl
lea eax, [ebp - 0x230]
push eax
call fcn.00428ea0
mov byte [ebp + eax - 0x22f], bl
lea eax, [ebp - 0x128]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x230]
pop ecx
mov dword [ebp - 0x14], eax
pop ecx
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0xa], ebx
mov dword [ebp - 6], ebx
mov dword [ebp - 0xe], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x10], 0x614
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
neg eax
sbb al, al
inc al
pop ebx
leave
ret

Function at 0x426fd9
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
lea eax, [ebp - 0x128]
push ebx
push eax
push dword [ebp + 8]
call fcn.004266c7
lea eax, [ebp - 0x128]
push eax
call fcn.004266ae
add esp, 0xc
test al, al
je 0x427062
xor ebx, ebx
lea eax, [ebp - 0x128]
cmp byte [ebp + 0xc], bl
push eax
jne 0x427020
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryA]
test eax, eax
setne al
jmp 0x427062
call fcn.00428ea0
mov byte [ebp + eax - 0x127], bl
lea eax, [ebp - 0x128]
mov dword [ebp - 0x18], eax
pop ecx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], ebx
push eax
mov dword [ebp - 0xa], ebx
mov dword [ebp - 6], ebx
mov dword [ebp - 0xe], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 3
mov word [ebp - 0x10], 0x614
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
neg eax
sbb al, al
inc al
pop ebx
leave
ret

Function at 0x427157
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x294
lea eax, [ebp - 0x294]
push eax
push 0x101
call sub.WSOCK32.dll_WSAStartup
test eax, eax
jne 0x4271de
lea eax, [ebp - 0x104]
push pe_nt_image_headers32
push eax
call sub.WSOCK32.dll_gethostname
lea eax, [ebp - 0x104]
push eax
call sub.WSOCK32.dll_gethostbyname
mov eax, dword [eax + 0xc]
xor edx, edx
cmp dword [eax], edx
je 0x4271a6
mov ecx, eax
add ecx, 4
inc edx
cmp dword [ecx], 0
jne 0x42719d
mov ecx, dword [ebp + 8]
cmp ecx, edx
jle 0x4271b4
push 0x435520
jmp 0x4271cf
push 4
push dword [eax + ecx*4 - 4]
lea eax, [ebp - 4]
push eax
call fcn.0042a0b0
add esp, 0xc
push dword [ebp - 4]
call sub.WSOCK32.dll_inet_ntoa
push eax
push dword [ebp + 0xc]
call fcn.00428db0
pop ecx
pop ecx
call sub.WSOCK32.dll_WSACleanup
leave
ret
Function at 0x7061dd39
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, ebx
jmp 0x7061de2b
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ebx
push esi
add edx, edx
cmp edx, 8
push edi
mov esi, 0x4cb2f
jl 0x7061ddb5
mov ecx, edx
shr ecx, 3
mov edi, ecx
neg edi
lea edx, [edx + edi*8]
movzx edi, byte [eax + 1]
imul esi, esi, 0x2fe8ed1f
movzx ebx, byte [eax + 2]
imul edi, edi, 0x25
add edi, ebx
movzx ebx, byte [eax + 3]
imul edi, edi, 0x25
add edi, ebx
movzx ebx, byte [eax + 4]
imul edi, edi, 0x25
add edi, ebx
movzx ebx, byte [eax + 5]
imul edi, edi, 0x25
add edi, ebx
movzx ebx, byte [eax + 6]
imul edi, edi, 0x25
add edi, ebx
movzx ebx, byte [eax]
imul edi, edi, 0x25
imul ebx, ebx, 0x1a617d0d
add edi, ebx
sub edi, esi
movzx esi, byte [eax + 7]
add esi, edi
add eax, 8
sub ecx, 1
jne 0x7061dd60
dec edx
cmp edx, 6
ja 0x7061ddd3
jmp dword [edx*4 + 0x70a80118]
xor ebx, ebx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x18]
mov ecx, eax
and ecx, 0x1f
or edx, 0xffffffff
shl edx, cl
mov ecx, esi
and ecx, edx
mov dword [ebp - 4], ecx
test ebx, ebx
jne 0x7061dd0b
mov ebx, eax
shr ebx, 5
test ebx, ebx
je 0x7061de47
movzx eax, cl
add eax, 0xb15dcb
imul eax, eax, 0x25
movzx edi, ch
add eax, edi
movzx edi, byte [ebp - 2]
imul eax, eax, 0x25
add eax, edi
movzx edi, byte [ebp - 1]
imul eax, eax, 0x25
add eax, edi
dec ebx
and ebx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
lea eax, [eax + ebx*4]
mov ebx, dword [eax]
test bl, 1
jne 0x7061de47
nop
mov eax, dword [ebx + 4]
and eax, edx
cmp ecx, eax
je 0x7061ea06
mov ebx, dword [ebx]
test bl, 1
je 0x7061de33
pop edi
pop esi
mov eax, 0x490
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebx + 0x18]
mov edx, dword [ecx + 0x10]
movzx eax, word [edx + 0xc]
mov ecx, dword [ebx + 0x14]
movzx edx, word [ecx + 0xc]
add eax, edx
cmp dword [ebp + 0x10], eax
jne 0x7061ddd5
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + 0x10]
movzx ecx, word [eax + 0xc]
mov edx, dword [ebp + 0xc]
push ecx
add eax, 0xe
push eax
push edx
call dword [0x70a710e0]
add esp, 0xc
test eax, eax
jne 0x7061ddd5
mov eax, dword [ebx + 0x14]
movzx ecx, word [eax + 0xc]
mov edx, dword [ebx + 0x18]
push ecx
add eax, 0xe
push eax
mov eax, dword [edx + 0x10]
movzx ecx, word [eax + 0xc]
mov edx, dword [ebp + 0xc]
lea eax, [edx + ecx*2]
push eax
call dword [0x70a710e0]
add esp, 0xc
test eax, eax
jne 0x7061ddd5
mov ecx, dword [ebx + 8]
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
mov edx, dword [ebx + 0xc]
pop edi
pop esi
mov dword [eax + 4], edx
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x70625bb2
Capabilities:
Authenticate hmac

Disassembly:
outsb dx, byte [esi]
add byte [ecx], ah
insd dword es:[edi], dx
add byte [ebp], ah
cmp eax, 0x34002200
add byte [eax], dh
add byte [ecx], bh
add byte [ebx], dh
add byte [ecx], dh
add byte [ecx], dh
add byte [ebx], dh
add byte [0x34003300], ch
add byte [edx], dh
add byte [0x6e005f00], dh
add byte [ebp], ah
jne 0x70625bde
je 0x70625be0
jb 0x70625be2
popal
add byte [eax + eax + 0x5f], ch
add byte [eax], dl
inc ecx
add byte [ebx], al
dec ebx
add byte [ecx], al
inc edi
add byte [ebp], al
and al, byte [eax]
add byte ds:[eax + eax], bh
jo 0x70625bfe
popal
add byte [eax], al
add byte [eax - 0x4d], dh
add byte [esi + 0x35], cl
xor byte [ebx + 0x358e00], 0
add byte [eax + 0x358e00b3], dl
add byte [eax], al
add byte [eax + 0x358e00b3], ah
add byte [eax], al
add byte [eax + 0x358e00b3], dh
add byte [eax], al
add al, al
mov bl, 0
invalid
Function at 0x404c40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, edx
test esi, esi
jne 0x404c52
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
test edx, edx
jne 0x404c69
mov edx, esi
lea ecx, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x404c60
sub edx, ecx
mov eax, 0xffffffff
cmp edx, 8
jb 0x404d4f
push edi
mov edi, edx
shr edi, 3
nop dword [eax]
movzx ecx, byte [esi]
sub edx, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + str.UUUU]
movzx ecx, byte [esi + 1]
xor eax, 0x55555555
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + str.UUUU]
movzx ecx, byte [esi + 2]
xor eax, 0x55555555
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + str.UUUU]
movzx ecx, byte [esi + 3]
xor eax, 0x55555555
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + str.UUUU]
movzx ecx, byte [esi + 4]
xor eax, 0x55555555
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + str.UUUU]
movzx ecx, byte [esi + 5]
xor eax, 0x55555555
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + str.UUUU]
movzx ecx, byte [esi + 6]
xor eax, 0x55555555
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + str.UUUU]
movzx ecx, byte [esi + 7]
xor eax, 0x55555555
xor ecx, eax
add esi, 8
movzx ecx, cl
shr eax, 8
xor eax, dword [ecx*4 + str.UUUU]
xor eax, 0x55555555
sub edi, 1
jne 0x404c80
pop edi
test edx, edx
je 0x404d72
movzx ecx, byte [esi]
lea esi, [esi + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + str.UUUU]
xor eax, 0x55555555
sub edx, 1
jne 0x404d53
not eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x405450
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push ecx
mov dword [ebp - 4], edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
xor esi, esi
mov ecx, dword [ebx + 0x3c]
mov edi, dword [ecx + ebx + 0x78]
mov ecx, dword [edi + ebx + 0x24]
add edi, ebx
add ecx, ebx
mov dword [ebp - 0xc], ecx
mov eax, dword [edi + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x20]
add eax, ebx
mov dword [ebp - 8], eax
cmp dword [edi + 0x18], esi
jbe 0x4054d2
nop
mov ecx, dword [eax + esi*4]
add ecx, ebx
call fcn.004053d0
mov ecx, dword [ebp - 4]
nop dword [eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4054c0
test dl, dl
je 0x4054bc
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4054c0
add ecx, 2
add eax, 2
test dl, dl
jne 0x4054a0
xor eax, eax
jmp 0x4054c5
sbb eax, eax
or eax, 1
test eax, eax
je 0x4054db
mov eax, dword [ebp - 8]
inc esi
cmp esi, dword [edi + 0x18]
jb 0x405490
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
pop edi
movzx eax, word [eax + esi*2]
pop esi
mov eax, dword [ecx + eax*4]
add eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40372f
Capabilities:
Connect pipe
Decrypt data using tea
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
cmp dword [0x45ec34], 0x60b
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
mov ecx, dword [eax + 4]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebx]
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
push edi
mov edi, dword [ebx + 4]
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], 0xc6ef3720
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], eax
jne 0x40378f
xor eax, eax
push eax
lea ecx, [ebp - 4]
push ecx
push eax
lea ecx, [ebp - 0x41c]
push ecx
push eax
push eax
push 0x401300
call dword [sym.imp.KERNEL32.dll_CallNamedPipeA]
push 0x20
pop edx
jmp 0x403797
mov esi, dword [ebp - 0xc]
mov eax, esi
shl eax, 4
add eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
add eax, esi
shr esi, 5
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], esi
mov eax, dword [ebp - 0x1c]
add dword [ebp + 8], eax
push dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
mov dword [0x45e7e4], 0xffcf03fc
call fcn.0040370a
mov eax, dword [ebp + 8]
xor eax, dword [ebp - 4]
and dword [0x45e7e4], 0
sub edi, eax
mov dword [ebp + 8], eax
mov dword [ebp - 4], edi
mov eax, dword [ebp - 4]
add eax, dword [ebp - 8]
mov dword [ebp + 0xc], eax
or dword [0x45e7ec], 0xffffffff
mov eax, edi
shr eax, 5
mov dword [0x45e7e8], 0xff6b3619
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x14]
add dword [ebp + 8], eax
mov eax, edi
shl eax, 4
add eax, dword [ebp - 0x18]
xor eax, dword [ebp + 8]
xor eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004036dd
cmp dword [0x45ec34], 0x93
je 0x403834
add dword [ebp - 8], 0x61c88647
dec edx
jne 0x403794
mov eax, dword [ebp - 0xc]
mov dword [ebx + 4], edi
pop edi
pop esi
mov dword [ebx], eax
pop ebx
leave
ret 8
Function at 0x4038b0
Capabilities:
Connect pipe
Create directory
Create mailslot
Get common file path
Get disk information
Move file
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2c20
call fcn.00405c90
cmp dword [0x45ec34], 0x37
jne 0x4039f0
push esi
push edi
xor esi, esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CommConfigDialogA]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMailslotW]
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
lea eax, [ebp - 0xc20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push esi
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 0x2420]
push eax
push esi
push esi
push 0x40132c
call dword [sym.imp.KERNEL32.dll_CallNamedPipeW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x1420]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SearchPathW]
push esi
lea eax, [ebp - 0x420]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointA]
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
lea eax, [ebp - 0x1820]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryExW]
push esi
lea eax, [ebp - 0x2020]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0x401334
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
lea eax, [ebp - 0x2c20]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
push 0x40133c
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
push esi
push esi
push esi
push esi
push esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0x401348
call edi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetProcessPriorityBoost]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call edi
call dword [sym.imp.KERNEL32.dll_AreFileApisANSI]
push esi
push 0x401374
push esi
push 0x4013a0
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CompareStringW]
pop edi
pop esi
mov eax, dword [ebp + 8]
mov ecx, dword [0x45f048]
mov cl, byte [ecx + eax + 0x38d6]
mov edx, dword [0x45e7e0]
mov byte [edx + eax], cl
leave
ret 4
Function at 0x406acb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44474c]
jne 0x406ad5
repz ret
jmp fcn.0040dc81

Function at 0x41023b
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.004084ad
and dword [ebp - 4], 0
cmp dword [0x45fa34], 0
mov ebx, eax
jne 0x4102ec
push 0x40281c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41039d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402810
push edi
call esi
test eax, eax
je 0x41039d
push eax
call fcn.0040843b
mov dword [esp], 0x402800
push edi
mov dword [0x45fa34], eax
call esi
push eax
call fcn.0040843b
mov dword [esp], 0x4027ec
push edi
mov dword [0x45fa38], eax
call esi
push eax
call fcn.0040843b
mov dword [esp], 0x4027d0
push edi
mov dword [0x45fa3c], eax
call esi
push eax
call fcn.0040843b
pop ecx
mov dword [0x45fa44], eax
test eax, eax
je 0x4102ec
push 0x4027b8
push edi
call esi
push eax
call fcn.0040843b
pop ecx
mov dword [0x45fa40], eax
mov eax, dword [0x45fa40]
cmp eax, ebx
je 0x410344
cmp dword [0x45fa44], ebx
je 0x410344
push eax
call fcn.004084b6
push dword [0x45fa44]
mov esi, eax
call fcn.004084b6
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x410344
test edi, edi
je 0x410344
call esi
test eax, eax
je 0x41033b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41033b
test byte [ebp - 0xc], 1
jne 0x410344
or dword [ebp + 0x10], 0x200000
jmp 0x41037d
mov eax, dword [0x45fa38]
cmp eax, ebx
je 0x41037d
push eax
call fcn.004084b6
pop ecx
test eax, eax
je 0x41037d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41037d
mov eax, dword [0x45fa3c]
cmp eax, ebx
je 0x41037d
push eax
call fcn.004084b6
pop ecx
test eax, eax
je 0x41037d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45fa34]
call fcn.004084b6
pop ecx
test eax, eax
je 0x41039d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41039f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret