joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4324dc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.004054a8
mov eax, dword [ebp - 8]
call fcn.004054a8
xor eax, eax
push ebp
push 0x4325e0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404fdc
cmp dword [ebp - 4], 0
je 0x432534
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x432534
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00405558
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 4]
call fcn.004054b8
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4325c5
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.004054b8
mov esi, eax
push esi
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4325b5
mov eax, ebx
mov edx, dword [ebp - 0x10]
call fcn.00405644
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx]
call fcn.004054b8
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push esi
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
push ebx
mov eax, dword [ebx]
call fcn.004052b8
mov ecx, eax
dec ecx
mov eax, dword [ebx]
mov edx, 1
call fcn.00405518
jmp 0x4325bc
mov eax, ebx
call fcn.00404fdc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4325e7
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405000
ret

Function at 0x4327ec
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc00
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
push esi
mov esi, 0x432844
lea edi, [ebp - 0x400]
mov ecx, pe_nt_image_headers32
rep movsd dword es:[edi], dword [esi]
pop esi
push 0x400
lea eax, [ebp - 0x400]
push eax
mov eax, ebx
call fcn.004054b8
push eax
call sub.kernel32.dll_GetEnvironmentVariableA
mov eax, esi
lea edx, [ebp - 0x400]
mov ecx, 0x400
call fcn.0040524c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x432c88
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004054b8
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x432ca1
test al, 0x10
jne 0x432ca5
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x433238
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.004054a8
xor eax, eax
push ebp
push 0x433322
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004052b8
dec eax
jle 0x4332a1
mov edx, dword [ebp - 4]
mov eax, 0x433338
call fcn.004055fc
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004052b8
dec eax
cmp ebx, eax
jne 0x4332a1
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
call fcn.004052b8
mov ecx, eax
sub ecx, 2
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00405518
mov eax, dword [ebp - 4]
call fcn.004052b8
mov ebx, eax
test ebx, ebx
jle 0x4332d8
mov dword [ebp - 8], 1
lea eax, [ebp - 4]
call fcn.00405510
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 0x4332b6
mov eax, dword [ebp - 4]
call fcn.004052b8
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 0x43330c
lea eax, [ebp - 4]
call fcn.00405510
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 0x433329
lea eax, [ebp - 4]
call fcn.00404fdc
ret

Function at 0x433804
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.00405644
cmp dword [ebp - 4], 0
jle 0x433841
mov eax, ebx
call fcn.00405510
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.004052b8
mov esi, eax
test esi, esi
jle 0x433875
mov dword [ebp - 4], 1
mov eax, ebx
call fcn.00405510
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 0x433855
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4349ec
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, pe_nt_image_headers32
call fcn.0040524c
mov eax, dword [esi]
call fcn.004052b8
mov ebx, eax
test ebx, ebx
jbe 0x434a5e
mov dword [edi], 1
mov eax, dword [esi]
mov edx, dword [edi]
mov al, byte [eax + edx - 1]
and eax, 0xff
bt dword [0x61dad8], eax
jae 0x434a59
mov eax, esi
call fcn.00405510
mov edx, dword [edi]
mov byte [eax + edx - 1], 0x5f
inc dword [edi]
dec ebx
jne 0x434a35
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x435240
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, ecx
shl edx, 2
add edx, eax
mov dword [esp], edx
mov eax, dword [esp]
call fcn.0040696c
test eax, eax
je 0x43529a
lea eax, [esp + 4]
push eax
push 0x40
push 4
mov eax, dword [esp + 0xc]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esp]
mov dword [eax], ebx
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 8]
push eax
push 4
mov eax, dword [esp + 0xc]
push eax
call sub.kernel32.dll_VirtualProtect
push 4
mov eax, dword [esp + 4]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_FlushInstructionCache
pop ecx
pop edx
pop ebx
ret

Function at 0x435494
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.00402edc
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 0x435a88
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe4
mov dword [esp], edx
mov ebp, eax
lea edi, [esp + 0x14]
mov eax, dword [0x6428b4]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x435ad4
inc ebx
xor esi, esi
mov edx, esi
mov eax, dword [0x6428b4]
call fcn.00422ce8
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
cmp ebp, dword [eax]
jne 0x435ad0
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
mov dword [esp + 4], eax
jmp 0x435bba
inc esi
dec ebx
jne 0x435aa8
mov dword [esp + 8], ebp
mov eax, dword [esp + 8]
mov dword [esp + 0xc], eax
xor ebx, ebx
mov edx, edi
mov eax, dword [esp + 0xc]
call fcn.0043568c
test al, al
jne 0x435af4
mov byte [edi], 1
xor eax, eax
mov al, byte [edi]
add ebx, eax
xor eax, eax
mov al, byte [edi]
add dword [esp + 0xc], eax
cmp ebx, 5
jb 0x435ae2
mov edx, ebx
mov eax, dword [esp + 8]
call fcn.004357e0
mov edi, eax
add edi, 5
mov eax, edi
call fcn.00402b84
mov esi, eax
mov eax, 0x14
call fcn.00402b84
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [eax], ebp
mov eax, dword [esp + 0x18]
mov dword [eax + 4], esi
mov eax, dword [esp + 0x18]
mov dword [eax + 8], edi
mov eax, dword [esp + 0x18]
mov dword [eax + 0x10], ebx
mov eax, ebx
call fcn.00402b84
mov ebp, eax
mov eax, dword [esp + 0x18]
mov dword [eax + 0xc], ebp
mov edx, ebp
mov eax, dword [esp + 8]
mov ecx, ebx
call fcn.00402edc
mov edx, dword [esp + 0x18]
mov eax, dword [0x6428b4]
call fcn.00422a54
lea eax, [esp + 0x10]
push eax
push 0x40
push edi
push esi
call sub.kernel32.dll_VirtualProtect
mov edx, esi
mov eax, dword [esp + 8]
mov ecx, ebx
call fcn.00402edc
mov ecx, ebx
mov edx, dword [esp + 8]
mov eax, esi
call fcn.004358ac
mov edx, dword [esp + 8]
add edx, ebx
lea eax, [ebx + esi]
call fcn.004354d4
mov edx, dword [esp]
mov eax, dword [esp + 8]
call fcn.004354d4
mov dword [esp + 4], esi
mov eax, dword [esp + 4]
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x435e4c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
mov edx, 0x40
mov eax, ebx
call fcn.00431ed0
test al, al
je 0x435ea0
mov eax, ebx
cmp word [eax], 0x5a4d
jne 0x435ea0
cmp dword [eax + 0x3c], 0
je 0x435ea0
mov eax, dword [eax + 0x3c]
add eax, ebx
mov dword [ebp - 4], eax
mov edx, 0xf8
mov eax, dword [ebp - 4]
call fcn.00431ed0
test al, al
je 0x435e9b
mov eax, dword [ebp - 4]
cmp dword [eax], 0x4550
je 0x435ea0
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
pop ecx
pop ebp
ret
Function at 0x4364e8
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 0x43655d
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.0040524c
mov eax, dword [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040ab98
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 0x436564
lea eax, [ebp - 0x2c]
call fcn.00404fdc
ret

Function at 0x43671c
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff4
mov ebx, edx
mov eax, ebx
call fcn.004054b8
push eax
call sub.wsock32.dll_gethostbyname
mov dword [esp + 4], eax
lea eax, [esp + 8]
xor ecx, ecx
mov edx, 4
call fcn.00403824
cmp dword [esp + 4], 0
je 0x43676e
mov eax, dword [esp + 4]
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 8], cl
mov cl, byte [edx + 1]
mov byte [esp + 9], cl
mov cl, byte [edx + 2]
mov byte [esp + 0xa], cl
mov al, byte [edx + 3]
mov byte [esp + 0xb], al
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp]
add esp, 0xc
pop ebx
ret
Function at 0x4369e0
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 0x436b4d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x24], 0
jne 0x436b32
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 0x436a4a
push 0
call sub.wsock32.dll_WSAGetLastError
lea edx, [ebp - 0x10]
call fcn.0040f3b8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0xb
lea ecx, [ebp - 0xc]
mov edx, 0x436b64
mov eax, ebx
call fcn.00436780
mov word [ebx + 4], 2
mov edx, dword [ebx + 0x14]
mov eax, ebx
call fcn.0043671c
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 0x436acc
push 0
call sub.wsock32.dll_WSAGetLastError
lea edx, [ebp - 0x14]
call fcn.0040f3b8
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0xb
lea ecx, [ebp - 0xc]
mov edx, 0x436b84
mov eax, ebx
call fcn.00436780
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, 0x436ba4
call fcn.0040c3ec
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x2c]
call fcn.00405030
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436b54
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00405000
ret
Function at 0x436bc8
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 0x436c5d
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
cmp byte [ebx + 0x24], 0
je 0x436c47
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 0x436c47
call sub.wsock32.dll_WSAGetLastError
mov edi, eax
cmp edi, 0x2733
je 0x436c47
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 4]
test edi, edi
je 0x436c47
push 0
lea edx, [ebp - 0x10]
mov eax, edi
call fcn.0040f3b8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0xb
lea ecx, [ebp - 0xc]
mov edx, 0x436c78
mov eax, ebx
call fcn.00436780
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436c64
lea eax, [ebp - 0x10]
call fcn.00404fdc
ret

Function at 0x436d48
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 0x436dff
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
cmp esi, 0xffffffff
jne 0x436d8e
cmp byte [ebx + 0x24], 0
je 0x436d8e
lea eax, [ebp - 4]
push eax
push 0x4004667f
mov eax, dword [ebx + 0x28]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x436de9
cmp byte [ebx + 0x24], 0
je 0x436de9
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 0x436de9
call sub.wsock32.dll_WSAGetLastError
mov esi, eax
cmp esi, 0x2733
je 0x436de9
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 4]
test esi, esi
je 0x436de9
push 0
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.0040f3b8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0xb
lea ecx, [ebp - 0xc]
mov edx, 0x436e18
mov eax, ebx
call fcn.00436780
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436e06
lea eax, [ebp - 0x10]
call fcn.00404fdc
ret
Function at 0x436e30
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 0x436ef8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404fdc
or ecx, 0xffffffff
xor edx, edx
mov eax, esi
call fcn.00436d48
mov ebx, eax
test ebx, ebx
jbe 0x436eda
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00405644
mov eax, dword [ebp - 8]
call fcn.004052b8
mov ecx, eax
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00436d48
mov edx, eax
lea eax, [ebp - 8]
call fcn.00405644
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004052c0
mov eax, dword [ebp - 4]
lea eax, [esi + 0x2c]
mov edx, dword [ebp - 8]
call fcn.004052c0
call sub.kernel32.dll_GetTickCount_1
mov edi, eax
or ecx, 0xffffffff
xor edx, edx
mov eax, esi
call fcn.00436d48
mov ebx, eax
push 1
call sub.kernel32.dll_Sleep
test ebx, ebx
ja 0x436eda
call sub.kernel32.dll_GetTickCount_1
sub eax, edi
cmp eax, 0x3e8
jbe 0x436eb3
test ebx, ebx
jne 0x436e59
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436eff
lea eax, [ebp - 8]
call fcn.00404fdc
ret

Function at 0x436f08
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_1
mov edi, eax
mov edx, ebx
mov eax, esi
call fcn.00436e30
cmp dword [ebx], 0
jne 0x436f2b
push 1
call sub.kernel32.dll_Sleep
cmp dword [ebx], 0
jne 0x436f3c
call sub.kernel32.dll_GetTickCount_1
sub eax, edi
cmp eax, dword [esi + 0x20]
jb 0x436f16
pop edi
pop esi
pop ebx
ret
Function at 0x43787c
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 0x437a5b
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.00404fdc
lea eax, [ebp - 0x14]
push eax
mov edx, ebx
mov eax, 0x437a70
call fcn.004055fc
inc eax
push eax
mov eax, ebx
call fcn.004052b8
mov ecx, eax
mov eax, ebx
pop edx
call fcn.00405518
call fcn.00437254
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x437a31
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x24], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x4379ad
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 [0x4365a4]
call fcn.0043685c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4379a6
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.00437664
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.00436c90
mov ebx, eax
mov eax, dword [ebp - 0x18]
call fcn.004052b8
cmp ebx, eax
jne 0x437990
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00436f08
cmp dword [ebp - 0x10], 0
je 0x437990
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.0043778c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4379ad
mov eax, dword [ebp - 0xc]
call fcn.0040408c
ret
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
cmp eax, dword [ebp - 0x20]
jl 0x4379d4
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x4379d4
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 4]
jbe 0x437913
inc dword [ebp - 0x24]
add dword [ebp - 4], 0x32
cmp dword [ebp - 0x24], 5
je 0x4379ed
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x437901
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x437a1b
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, 0x437a7c
mov dl, 1
mov eax, dword [0x436690]
call fcn.0040ff08
call fcn.00404930
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437a38
mov eax, dword [ebp - 0x1c]
call fcn.0040408c
ret

Function at 0x43d194
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jbe 0x43d1b4
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 0x43d1a2
pop edi
pop esi
pop ebx
ret
Function at 0x43daa8
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
push esi
push edi
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.00403824
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x10
call fcn.00403824
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 0x43db19
inc dword [ebp - 0x5c]
mov dword [ebp - 0x64], esi
test ebx, ebx
jbe 0x43db6d
mov esi, 0x40
sub esi, dword [ebp - 0x54]
cmp esi, ebx
ja 0x43db53
mov ecx, esi
mov eax, dword [ebp - 0x54]
lea edx, [ebp + eax - 0x40]
mov eax, dword [ebp - 0x64]
call fcn.00402edc
mov edi, 0x40
sub edi, dword [ebp - 0x54]
sub ebx, edi
add dword [ebp - 0x64], edi
push ebp
call fcn.0043d1ec
pop ecx
jmp 0x43db69
mov eax, dword [ebp - 0x54]
lea edx, [ebp + eax - 0x40]
mov eax, dword [ebp - 0x64]
mov ecx, ebx
call fcn.00402edc
add dword [ebp - 0x54], ebx
xor ebx, ebx
test ebx, ebx
ja 0x43db20
mov eax, dword [ebp - 0x54]
mov byte [ebp + eax - 0x40], 0x80
cmp dword [ebp - 0x54], 0x38
jb 0x43db82
push ebp
call fcn.0043d1ec
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.0043d1ec
pop ecx
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 0x50]
mov ecx, 0x10
call fcn.00402edc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43dbb0
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.0043d1b8
mov ebx, eax
add esi, 4
mov eax, dword [esi]
call fcn.0043d1b8
mov esi, eax
xor eax, eax
mov ecx, dword [0x643164]
mov edx, dword [0x643168]
mov dword [esp + 4], edx
mov edx, dword [0x64316c]
mov dword [esp + 8], edx
mov edx, dword [0x643170]
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 0x43dbfc
mov eax, ebx
call fcn.0043d1b8
mov edx, dword [esp]
mov dword [edx], eax
mov eax, esi
call fcn.0043d1b8
mov edx, dword [esp]
add edx, 4
mov dword [edx], eax
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret