joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e470
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov byte [ebp - 0xe], 0
mov byte [ebp - 0xf], 0
mov eax, dword [ebp + 8]
dec eax
test eax, eax
jl 0x42e530
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
mov al, byte [ebp - 0xe]
inc eax
and al, 0xff
mov byte [ebp - 0xe], al
xor eax, eax
mov al, byte [ebp - 0xe]
mov edx, dword [ebp - 4]
mov al, byte [edx + eax]
add al, byte [ebp - 0xf]
and al, 0xff
mov byte [ebp - 0xf], al
xor eax, eax
mov al, byte [ebp - 0xe]
mov edx, dword [ebp - 4]
mov al, byte [edx + eax]
mov byte [ebp - 0xd], al
xor eax, eax
mov al, byte [ebp - 0xf]
mov edx, dword [ebp - 4]
mov al, byte [edx + eax]
xor edx, edx
mov dl, byte [ebp - 0xe]
mov ecx, dword [ebp - 4]
mov byte [ecx + edx], al
xor eax, eax
mov al, byte [ebp - 0xf]
mov edx, dword [ebp - 4]
mov cl, byte [ebp - 0xd]
mov byte [edx + eax], cl
xor eax, eax
mov al, byte [ebp - 0xe]
mov edx, dword [ebp - 4]
mov al, byte [edx + eax]
xor edx, edx
mov dl, byte [ebp - 0xf]
mov ecx, dword [ebp - 4]
add al, byte [ecx + edx]
and al, 0xff
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
mov al, byte [eax + edx]
xor edx, edx
mov dl, byte [ebp - 0xd]
mov ecx, dword [ebp - 4]
xor al, byte [ecx + edx]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov byte [edx + ecx], al
inc dword [ebp - 0x14]
dec dword [ebp - 0x18]
jne 0x42e49e
mov esp, ebp
pop ebp
ret 4

Function at 0x43088c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0041d5c8
xor eax, eax
push ebp
push 0x430930
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
push 0
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
lea eax, [edx + eax]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
jl 0x4308f5
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x430914
cmp dword [ebp - 0x14], 0
jg 0x430905
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
jmp 0x430914
mov eax, dword [ebp - 0x14]
sub dword [ebp - 0x18], eax
push 0
call sub.kernel32.dll_Sleep_1
jmp 0x4308c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430937
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0041d5d0
ret
Function at 0x431e08
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x24]
mov edi, dword [ebx + 0x34]
sub edi, dword [ebx + 0x6c]
sub edi, dword [ebx + 0x64]
test edi, edi
jne 0x431e32
cmp dword [ebx + 0x64], 0
jne 0x431e32
cmp dword [ebx + 0x6c], 0
jne 0x431e32
mov edi, esi
jmp 0x431eb9
cmp edi, 0xffffffff
jne 0x431e3a
dec edi
jmp 0x431eb9
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x431eb9
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.00430b98
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x431e87
mov cx, word [esp]
sub cx, si
jmp 0x431e89
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x431e70
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x38]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x431eaf
mov cx, word [esp]
sub cx, si
jmp 0x431eb1
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x431e98
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x431f16
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.00431ba4
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x431f01
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x64]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x431f16
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x431e12
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x438554
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x438717
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
cmp byte [eax + 0x14], 0
jne 0x4385f9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x268]
cmp eax, 0x15f90
jbe 0x4385f9
push 0x43872c
lea eax, [ebp - 0xc]
push eax
push 0x438758
mov eax, dword [ebp - 8]
push dword [eax + 0x54]
push 0x438758
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404d78
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea edx, [ebp - 0x14]
xor ecx, ecx
mov eax, 0x438764
call fcn.00409e5c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
add eax, 0x18
mov ecx, 0x438790
call fcn.0042cbd0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
cmp byte [eax + 0x14], 1
jne 0x4386e6
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
cmp byte [eax + 0x15], 1
jne 0x4386e6
mov eax, dword [ebp - 4]
cmp byte [eax + 0x270], 0
jne 0x43866f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x268]
cmp eax, 0xea60
jbe 0x43866f
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
cmp byte [eax + 0x16], 0
je 0x438655
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov edx, dword [eax]
call dword [edx + 8]
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x268], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x270], 1
jmp 0x4386e6
mov eax, dword [ebp - 4]
cmp byte [eax + 0x270], 1
jne 0x4386e6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x268]
cmp eax, 0x7530
jbe 0x4386e6
push 0x4387b8
lea eax, [ebp - 0x1c]
push eax
push 0x438758
mov eax, dword [ebp - 8]
push dword [eax + 0x54]
push 0x438758
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404d78
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea edx, [ebp - 0x14]
mov eax, 0x438764
xor ecx, ecx
call fcn.00409e5c
mov edx, dword [ebp - 0x1c]
mov ecx, 0x438790
mov eax, dword [ebp - 8]
add eax, 0x18
call fcn.0042cbd0
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x26c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43871e
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404a1c
lea eax, [ebp - 0xc]
call fcn.004049f8
ret
Function at 0x438f10
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x438fea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x14], 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
lea eax, [edx + eax]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x14]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jg 0x438f86
call sub.wsock32.dll_WSAGetLastError
lea edx, [ebp - 0xc]
call fcn.0042d054
mov edx, dword [ebp - 0xc]
mov ecx, 0x439000
mov eax, dword [ebp - 4]
call fcn.004390e8
jmp 0x438fd4
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
add dword [eax + 0x1c], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
sub dword [eax + 0x18], edx
xor eax, eax
push ebp
push 0x438fb8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x438fd4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438ff1
lea eax, [ebp - 0xc]
call fcn.004049f8
ret

Function at 0x43a024
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
dec eax
test eax, eax
jl 0x43a069
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor al, byte [edx + ecx]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov byte [edx + ecx], al
inc dword [ebp - 0x10]
dec dword [ebp - 0x14]
jne 0x43a046
mov esp, ebp
pop ebp
ret 4
Function at 0x43a184
Capabilities:
Encrypt data using twofish

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x489938]
mov byte [ebp - 2], al
xor eax, eax
mov al, byte [ebp - 2]
call dword [0x489b38]
mov byte [ebp - 4], al
xor eax, eax
mov al, byte [ebp - 2]
call dword [0x489b3c]
mov byte [ebp - 6], al
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x489a38]
mov byte [ebp - 1], al
xor eax, eax
mov al, byte [ebp - 1]
call dword [0x489b38]
mov byte [ebp - 3], al
xor eax, eax
mov al, byte [ebp - 1]
call dword [0x489b3c]
mov byte [ebp - 5], al
xor eax, eax
mov al, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 3]
shl edx, 8
or eax, edx
xor edx, edx
mov dl, byte [ebp - 5]
shl edx, 0x10
or eax, edx
xor edx, edx
mov dl, byte [ebp - 5]
shl edx, 0x18
or eax, edx
mov edx, dword [ebp - 0xc]
mov dword [edx*4 + 0x48e79c], eax
xor eax, eax
mov al, byte [ebp - 6]
xor edx, edx
mov dl, byte [ebp - 6]
shl edx, 8
or eax, edx
xor edx, edx
mov dl, byte [ebp - 4]
shl edx, 0x10
or eax, edx
xor edx, edx
mov dl, byte [ebp - 2]
shl edx, 0x18
or eax, edx
mov edx, dword [ebp - 0xc]
mov dword [edx*4 + 0x48eb9c], eax
xor eax, eax
mov al, byte [ebp - 3]
xor edx, edx
mov dl, byte [ebp - 5]
shl edx, 8
or eax, edx
xor edx, edx
mov dl, byte [ebp - 1]
shl edx, 0x10
or eax, edx
xor edx, edx
mov dl, byte [ebp - 5]
shl edx, 0x18
or eax, edx
mov edx, dword [ebp - 0xc]
mov dword [edx*4 + 0x48ef9c], eax
xor eax, eax
mov al, byte [ebp - 4]
xor edx, edx
mov dl, byte [ebp - 2]
shl edx, 8
or eax, edx
xor edx, edx
mov dl, byte [ebp - 6]
shl edx, 0x10
or eax, edx
xor edx, edx
mov dl, byte [ebp - 4]
shl edx, 0x18
or eax, edx
mov edx, dword [ebp - 0xc]
mov dword [edx*4 + 0x48f39c], eax
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x100
jne 0x43a18f
mov esp, ebp
pop ebp
ret
Function at 0x43a388
Capabilities:
Encrypt data using twofish

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, 0xff
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
shr eax, 8
and eax, 0xff
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
shr eax, 0x10
and eax, 0xff
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
shr eax, 0x18
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0xc], 0x100
jne 0x43a43f
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 0x489a38]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0xc]
and edx, 0xff
xor eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 0x489938]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0xc]
shr edx, 8
and edx, 0xff
xor eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + 0x489938]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0xc]
shr edx, 0x10
and edx, 0xff
xor eax, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 0x489a38]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0xc]
shr edx, 0x18
xor eax, edx
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0xc], 0xc0
jl 0x43a4b7
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 0x489a38]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 8]
and edx, 0xff
xor eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 0x489a38]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 8]
shr edx, 8
and edx, 0xff
xor eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + 0x489938]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 8]
shr edx, 0x10
and edx, 0xff
xor eax, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 0x489938]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 8]
shr edx, 0x18
xor eax, edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 0x489938]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 4]
and edx, 0xff
xor eax, edx
movzx eax, byte [eax + 0x489938]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
and edx, 0xff
xor eax, edx
mov eax, dword [eax*4 + 0x48e79c]
mov edx, dword [ebp - 0x18]
movzx edx, byte [edx + 0x489a38]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 4]
shr ecx, 8
and ecx, 0xff
xor edx, ecx
movzx edx, byte [edx + 0x489938]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
shr ecx, 8
and ecx, 0xff
xor edx, ecx
xor eax, dword [edx*4 + 0x48eb9c]
mov edx, dword [ebp - 0x1c]
movzx edx, byte [edx + 0x489938]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 4]
shr ecx, 0x10
and ecx, 0xff
xor edx, ecx
movzx edx, byte [edx + 0x489a38]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
shr ecx, 0x10
and ecx, 0xff
xor edx, ecx
xor eax, dword [edx*4 + 0x48ef9c]
mov edx, dword [ebp - 0x20]
movzx edx, byte [edx + 0x489a38]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 4]
shr ecx, 0x18
xor edx, ecx
movzx edx, byte [edx + 0x489a38]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
shr ecx, 0x18
xor edx, ecx
xor eax, dword [edx*4 + 0x48f39c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x43a594
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*4]
xor edx, edx
mov dl, byte [ebp - 9]
imul edx, edx, 0x1010101
xor eax, edx
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov dword [ecx + edx*4], eax
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x40
jne 0x43a5a8
mov esp, ebp
pop ebp
ret
Function at 0x43b1cc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
dec eax
test eax, eax
jl 0x43b231
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 4]
add edx, 0x10c4
mov eax, dword [ebp - 4]
call fcn.0043aaa8
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx]
xor al, byte [ebp - 0x24]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov byte [edx + ecx], al
mov eax, dword [ebp - 4]
add eax, 0x10c4
mov edx, 0x10
call fcn.0043a070
inc dword [ebp - 0x10]
dec dword [ebp - 0x14]
jne 0x43b1ee
mov esp, ebp
pop ebp
ret 4

Function at 0x43b238
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
dec eax
test eax, eax
jl 0x43b29d
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 4]
add edx, 0x10c4
mov eax, dword [ebp - 4]
call fcn.0043aaa8
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx]
xor al, byte [ebp - 0x24]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov byte [edx + ecx], al
mov eax, dword [ebp - 4]
add eax, 0x10c4
mov edx, 0x10
call fcn.0043a070
inc dword [ebp - 0x10]
dec dword [ebp - 0x14]
jne 0x43b25a
mov esp, ebp
pop ebp
ret 4

Function at 0x43c384
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ea8
mov eax, dword [ebp - 8]
call fcn.00404ea8
xor eax, eax
push ebp
push 0x43c460
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x43c3f6
push 0
push 0
push 0x43c474
push dword [ebp - 8]
push 0x43c4a4
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404d78
mov eax, dword [ebp - 0xc]
call fcn.00404eb8
push eax
push 0x43c4a8
push 0x43c4b4
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x43c445
push 0
push 0
push 0x43c4c4
push dword [ebp - 8]
push 0x43c4a4
push 0x43c4f4
push 0x43c4a4
push dword [ebp - 4]
push 0x43c4a4
push 0x43c51c
lea eax, [ebp - 0x10]
mov edx, 8
call fcn.00404d78
mov eax, dword [ebp - 0x10]
call fcn.00404eb8
push eax
push 0x43c4a8
push 0x43c4b4
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43c467
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404a1c
ret
Function at 0x43cc1c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
xor edx, edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43cc9c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004049f8
push 0x105
lea eax, [ebp - 0x109]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x109]
call fcn.004099c8
lea edx, [ebp - 0x110]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040d550
mov edx, dword [ebp - 0x110]
mov eax, dword [ebp - 4]
call fcn.00404a4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43cca3
lea eax, [ebp - 0x110]
call fcn.004049f8
ret
Function at 0x43cdd4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov eax, dword [ebp - 8]
call fcn.00404ea8
xor eax, eax
push ebp
push 0x43cf6f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
jne 0x43ce18
lea edx, [ebp - 8]
xor eax, eax
call fcn.00402a68
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 8]
call fcn.00404eb8
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x43ce45
mov eax, dword [ebp - 0xc]
mov edx, 0x43cf84
call fcn.00404a4c
jmp 0x43cf4c
mov eax, dword [ebp - 0x14]
call fcn.004026f4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x43cf45
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00404eb8
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x43cf88
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
shr eax, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
and eax, 0xffff
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
shr eax, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
and eax, 0xffff
mov dword [ebp - 0x30], eax
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x24]
call fcn.00408b8c
push dword [ebp - 0x34]
push 0x43cf94
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x28]
call fcn.00408b8c
push dword [ebp - 0x38]
mov eax, dword [ebp - 0xc]
mov edx, 3
call fcn.00404d78
cmp byte [ebp - 1], 0
je 0x43cf2c
mov eax, dword [ebp - 0xc]
push dword [eax]
push 0x43cf94
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 0x2c]
call fcn.00408b8c
push dword [ebp - 0x3c]
push 0x43cf94
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x30]
call fcn.00408b8c
push dword [ebp - 0x40]
mov eax, dword [ebp - 0xc]
mov edx, 5
call fcn.00404d78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43cf4c
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
call fcn.00402714
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43cf76
lea eax, [ebp - 0x40]
mov edx, 4
call fcn.00404a1c
lea eax, [ebp - 8]
call fcn.004049f8
ret
Function at 0x43cf98
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ea8
mov eax, dword [ebp - 8]
call fcn.00404ea8
xor eax, eax
push ebp
push 0x43d11d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x43d0ed
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x43d0dc
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xa
mov eax, dword [ebp - 4]
call fcn.00404eb8
push eax
mov eax, dword [0x48d668]
push eax
call sub.kernel32.dll_FindResourceA
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x48d668]
push eax
call sub.kernel32.dll_LoadResource
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_LockResource
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43d096
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x48d668]
push eax
call sub.kernel32.dll_SizeofResource
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x168]
xor edx, edx
xor eax, eax
call fcn.0043c90c
lea eax, [ebp - 0x168]
mov edx, dword [ebp - 8]
call fcn.00404cc0
mov edx, dword [ebp - 0x168]
lea eax, [ebp - 0x164]
call fcn.00402e60
mov edx, 1
lea eax, [ebp - 0x164]
call fcn.004034fc
call fcn.0040283c
push 0
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x164]
call fcn.00402fbc
call fcn.0040283c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d0e3
xor eax, eax
push ebp
push 0x43d0d1
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x14], 0
je 0x43d0c7
lea eax, [ebp - 0x164]
call fcn.00402fdc
call fcn.0040283c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43d0db
ret