joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f220
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push edi
xor edi, edi
mov dword [ebp - 0x14], edx
cmp byte [ecx], 0
je 0x41f35d
push esi
lea esi, [ecx + 2]
mov dword [ebp - 4], esi
push ebx
lea ecx, [ecx]
mov bl, byte [esi - 2]
xor al, al
mov dword [ebp - 8], 0xffffffff
mov esi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov dl, byte [ebp - 8]
cmp byte [esi], bl
lea esi, [esi + 1]
movzx ecx, al
movzx edx, dl
cmove edx, ecx
inc al
cmp al, 0x40
jb 0x41f254
mov eax, dword [ebp - 4]
xor bl, bl
mov cl, byte [ebp - 7]
mov esi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov dword [ebp - 0x10], edx
mov bh, byte [eax - 1]
jmp 0x41f280
cmp byte [esi], bh
lea esi, [esi + 1]
movzx eax, bl
movzx ecx, cl
cmove ecx, eax
inc bl
cmp bl, 0x40
jb 0x41f280
mov eax, dword [ebp - 4]
mov esi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov bl, byte [ebp - 6]
mov dword [ebp - 0xc], ecx
xor cl, cl
mov ch, byte [eax]
cmp byte [esi], ch
lea esi, [esi + 1]
movzx eax, cl
movzx ebx, bl
cmove ebx, eax
inc cl
cmp cl, 0x40
jb 0x41f2a7
mov esi, dword [ebp - 4]
xor cl, cl
mov dl, byte [ebp - 5]
mov ch, byte [esi + 1]
mov esi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
lea esp, [esp]
cmp byte [esi], ch
lea esi, [esi + 1]
movzx eax, cl
movzx edx, dl
cmove edx, eax
inc cl
cmp cl, 0x40
jb 0x41f2d0
mov ecx, dword [ebp - 0xc]
mov al, cl
mov esi, dword [ebp - 4]
mov dword [ebp - 8], edx
mov edx, dword [ebp - 0x10]
shr al, 4
shl dl, 2
and al, 3
or al, dl
mov edx, dword [ebp - 0x14]
mov byte [edi + edx], al
cmp byte [esi], 0x3d
je 0x41f353
mov al, bl
shl cl, 4
shr al, 2
and al, 0xf
or al, cl
mov byte [edi + edx + 1], al
cmp byte [esi + 1], 0x3d
je 0x41f349
mov ecx, dword [ebp - 8]
add esi, 4
and cl, 0x3f
shl bl, 6
or cl, bl
mov dword [ebp - 4], esi
mov byte [edi + edx + 2], cl
add edi, 3
cmp byte [esi - 2], 0
jne 0x41f240
pop ebx
pop esi
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
pop ebx
pop esi
lea eax, [edi + 2]
pop edi
mov esp, ebp
pop ebp
ret
pop ebx
pop esi
lea eax, [edi + 1]
pop edi
mov esp, ebp
pop ebp
ret
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x424230
Capabilities:
Create directory

Disassembly:
test ecx, ecx
jne 0x424237
xor eax, eax
ret
push ebx
push edi
push ecx
call fcn.00567ba7
mov ebx, eax
add esp, 4
mov edi, ebx
lea eax, [edi + 1]
lea esp, [esp]
mov cl, byte [edi]
inc edi
test cl, cl
jne 0x424250
push esi
sub edi, eax
xor esi, esi
test edi, edi
jle 0x424294
mov al, byte [ebx + esi]
cmp al, 0x5c
je 0x42426b
cmp al, 0x2f
jne 0x42428f
push 0
push ebx
mov byte [ebx + esi], 0
call fcn.00567bf7
add esp, 8
test eax, eax
je 0x42428b
push ebx
call fcn.00567c57
add esp, 4
test eax, eax
jne 0x4242bf
mov byte [ebx + esi], 0x2f
inc esi
cmp esi, edi
jl 0x424260
push 0
push ebx
call fcn.00567bf7
mov esi, eax
add esp, 8
test esi, esi
je 0x4242b0
push ebx
call fcn.00567c57
add esp, 4
mov esi, eax
push ebx
call fcn.00566434
add esp, 4
mov eax, esi
pop esi
pop edi
pop ebx
ret
pop esi
pop edi
or eax, 0xffffffff
pop ebx
ret
Function at 0x426430
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3bef
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x619490]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x10], 0
mov dword [edi], 0x5f0b10
mov dword [edi + 0x70], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
mov eax, dword [edi]
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov esi, dword [eax + 4]
add esi, edi
mov ecx, esi
call fcn.0041ef20
lea eax, [ebp - 0x14]
mov dword [esi + 0x3c], 0
lea ebx, [edi + 0x10]
mov ecx, esi
push eax
mov dword [esi + 0x38], ebx
call fcn.004041e0
push eax
mov dword [ebp - 4], 2
call fcn.00405130
mov byte [ebp - 4], 1
add esp, 4
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4264fa
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x4264fa
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [ebp - 0x18]
push 0x20
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], al
jne 0x42651f
mov eax, dword [esi + 0xc]
mov ecx, esi
or eax, 4
push 0
push eax
call fcn.00404120
mov dword [ebp - 4], 3
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ecx + edi - 4], eax
mov ecx, ebx
call fcn.00421e90
lea eax, [ebx + 4]
mov dword [ebx], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [ebx + 0xc], eax
lea ecx, [ebx + 8]
lea eax, [ebx + 0x14]
mov byte [ebx + 0x4c], 0
mov dword [ebx + 0x1c], eax
lea eax, [ebx + 0x18]
mov dword [ebx + 0x20], eax
lea eax, [ebx + 0x24]
mov dword [ebx + 0x2c], eax
lea eax, [ebx + 0x28]
mov dword [ebx + 0x30], eax
mov byte [ebx + 0x45], 0
mov dword [ebx + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [ebx + 0x20]
mov dword [eax], 0
mov eax, dword [ebx + 0x30]
mov dword [eax], 0
mov eax, dword [ebx + 0xc]
mov dword [eax], 0
mov eax, dword [ebx + 0x1c]
mov dword [eax], 0
mov eax, dword [ebx + 0x2c]
mov dword [eax], 0
mov dword [ebx + 0x50], 0
mov eax, dword [0x6295e4]
mov dword [ebx + 0x48], eax
mov eax, edi
mov dword [ebx + 0x40], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x427030
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3ccf
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x619490]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x10], 0
mov dword [edi], 0x5f0b00
mov dword [edi + 0x60], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
mov eax, dword [edi]
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov esi, dword [eax + 4]
add esi, edi
mov ecx, esi
call fcn.0041ef20
lea eax, [ebp - 0x14]
mov dword [esi + 0x3c], 0
lea ebx, [edi + 4]
mov ecx, esi
push eax
mov dword [esi + 0x38], ebx
call fcn.004041e0
push eax
mov dword [ebp - 4], 2
call fcn.00405130
mov byte [ebp - 4], 1
add esp, 4
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4270ec
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x4270ec
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [ebp - 0x18]
push 0x20
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], al
jne 0x427111
mov eax, dword [esi + 0xc]
mov ecx, esi
or eax, 4
push 0
push eax
call fcn.00404120
mov dword [ebp - 4], 3
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ecx + edi - 4], eax
mov ecx, ebx
call fcn.00421e90
lea eax, [ebx + 4]
mov dword [ebx], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [ebx + 0xc], eax
lea ecx, [ebx + 8]
lea eax, [ebx + 0x14]
mov byte [ebx + 0x4c], 0
mov dword [ebx + 0x1c], eax
lea eax, [ebx + 0x18]
mov dword [ebx + 0x20], eax
lea eax, [ebx + 0x24]
mov dword [ebx + 0x2c], eax
lea eax, [ebx + 0x28]
mov dword [ebx + 0x30], eax
mov byte [ebx + 0x45], 0
mov dword [ebx + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [ebx + 0x20]
mov dword [eax], 0
mov eax, dword [ebx + 0x30]
mov dword [eax], 0
mov eax, dword [ebx + 0xc]
mov dword [eax], 0
mov eax, dword [ebx + 0x1c]
mov dword [eax], 0
mov eax, dword [ebx + 0x2c]
mov dword [eax], 0
mov dword [ebx + 0x50], 0
mov eax, dword [0x6295e4]
mov dword [ebx + 0x48], eax
mov eax, edi
mov dword [ebx + 0x40], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x427660
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a0d58
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x619490]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x619490]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x4277b4
cmp byte [ebx + 0x45], 0
je 0x4277b4
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x4276c0
xor al, al
jmp 0x4277b6
mov ecx, 0xf
mov byte [esp + 0x18], 0
xorps xmm0, xmm0
mov dword [esp + 0x2c], ecx
cmp ecx, 0x10
movq qword [esp + 0x18], xmm0
lea eax, [esp + 0x18]
mov dword [esp + 0x28], 8
cmovae eax, dword [esp + 0x18]
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
jmp 0x427700
cmp dword [esp + 0x2c], 0x10
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 0x40]
lea edi, [esp + 0x18]
cmovae edi, dword [esp + 0x18]
lea esi, [esp + 0x18]
cmovae esi, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x427741
dec eax
je 0x427745
sub eax, 2
je 0x42779b
xor bl, bl
jmp 0x42779d
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x18]
cmp ecx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, edx
sub esi, eax
je 0x42777c
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.00567f68
add esp, 0x10
cmp esi, eax
jne 0x42773d
cmp byte [ebx + 0x45], 0
je 0x42779b
test esi, esi
jne 0x427700
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.00422f10
jmp 0x427700
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x4277b0
push dword [esp + 0x18]
call fcn.0043dd17
add esp, 4
mov al, bl
jmp 0x4277b6
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00565bf6
mov esp, ebp
pop ebp
ret
Function at 0x42cd40
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a4313
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x619490]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x84], 0
call fcn.00409e50
xor eax, eax
mov dword [ebp - 4], 0
cmp byte [edi + 0x2a], al
push 4
setne al
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push 1
push 6
push dword [edi + 0xc]
call dword [sym.imp.WS2_32.dll_setsockopt]
mov eax, dword [edi + 0x3c]
mov dword [ebp - 0x20], 1
test eax, eax
je 0x42cdc2
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x40]
mov dword [ebp - 0x18], eax
jmp 0x42cdd0
mov dword [ebp - 0x1c], 0x124f80
mov dword [ebp - 0x18], 0x7d0
push 0
push 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
push 0xc
lea eax, [ebp - 0x80]
push eax
push 0xc
lea eax, [ebp - 0x20]
push eax
push 0x98000004
push dword [edi + 0xc]
call dword [sym.imp.WS2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
jne 0x42ceb5
mov byte [ebp - 0x74], 0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea ecx, [ebp - 0xb4]
call fcn.00405610
push eax
mov edx, str.setKeepAlive_WSAIoctl_error:
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x9c]
call fcn.004058a0
mov edi, eax
add esp, 4
lea eax, [ebp - 0x70]
cmp eax, edi
je 0x42ce66
cmp dword [ebp - 0x5c], 0x10
jb 0x42ce4b
push dword [ebp - 0x70]
call fcn.0043dd17
add esp, 4
push edi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
call fcn.004043e0
cmp dword [ebp - 0x88], 0x10
jb 0x42ce7d
push dword [ebp - 0x9c]
call fcn.0043dd17
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebp - 0xa0], 0x10
mov dword [ebp - 0x88], 0xf
mov dword [ebp - 0x8c], 0
mov byte [ebp - 0x9c], 0
jb 0x42cec8
push dword [ebp - 0xb4]
call fcn.0043dd17
add esp, 4
jmp 0x42cec8
push 0
push 0x5ed5ad
lea ecx, [ebp - 0x70]
mov byte [ebp - 0x74], 1
call fcn.00404a30
lea eax, [ebp - 0x74]
mov ecx, esi
push eax
call fcn.004116f0
cmp dword [ebp - 0x44], 0x10
jb 0x42cee4
push dword [ebp - 0x58]
call fcn.0043dd17
add esp, 4
cmp dword [ebp - 0x5c], 0x10
mov byte [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
jb 0x42cf07
push dword [ebp - 0x70]
call fcn.0043dd17
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00565bf6
mov esp, ebp
pop ebp
ret 4
Function at 0x42cf30
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a4359
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x619490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov ecx, edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 0
call fcn.00409e50
xor eax, eax
mov dword [ebp - 4], 0
cmp byte [esi + 0x2a], al
push 4
setne al
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 1
push 6
push dword [esi + 0xc]
call dword [sym.imp.WS2_32.dll_setsockopt]
push 0
push 0x5ed5ad
lea ecx, [edi + 4]
mov byte [edi], 1
call fcn.00404a30
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00565bf6
mov esp, ebp
pop ebp
ret 4
Function at 0x433c80
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a4b1b
mov eax, dword fs:[0]
push eax
sub esp, 0x668
mov eax, dword [0x619490]
xor eax, esp
mov dword [esp + 0x660], eax
push ebx
push esi
push edi
mov eax, dword [0x619490]
xor eax, esp
push eax
lea eax, [esp + 0x678]
mov dword fs:[0], eax
mov ebx, edx
mov dword [esp + 0x10], ebx
mov esi, ecx
mov dword [esp + 0x14], esi
push 0
push 0x5ed5ad
lea ecx, [esp + 0x3c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
call fcn.00404a30
xor eax, eax
mov dword [esp + 0x680], 0
mov word [esp + 0x54], ax
test ebx, ebx
je 0x433e5c
lea eax, [esp + 0x54]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x433e5c
mov eax, dword [0x5f120c]
lea edi, [esp + 0x54]
mov dword [esp + 0x4c], eax
xor ebx, ebx
mov ax, word [0x5f1210]
mov word [esp + 0x50], ax
jmp 0x433d50
mov ax, word [edi]
mov word [esp + 0x4c], ax
lea eax, [esp + 0x25c]
push 0x104
push eax
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x433e40
lea esi, [esp + 0x25c]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x433d82
sub esi, ecx
sar esi, 1
cmp esi, 0x104
jae 0x433e40
push esi
lea eax, [esp + 0x260]
push eax
push dword [esp + 0x18]
call fcn.00568a97
add esp, 0xc
mov ebx, eax
neg ebx
sbb ebx, ebx
inc ebx
je 0x433e40
mov eax, dword [esp + 0x10]
lea eax, [eax + esi*2]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x46c]
push 0x5f1214
push eax
call fcn.00435470
add esp, 0x10
lea edx, [esp + 0x464]
lea ecx, [esp + 0x1c]
call fcn.0041fc40
mov esi, eax
lea eax, [esp + 0x34]
cmp eax, esi
je 0x433e2d
cmp dword [esp + 0x48], 0x10
jb 0x433e0e
push dword [esp + 0x34]
call fcn.0043dd17
add esp, 4
push esi
lea ecx, [esp + 0x38]
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
call fcn.004043e0
cmp dword [esp + 0x30], 0x10
jb 0x433e40
push dword [esp + 0x1c]
call fcn.0043dd17
add esp, 4
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x433e40
test ebx, ebx
jne 0x433e58
cmp word [edi], bx
jne 0x433d50
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x34]
mov ecx, esi
push eax
call fcn.00404320
cmp dword [esp + 0x48], 0x10
jb 0x433e7b
push dword [esp + 0x34]
call fcn.0043dd17
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x678]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x660]
xor ecx, esp
call fcn.00565bf6
mov esp, ebp
pop ebp
ret
Function at 0x433eb0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a4b72
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x619490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x224], 0
push 0
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
push 0x5ed5ad
mov dword [ebp - 0x228], edi
mov byte [edi], 0
call fcn.00404a30
push esi
push 0
mov dword [ebp - 4], 0
push 0x410
mov dword [ebp - 0x224], 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x43400e
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push eax
call fcn.00569f00
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
push ebx
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x434007
lea edx, [ebp - 0x220]
lea ecx, [ebp - 0x240]
call fcn.00433c80
mov esi, eax
cmp edi, esi
je 0x433ff0
cmp dword [edi + 0x14], 0x10
jb 0x433f9f
push dword [edi]
call fcn.0043dd17
add esp, 4
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp dword [esi + 0x14], 0x10
jae 0x433fc9
mov eax, dword [esi + 0x10]
inc eax
je 0x433fd3
push eax
push esi
push edi
call fcn.00565df0
add esp, 0xc
jmp 0x433fd3
mov eax, dword [esi]
mov dword [edi], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp dword [ebp - 0x22c], 0x10
jb 0x434007
push dword [ebp - 0x240]
call fcn.0043dd17
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00565bf6
mov esp, ebp
pop ebp
ret
Function at 0x434780
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a0f60
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x619490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
lea eax, [ebp + 8]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004045f0
lea ecx, [ebp - 0x1c]
call fcn.00434030
mov eax, dword [ebp - 0x18]
add esp, 0x18
mov ebx, dword [ebp - 0x1c]
xor edi, edi
sub eax, ebx
sar eax, 2
mov dword [ebp - 0x20], eax
test eax, eax
je 0x434845
lea esp, [esp]
push dword [ebx + edi*4]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [ebp - 0x20]
jb 0x434820
test ebx, ebx
je 0x434852
push ebx
call fcn.0043dd17
add esp, 4
cmp dword [ebp + 0x1c], 0x10
jb 0x434863
push dword [ebp + 8]
call fcn.0043dd17
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00565bf6
mov esp, ebp
pop ebp
ret

Function at 0x434880
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a1898
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x619490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.004345d0
mov ebx, dword [ebp - 0x18]
xor edi, edi
mov eax, dword [ebp - 0x1c]
sub ebx, eax
sar ebx, 2
test ebx, ebx
je 0x434917
nop
push dword [eax + edi*4]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
inc edi
cmp edi, ebx
jb 0x4348f0
test eax, eax
je 0x434924
push eax
call fcn.0043dd17
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00565bf6
mov esp, ebp
pop ebp
ret
Function at 0x434940
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a4c88
mov eax, dword fs:[0]
push eax
sub esp, 0x46c
mov eax, dword [0x619490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
lea eax, [ebp + 8]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004045f0
call fcn.004242d0
add esp, 0x18
test al, al
je 0x434b1a
cmp dword [ebp + 0x1c], 0x10
lea esi, [ebp + 8]
cmovae esi, dword [ebp + 8]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4349b8
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
sub ecx, edx
push 0
push 0
lea eax, [ecx + 1]
push eax
push esi
push 0
push 0
call edi
mov edx, eax
mov eax, esi
lea ebx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4349e0
push edx
sub eax, ebx
lea ecx, [ebp - 0x218]
push ecx
inc eax
push eax
push esi
push 0
push 0
call edi
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004045f0
lea ecx, [ebp - 0x438]
call fcn.004253c0
add esp, 0x18
lea esi, [ebp - 0x438]
cmp dword [ebp - 0x424], 0x10
cmovae esi, dword [ebp - 0x438]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x434a44
push 0
sub ecx, edx
push 0
lea eax, [ecx + 1]
push eax
push esi
push 0
push 0
call edi
mov edx, eax
mov eax, esi
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x434a63
push edx
sub eax, ebx
lea ecx, [ebp - 0x420]
push ecx
inc eax
push eax
push esi
push 0
push 0
call edi
lea eax, [ebp - 0x218]
mov dword [ebp - 0x474], 0x3c
mov dword [ebp - 0x464], eax
lea eax, [ebp - 0x420]
mov dword [ebp - 0x45c], eax
lea eax, [ebp - 0x474]
push eax
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 0
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x458], 5
mov dword [ebp - 0x454], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp dword [ebp - 0x424], 0x10
jb 0x434aff
push dword [ebp - 0x438]
call fcn.0043dd17
add esp, 4
mov dword [ebp - 0x424], 0xf
mov dword [ebp - 0x428], 0
mov byte [ebp - 0x438], 0
cmp dword [ebp + 0x1c], 0x10
jb 0x434b2b
push dword [ebp + 8]
call fcn.0043dd17
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00565bf6
mov esp, ebp
pop ebp
ret