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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404dc4
xor eax, eax
push ebp
push 0x4270a2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404bd4
dec eax
jle 0x427021
mov edx, dword [ebp - 4]
mov eax, 0x4270b8
call fcn.00404f18
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404bd4
dec eax
cmp ebx, eax
jne 0x427021
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
call fcn.00404bd4
mov ecx, eax
sub ecx, 2
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404e34
mov eax, dword [ebp - 4]
call fcn.00404bd4
mov ebx, eax
test ebx, ebx
jle 0x427058
mov dword [ebp - 8], 1
lea eax, [ebp - 4]
call fcn.00404e2c
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edi, dword [ebp - 8]
mov cl, byte [ecx + edi - 1]
xor cl, 0x62
mov byte [eax + edx - 1], cl
inc dword [ebp - 8]
dec ebx
jne 0x427036
mov eax, dword [ebp - 4]
call fcn.00404bd4
mov dword [ebp - 8], eax
lea edx, [ebp - 8]
mov ecx, 4
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x10]
cmp dword [ebp - 8], 0
jle 0x42708c
lea eax, [ebp - 4]
call fcn.00404e2c
mov edx, eax
mov ecx, dword [ebp - 8]
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x10]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4270a9
lea eax, [ebp - 4]
call fcn.004048f8
ret

Function at 0x427584
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
lea edx, [ebp - 4]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00404f60
cmp dword [ebp - 4], 0
jle 0x4275c1
mov eax, ebx
call fcn.00404e2c
mov edx, eax
mov ecx, dword [ebp - 4]
mov eax, esi
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebx]
call fcn.00404bd4
mov esi, eax
test esi, esi
jle 0x4275f5
mov dword [ebp - 4], 1
mov eax, ebx
call fcn.00404e2c
mov edx, dword [ebp - 4]
mov ecx, dword [ebx]
mov edi, dword [ebp - 4]
mov cl, byte [ecx + edi - 1]
xor cl, 0x62
mov byte [eax + edx - 1], cl
inc dword [ebp - 4]
dec esi
jne 0x4275d5
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x42876c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 4]
mov dword [edi], 0x10
push edi
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetComputerNameA
mov eax, esi
lea edx, [ebp - 0x104]
mov ecx, 0x100
call fcn.00404b68
mov eax, dword [esi]
call fcn.00404bd4
mov ebx, eax
test ebx, ebx
jbe 0x4287de
mov dword [edi], 1
mov eax, dword [esi]
mov edx, dword [edi]
mov al, byte [eax + edx - 1]
and eax, 0xff
bt dword [0x4b28ac], eax
jae 0x4287d9
mov eax, esi
call fcn.00404e2c
mov edx, dword [edi]
mov byte [eax + edx - 1], 0x5f
inc dword [edi]
dec ebx
jne 0x4287b5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x428f28
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push ecx
mov esi, ecx
mov ebx, edx
shl ebx, 2
add ebx, eax
mov eax, ebx
call fcn.00405d2c
test eax, eax
je 0x428f68
push esp
push 0x40
push 4
push ebx
call sub.kernel32.dll_VirtualProtect
mov dword [ebx], esi
push esp
mov eax, dword [esp + 4]
push eax
push 4
push ebx
call sub.kernel32.dll_VirtualProtect
push 4
push ebx
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_FlushInstructionCache
pop edx
pop esi
pop ebx
ret

Function at 0x429160
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
push ecx
mov esi, ecx
mov edi, edx
mov ebx, eax
push esp
push 0x40
push esi
push ebx
call sub.kernel32.dll_VirtualProtect
mov edx, ebx
mov eax, edi
mov ecx, esi
call fcn.00402b6c
push esp
mov eax, dword [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_VirtualProtect
push esi
push ebx
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_FlushInstructionCache
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4296b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffec
mov dword [esp + 4], edx
mov dword [esp], eax
lea ebp, [esp + 0x10]
mov eax, dword [0x4b58b0]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x4296f3
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x4b58b0]
call fcn.0041a9d0
mov ebx, eax
mov eax, dword [esp]
cmp eax, dword [ebx]
jne 0x4296ef
mov eax, dword [ebx + 4]
jmp 0x4297b9
inc edi
dec esi
jne 0x4296d2
mov edi, dword [esp]
mov ebx, edi
xor esi, esi
mov edx, ebp
mov eax, ebx
call fcn.00429358
test al, al
jne 0x42970b
mov byte [ebp], 1
xor eax, eax
mov al, byte [ebp]
add esi, eax
xor eax, eax
mov al, byte [ebp]
add ebx, eax
cmp esi, 5
jb 0x4296fa
mov edx, esi
mov eax, edi
call fcn.00429490
add eax, 5
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
call fcn.00402890
mov ebp, eax
mov eax, 0x14
call fcn.00402890
mov ebx, eax
mov eax, dword [esp]
mov dword [ebx], eax
mov dword [ebx + 4], ebp
mov eax, dword [esp + 8]
mov dword [ebx + 8], eax
mov dword [ebx + 0x10], esi
mov eax, esi
call fcn.00402890
mov dword [ebx + 0xc], eax
mov edx, dword [ebx + 0xc]
mov eax, edi
mov ecx, esi
call fcn.00402b6c
mov edx, ebx
mov eax, dword [0x4b58b0]
call fcn.0041a824
lea eax, [esp + 0xc]
push eax
push 0x40
mov eax, dword [esp + 0x10]
push eax
push ebp
call sub.kernel32.dll_VirtualProtect
mov edx, ebp
mov eax, edi
mov ecx, esi
call fcn.00402b6c
mov ecx, esi
mov edx, edi
mov eax, ebp
call fcn.0042952c
lea edx, [esi + edi]
lea eax, [esi + ebp]
call fcn.004291a0
mov edx, dword [esp + 4]
mov eax, edi
call fcn.004291a0
mov eax, ebp
add esp, 0x14
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x429a18
Capabilities:
Parse pe header

Disassembly:
push ebx
push esi
mov ebx, eax
xor esi, esi
mov edx, 0x40
mov eax, ebx
call fcn.00425c70
test al, al
je 0x429a5c
mov eax, ebx
cmp word [eax], 0x5a4d
jne 0x429a5c
cmp dword [eax + 0x3c], 0
je 0x429a5c
mov esi, dword [eax + 0x3c]
add esi, ebx
mov edx, 0xf8
mov eax, esi
call fcn.00425c70
test al, al
je 0x429a5a
cmp dword [esi], 0x4550
je 0x429a5c
xor esi, esi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x42a06c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor eax, eax
mov dword [ebp - 0x2c], eax
xor eax, eax
push ebp
push 0x42a0e1
push dword fs:[eax]
mov dword fs:[eax], esp
push 6
lea eax, [ebp - 7]
push eax
push 0x1004
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0x2c]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404b68
mov eax, dword [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409148
push 2
lea edx, [ebp - 0x27]
push edx
push eax
call sub.gdi32.dll_TranslateCharsetInfo
mov ebx, dword [ebp - 0x27]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a0e8
lea eax, [ebp - 0x2c]
call fcn.004048f8
ret

Function at 0x42a2a0
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00404dd4
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.0040329c
test ebx, ebx
je 0x42a2eb
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 4], cl
mov cl, byte [edx + 1]
mov byte [esp + 5], cl
mov cl, byte [edx + 2]
mov byte [esp + 6], cl
mov al, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret
Function at 0x42a55c
Capabilities:
Connect socket
Connect udp socket
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42a6c9
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x24], 0
jne 0x42a6ae
push 0
mov eax, dword [ebx + 0x1c]
push eax
push 2
call sub.wsock32.dll_socket
mov esi, eax
mov dword [ebx + 0x28], esi
inc esi
jne 0x42a5c6
push 0
call sub.wsock32.dll_WSAGetLastError
lea edx, [ebp - 0x10]
call fcn.0040c920
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0xb
lea ecx, [ebp - 0xc]
mov edx, 0x42a6e0
mov eax, ebx
call fcn.0042a2fc
mov word [ebx + 4], 2
mov edx, dword [ebx + 0x14]
mov eax, ebx
call fcn.0042a2a0
mov dword [ebx + 8], eax
mov ax, word [ebx + 0x18]
push eax
call sub.wsock32.dll_htons
mov word [ebx + 6], ax
push 0
push 0
push 0
mov eax, dword [ebx + 0x28]
push eax
call sub.wsock32.dll_WSAAsyncSelect
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 0x8004667e
mov eax, dword [ebx + 0x28]
push eax
call sub.wsock32.dll_ioctlsocket
push 0x10
lea eax, [ebx + 4]
push eax
mov eax, dword [ebx + 0x28]
push eax
call sub.wsock32.dll_connect
test eax, eax
je 0x42a648
push 0
call sub.wsock32.dll_WSAGetLastError
lea edx, [ebp - 0x14]
call fcn.0040c920
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0xb
lea ecx, [ebp - 0xc]
mov edx, 0x42a700
mov eax, ebx
call fcn.0042a2fc
cmp dword [ebx + 0x28], 0xffffffff
setne al
mov byte [ebx + 0x24], al
lea eax, [ebp - 0x18]
push eax
xor eax, eax
mov al, byte [ebx + 8]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
xor eax, eax
mov al, byte [ebx + 9]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
xor eax, eax
mov al, byte [ebx + 0xa]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
xor eax, eax
mov al, byte [ebx + 0xb]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
movzx eax, word [ebx + 0x18]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x40]
mov ecx, 4
mov eax, 0x42a720
call fcn.0040a370
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x2c]
call fcn.0040494c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a6d0
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.0040491c
ret
Function at 0x42a744
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
push ebp
push 0x42a7d9
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
cmp byte [ebx + 0x24], 0
je 0x42a7c3
push 0
mov eax, dword [ebp - 4]
push eax
push edx
mov eax, dword [ebx + 0x28]
push eax
call sub.wsock32.dll_send
mov esi, eax
cmp esi, 0xffffffff
jne 0x42a7c3
call sub.wsock32.dll_WSAGetLastError
mov edi, eax
cmp edi, 0x2733
je 0x42a7c3
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 4]
test edi, edi
je 0x42a7c3
push 0
lea edx, [ebp - 0x10]
mov eax, edi
call fcn.0040c920
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0xb
lea ecx, [ebp - 0xc]
mov edx, 0x42a7f4
mov eax, ebx
call fcn.0042a2fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a7e0
lea eax, [ebp - 0x10]
call fcn.004048f8
ret

Function at 0x42a8c4
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42a97b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
cmp esi, 0xffffffff
jne 0x42a90a
cmp byte [ebx + 0x24], 0
je 0x42a90a
lea eax, [ebp - 4]
push eax
push 0x4004667f
mov eax, dword [ebx + 0x28]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x42a965
cmp byte [ebx + 0x24], 0
je 0x42a965
push 0
push esi
push edi
mov eax, dword [ebx + 0x28]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x42a965
call sub.wsock32.dll_WSAGetLastError
mov esi, eax
cmp esi, 0x2733
je 0x42a965
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 4]
test esi, esi
je 0x42a965
push 0
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.0040c920
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0xb
lea ecx, [ebp - 0xc]
mov edx, 0x42a994
mov eax, ebx
call fcn.0042a2fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a982
lea eax, [ebp - 0x10]
call fcn.004048f8
ret
Function at 0x42a9ac
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x42aa74
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004048f8
or ecx, 0xffffffff
xor edx, edx
mov eax, esi
call fcn.0042a8c4
mov ebx, eax
test ebx, ebx
jbe 0x42aa56
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404f60
mov eax, dword [ebp - 8]
call fcn.00404bd4
mov ecx, eax
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.0042a8c4
mov edx, eax
lea eax, [ebp - 8]
call fcn.00404f60
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00404bdc
mov eax, dword [ebp - 4]
lea eax, [esi + 0x2c]
mov edx, dword [ebp - 8]
call fcn.00404bdc
call sub.kernel32.dll_GetTickCount
mov edi, eax
or ecx, 0xffffffff
xor edx, edx
mov eax, esi
call fcn.0042a8c4
mov ebx, eax
push 1
call sub.kernel32.dll_Sleep
test ebx, ebx
ja 0x42aa56
call sub.kernel32.dll_GetTickCount
sub eax, edi
cmp eax, 0x3e8
jbe 0x42aa2f
test ebx, ebx
jne 0x42a9d5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42aa7b
lea eax, [ebp - 8]
call fcn.004048f8
ret

Function at 0x42aa84
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
call sub.kernel32.dll_GetTickCount
mov edi, eax
mov edx, ebx
mov eax, esi
call fcn.0042a9ac
cmp dword [ebx], 0
jne 0x42aaa7
push 1
call sub.kernel32.dll_Sleep
cmp dword [ebx], 0
jne 0x42aab8
call sub.kernel32.dll_GetTickCount
sub eax, edi
cmp eax, dword [esi + 0x20]
jb 0x42aa92
pop edi
pop esi
pop ebx
ret
Function at 0x42b3e8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42b5c7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
add eax, 0x96
mov ecx, 5
xor edx, edx
div ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004048f8
lea eax, [ebp - 0x14]
push eax
mov edx, ebx
mov eax, 0x42b5dc
call fcn.00404f18
inc eax
push eax
mov eax, ebx
call fcn.00404bd4
mov ecx, eax
mov eax, ebx
pop edx
call fcn.00404e34
call fcn.0042add0
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x42b59d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x24], eax
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x42b519
push 0x35
push 0
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0x2c]
mov dl, 1
mov eax, dword [0x42a128]
call fcn.0042a3d8
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x42b512
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x14]
call fcn.0042b1d0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0042a80c
mov ebx, eax
mov eax, dword [ebp - 0x18]
call fcn.00404bd4
cmp ebx, eax
jne 0x42b4fc
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.0042aa84
cmp dword [ebp - 0x10], 0
je 0x42b4fc
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.0042b2f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42b519
mov eax, dword [ebp - 0xc]
call fcn.00403a00
ret
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
cmp eax, dword [ebp - 0x20]
jl 0x42b540
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x42b540
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 4]
jbe 0x42b47f
inc dword [ebp - 0x24]
add dword [ebp - 4], 0x32
cmp dword [ebp - 0x24], 5
je 0x42b559
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x42b46d
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x42b587
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
lea eax, [ebp - 0x34]
push eax
push 0
mov ecx, 0x42b5e8
mov dl, 1
mov eax, dword [0x42a214]
call fcn.0040d194
call fcn.00404290
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42b5a4
mov eax, dword [ebp - 0x1c]
call fcn.00403a00
ret

Function at 0x430d00
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jbe 0x430d20
mov ecx, 1
mov ebx, edx
add ebx, ecx
dec ebx
mov bl, byte [ebx]
mov edi, eax
add edi, ecx
dec edi
xor byte [edi], bl
inc ecx
dec esi
jne 0x430d0e
pop edi
pop esi
pop ebx
ret
Function at 0x431614
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
mov ebx, ecx
mov esi, edx
mov dword [ebp - 0x58], eax
xor eax, eax
mov dword [ebp - 0x5c], eax
xor eax, eax
mov dword [ebp - 0x60], eax
xor eax, eax
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x40]
xor ecx, ecx
mov edx, 0x40
call fcn.0040329c
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x10
call fcn.0040329c
mov dword [ebp - 0x50], 0x67452301
mov dword [ebp - 0x4c], 0xefcdab89
mov dword [ebp - 0x48], 0x98badcfe
mov dword [ebp - 0x44], 0x10325476
mov eax, ebx
shr eax, 0x1d
add dword [ebp - 0x5c], eax
mov eax, ebx
shl eax, 3
add dword [ebp - 0x60], eax
cmp eax, dword [ebp - 0x60]
jbe 0x431684
inc dword [ebp - 0x5c]
test ebx, ebx
jbe 0x4316d2
mov eax, 0x40
sub eax, dword [ebp - 0x54]
cmp eax, ebx
ja 0x4316b9
mov ecx, eax
mov eax, dword [ebp - 0x54]
lea edx, [ebp + eax - 0x40]
mov eax, esi
call fcn.00402b6c
mov eax, 0x40
sub eax, dword [ebp - 0x54]
sub ebx, eax
add esi, eax
push ebp
call fcn.00430d58
pop ecx
jmp 0x4316ce
mov eax, dword [ebp - 0x54]
lea edx, [ebp + eax - 0x40]
mov eax, esi
mov ecx, ebx
call fcn.00402b6c
add dword [ebp - 0x54], ebx
xor ebx, ebx
test ebx, ebx
ja 0x431688
mov eax, dword [ebp - 0x54]
mov byte [ebp + eax - 0x40], 0x80
cmp dword [ebp - 0x54], 0x38
jb 0x4316e7
push ebp
call fcn.00430d58
pop ecx
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x60]
mov dword [eax], edx
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x5c]
mov dword [eax], edx
push ebp
call fcn.00430d58
pop ecx
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 0x50]
mov ecx, 0x10
call fcn.00402b6c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x431714
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp], edx
mov esi, eax
mov eax, dword [esi]
call fcn.00430d24
mov ebx, eax
add esi, 4
mov eax, dword [esi]
call fcn.00430d24
mov esi, eax
xor eax, eax
mov ecx, dword [0x4b6160]
mov edx, dword [0x4b6164]
mov dword [esp + 4], edx
mov edx, dword [0x4b6168]
mov dword [esp + 8], edx
mov edx, dword [0x4b616c]
mov dword [esp + 0xc], edx
mov edx, 0x20
add eax, 0x9e3779b9
mov edi, esi
shl edi, 4
mov ebp, esi
xor ebp, ecx
add edi, ebp
mov ebp, esi
shr ebp, 5
xor ebp, eax
add edi, ebp
add edi, dword [esp + 4]
add ebx, edi
mov edi, ebx
shl edi, 4
mov ebp, dword [esp + 8]
xor ebp, ebx
add edi, ebp
mov ebp, ebx
shr ebp, 5
xor ebp, eax
add edi, ebp
add edi, dword [esp + 0xc]
add esi, edi
dec edx
jne 0x431760
mov eax, ebx
call fcn.00430d24
mov edx, dword [esp]
mov dword [edx], eax
mov eax, esi
call fcn.00430d24
mov edx, dword [esp]
add edx, 4
mov dword [edx], eax
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4317c4
Capabilities:
Decrypt data using tea
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp], edx
mov esi, eax
mov eax, dword [esi]
call fcn.00430d24
mov ebx, eax
add esi, 4
mov eax, dword [esi]
call fcn.00430d24
mov esi, eax
mov eax, 0xc6ef3720
mov ecx, dword [0x4b6160]
mov edx, dword [0x4b6164]
mov dword [esp + 4], edx
mov edx, dword [0x4b6168]
mov dword [esp + 8], edx
mov edx, dword [0x4b616c]
mov dword [esp + 0xc], edx
mov edx, 0x20
mov edi, ebx
shl edi, 4
mov ebp, dword [esp + 8]
xor ebp, ebx
add edi, ebp
mov ebp, ebx
shr ebp, 5
xor ebp, eax
add edi, ebp
add edi, dword [esp + 0xc]
sub esi, edi
mov edi, esi
shl edi, 4
mov ebp, esi
xor ebp, ecx
add edi, ebp
mov ebp, esi
shr ebp, 5
xor ebp, eax
add edi, ebp
add edi, dword [esp + 4]
sub ebx, edi
sub eax, 0x9e3779b9
dec edx
jne 0x431813
mov eax, ebx
call fcn.00430d24
mov edx, dword [esp]
mov dword [edx], eax
mov eax, esi
call fcn.00430d24
mov edx, dword [esp]
add edx, 4
mov dword [edx], eax
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x431a3c
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov esi, dword [eax]
mov edi, dword [ecx]
mov eax, ebx
mov ecx, 3
xor edx, edx
div ecx
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
lea ecx, [0x4b3828]
xor eax, eax
xor ebx, ebx
xor edx, edx
cmp dword [ebp - 4], 0
je 0x431aa3
lodsw ax, word [esi]
mov bl, al
shr bl, 2
mov dl, byte [ebx + ecx]
mov bh, ah
and bh, 0xf
rol ax, 4
and ax, 0x3f
mov dh, byte [eax + ecx]
mov ax, dx
stosw word es:[edi], ax
lodsb al, byte [esi]
mov bl, al
shr bx, 6
mov dl, byte [ebx + ecx]
and al, 0x3f
xor ah, ah
mov dh, byte [eax + ecx]
mov ax, dx
stosw word es:[edi], ax
dec dword [ebp - 4]
jne 0x431a69
cmp dword [ebp - 8], 0
je 0x431af3
xor eax, eax
xor ebx, ebx
xor edx, edx
lodsb al, byte [esi]
shl ax, 6
mov bl, ah
mov dl, byte [ebx + ecx]
dec dword [ebp - 8]
je 0x431ade
shl ax, 2
and ah, 3
lodsb al, byte [esi]
shl ax, 4
mov bl, ah
mov dh, byte [ebx + ecx]
shl edx, 0x10
shr al, 2
mov bl, al
mov dl, byte [ebx + ecx]
mov dh, 0x3d
jmp 0x431aed
shr al, 2
mov bl, al
mov dh, byte [ebx + ecx]
shl edx, 0x10
mov dh, 0x3d
mov dl, 0x3d
mov eax, edx
ror eax, 0x10
stosd dword es:[edi], eax
pop ecx
pop ecx
pop ebp
ret

Function at 0x431ca0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x431caf
xor eax, eax
pop esi
pop ebx
ret
cmp byte [0x4b3868], 0
jne 0x431cbd
call fcn.00431c44
or eax, 0xffffffff
xor edx, edx
mov dl, byte [ebx]
xor edx, eax
and edx, 0xff
mov edx, dword [edx*4 + 0x4b6178]
shr eax, 8
xor edx, eax
mov eax, edx
inc ebx
dec esi
test esi, esi
jne 0x431cc0
xor eax, 0xffffffff
pop esi
pop ebx
ret

Function at 0x439bc0
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push esp
push 0x104
call sub.kernel32.dll_GetTempPathA
mov eax, ebx
mov edx, esp
mov ecx, 0x104
call fcn.00404b68
add esp, 0x104
pop ebx
ret