joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d184
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7f0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x810], ebx
mov dword [ebp - 0x80c], ebx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00405878
xor eax, eax
push ebp
push 0x42d280
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, ebx
call fcn.00405430
lea edx, [ebp - 0x80c]
mov eax, dword [ebp - 4]
call fcn.0040a518
cmp dword [ebp - 0x80c], 0
jne 0x42d208
lea eax, [ebp - 0x810]
call fcn.0042d10c
push dword [ebp - 0x810]
push 0x42d298
push dword [ebp - 4]
lea eax, [ebp - 4]
mov edx, 3
call fcn.0040578c
lea eax, [ebp - 4]
xor ecx, ecx
xor edx, edx
call fcn.0042de04
test al, al
je 0x42d25a
mov eax, dword [ebp - 4]
call fcn.00405888
push eax
push 0x800
lea eax, [ebp - 0x808]
push eax
mov eax, ebx
call fcn.00405888
push eax
mov eax, dword [ebp - 8]
call fcn.00405888
push eax
mov eax, edi
call fcn.00405888
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
mov ecx, eax
lea edx, [ebp - 0x808]
mov eax, esi
call fcn.004054cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d287
lea eax, [ebp - 0x810]
mov edx, 2
call fcn.00405400
lea eax, [ebp - 4]
call fcn.004053dc
ret

Function at 0x42da18
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
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.00405878
mov eax, dword [ebp - 8]
call fcn.00405878
xor eax, eax
push ebp
push 0x42db26
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004053dc
cmp dword [ebp - 4], 0
je 0x42da70
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x42da70
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00405930
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 4]
call fcn.00405888
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x42db0b
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00405888
mov esi, eax
push esi
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x42dafb
mov eax, ebx
mov edx, dword [ebp - 0x10]
call fcn.00405b18
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx]
call fcn.00405888
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
mov eax, dword [ebx]
mov dword [ebp - 0x18], eax
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x42dae9
sub esi, 4
mov esi, dword [esi]
push ebx
mov ecx, esi
dec ecx
mov eax, dword [ebx]
mov edx, 1
call fcn.004058f0
jmp 0x42db02
mov eax, ebx
call fcn.004053dc
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 0x42db2d
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405400
ret
Function at 0x42dcf0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x42dd7c
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, esi
call fcn.0040a27c
mov byte [ebp - 1], al
push 0
push 0x80
push 4
push 0
push 3
push 0xc0000000
mov eax, esi
call fcn.00405888
mov edi, eax
push edi
call sub.kernel32.dll_CreateFileA_1
cmp eax, 0xffffffff
je 0x42dd66
mov bl, 1
push eax
call sub.kernel32.dll_CloseHandle_1
cmp byte [ebp - 1], 0
jne 0x42dd66
mov edx, edi
lea eax, [ebp - 8]
call fcn.004055d4
mov eax, dword [ebp - 8]
call fcn.00405888
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42dd83
lea eax, [ebp - 8]
call fcn.004053dc
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405888
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x42dddd
test al, 0x10
jne 0x42dde1
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x42e62c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.00405878
xor eax, eax
push ebp
push 0x42e72e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test eax, eax
je 0x42e65c
sub eax, 4
mov eax, dword [eax]
dec eax
jle 0x42e6a2
mov edx, dword [ebp - 4]
mov eax, 0x42e744
call fcn.004059d4
mov edx, eax
mov ecx, dword [ebp - 4]
mov eax, ecx
test eax, eax
je 0x42e67c
sub eax, 4
mov eax, dword [eax]
dec eax
cmp edx, eax
jne 0x42e6a2
mov ebx, ecx
test ebx, ebx
je 0x42e68c
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 4]
push eax
mov ecx, ebx
sub ecx, 2
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004058f0
mov eax, dword [ebp - 4]
test eax, eax
je 0x42e6ae
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
test ebx, ebx
jle 0x42e6de
mov dword [ebp - 0xc], 1
lea eax, [ebp - 4]
call fcn.004058e8
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
movzx ecx, byte [ecx + esi - 1]
xor cl, 0x62
mov byte [eax + edx - 1], cl
inc dword [ebp - 0xc]
dec ebx
jne 0x42e6bb
mov eax, dword [ebp - 4]
test eax, eax
je 0x42e6ea
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x10]
cmp dword [ebp - 0xc], 0
jle 0x42e718
lea eax, [ebp - 4]
call fcn.004058e8
mov edx, eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x10]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e735
lea eax, [ebp - 4]
call fcn.004053dc
ret
Function at 0x42ecd4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
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.00405b18
cmp dword [ebp - 4], 0
jle 0x42ed13
mov eax, ebx
call fcn.004058e8
mov edx, eax
mov ecx, dword [ebp - 4]
mov eax, esi
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebx]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x42ed24
sub eax, 4
mov eax, dword [eax]
mov esi, eax
test esi, esi
jle 0x42ed52
mov dword [ebp - 4], 1
mov eax, ebx
call fcn.004058e8
mov edx, dword [ebp - 4]
mov ecx, dword [ebx]
mov edi, dword [ebp - 4]
movzx ecx, byte [ecx + edi - 1]
xor cl, 0x62
mov byte [eax + edx - 1], cl
inc dword [ebp - 4]
dec esi
jne 0x42ed31
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4306f8
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
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.0040564c
mov eax, dword [esi]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
test eax, eax
je 0x430745
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
test ebx, ebx
jbe 0x430779
mov dword [edi], 1
mov eax, dword [esi]
mov edx, dword [edi]
movzx eax, byte [eax + edx - 1]
movzx eax, al
bt dword [0x54a5cc], eax
jae 0x430774
mov eax, esi
call fcn.004058e8
mov edx, dword [edi]
mov byte [eax + edx - 1], 0x5f
inc dword [edi]
dec ebx
jne 0x430751
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x439c4c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x439c5b
xor eax, eax
pop esi
pop ebx
ret
cmp byte [0x54bad8], 0
jne 0x439c69
call fcn.00439bf0
or eax, 0xffffffff
movzx edx, byte [ebx]
xor edx, eax
and edx, 0xff
mov edx, dword [edx*4 + 0x558a64]
shr eax, 8
xor edx, eax
mov eax, edx
inc ebx
dec esi
test esi, esi
jne 0x439c6c
xor eax, 0xffffffff
pop esi
pop ebx
ret

Function at 0x439c94
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
xor edx, edx
mov ecx, eax
test ecx, ecx
je 0x439ca4
sub ecx, 4
mov ecx, dword [ecx]
test ecx, ecx
jle 0x439cd9
mov ebx, 1
movzx esi, byte [eax + ebx - 1]
movzx edi, dx
shr edi, 8
xor esi, edi
and esi, 0xff
movzx esi, word [esi*2 + 0x54b8d8]
shl edx, 8
and dx, 0xffff
xor si, dx
mov edx, esi
inc ebx
dec ecx
jne 0x439cad
mov eax, edx
pop edi
pop esi
pop ebx
ret
Function at 0x43a5b4
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
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.00403b4c
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x10
call fcn.00403b4c
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
add eax, eax
add eax, eax
add eax, eax
add dword [ebp - 0x60], eax
cmp eax, dword [ebp - 0x60]
jbe 0x43a628
inc dword [ebp - 0x5c]
test ebx, ebx
jbe 0x43a67e
mov edi, 0x40
sub edi, dword [ebp - 0x54]
cmp ebx, edi
jb 0x43a665
mov ecx, edi
mov eax, dword [ebp - 0x54]
lea edx, [ebp + eax - 0x40]
mov eax, esi
call fcn.00403258
mov eax, 0x40
sub eax, dword [ebp - 0x54]
sub ebx, eax
mov eax, 0x40
sub eax, dword [ebp - 0x54]
add esi, eax
push ebp
call fcn.00439cf8
pop ecx
jmp 0x43a67a
mov eax, dword [ebp - 0x54]
lea edx, [ebp + eax - 0x40]
mov eax, esi
mov ecx, ebx
call fcn.00403258
add dword [ebp - 0x54], ebx
xor ebx, ebx
test ebx, ebx
ja 0x43a62c
mov eax, dword [ebp - 0x54]
mov byte [ebp + eax - 0x40], 0x80
cmp dword [ebp - 0x54], 0x38
jb 0x43a693
push ebp
call fcn.00439cf8
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.00439cf8
pop ecx
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 0x50]
mov ecx, 0x10
call fcn.00403258
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43b9bc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jbe 0x43b9dd
mov ecx, 1
mov ebx, edx
add ebx, ecx
dec ebx
movzx ebx, byte [ebx]
mov edi, eax
add edi, ecx
dec edi
xor byte [edi], bl
inc ecx
dec esi
jne 0x43b9ca
pop edi
pop esi
pop ebx
ret

Function at 0x43ba18
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.0043b9e4
mov ebx, eax
add esi, 4
mov eax, dword [esi]
call fcn.0043b9e4
mov esi, eax
xor eax, eax
mov ecx, dword [0x558e6c]
mov edx, dword [0x558e70]
mov dword [esp + 4], edx
mov edx, dword [0x558e74]
mov dword [esp + 8], edx
mov edx, dword [0x558e78]
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 0x43ba64
mov eax, ebx
call fcn.0043b9e4
mov edx, dword [esp]
mov dword [edx], eax
mov eax, esi
call fcn.0043b9e4
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 0x43bac8
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.0043b9e4
mov ebx, eax
add esi, 4
mov eax, dword [esi]
call fcn.0043b9e4
mov esi, eax
mov eax, 0xc6ef3720
mov ecx, dword [0x558e6c]
mov edx, dword [0x558e70]
mov dword [esp + 4], edx
mov edx, dword [0x558e74]
mov dword [esp + 8], edx
mov edx, dword [0x558e78]
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 0x43bb17
mov eax, ebx
call fcn.0043b9e4
mov edx, dword [esp]
mov dword [edx], eax
mov eax, esi
call fcn.0043b9e4
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 0x43bd54
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, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
xor eax, eax
xor ebx, ebx
xor edx, edx
cmp dword [ebp - 4], 0
je 0x43bdbb
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 0x43bd81
cmp dword [ebp - 8], 0
je 0x43be0b
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 0x43bdf6
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 0x43be05
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 0x448384
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
mov ebx, dword [eax]
mov esi, ebx
xor esi, ecx
and esi, 0xff
shr ebx, 8
mov esi, dword [edx + esi*4]
xor esi, ebx
mov dword [eax], esi
and esi, 0xff
add dword [eax + 4], esi
imul ebx, dword [eax + 4], 0x8088405
inc ebx
mov dword [eax + 4], ebx
shr ebx, 0x18
mov esi, dword [eax + 8]
xor ebx, esi
and ebx, 0xff
shr esi, 8
mov edx, dword [edx + ebx*4]
xor edx, esi
mov dword [eax + 8], edx
mov eax, ecx
pop esi
pop ebx
ret
Function at 0x448408
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
cmp dword [ebp - 0xc], 0xc
jge 0x44842d
xor eax, eax
jmp 0x44855e
inc dword [0x54e7a0]
mov edx, dword [0x54e7a0]
cmp edx, 1
jne 0x448452
push 0
call fcn.00447efc
pop ecx
xor eax, 0xbb40e64e
push eax
call fcn.00447f14
pop ecx
mov ecx, edi
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.004483d0
xor ebx, ebx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], eax
call fcn.00447f08
sar eax, 7
and eax, 0xff
mov dword [ebp - 0x14], eax
mov edx, edi
mov eax, esi
call fcn.00448364
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x14]
mov edx, edi
mov eax, esi
call fcn.00448384
mov dl, byte [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
xor dl, byte [ebp - 0x14]
mov byte [ecx], dl
inc ebx
inc dword [ebp - 0x24]
cmp ebx, 0xa
jl 0x448466
mov ecx, edi
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.004483d0
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x20]
mov edx, eax
xor ebx, ebx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], ecx
mov edx, edi
mov eax, esi
call fcn.00448364
mov dword [ebp - 0x10], eax
mov eax, esi
mov ecx, dword [ebp - 0x28]
mov edx, edi
movzx ecx, byte [ecx]
call fcn.00448384
mov al, byte [ebp - 0x10]
mov edx, dword [ebp - 0x28]
xor al, byte [edx]
mov ecx, dword [ebp - 0x2c]
mov byte [ecx], al
inc ebx
inc dword [ebp - 0x2c]
inc dword [ebp - 0x28]
cmp ebx, 0xa
jl 0x4484be
mov edx, edi
mov eax, esi
call fcn.00448364
mov dword [ebp - 0x10], eax
mov eax, esi
mov ecx, dword [ebp + 8]
mov edx, edi
shr ecx, 0x10
and ecx, 0xff
call fcn.00448384
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
shr eax, 0x10
mov cl, byte [ebp - 0x10]
and al, 0xff
xor cl, al
mov eax, esi
mov byte [edx + ebx], cl
mov edx, edi
inc ebx
call fcn.00448364
mov dword [ebp - 0x10], eax
mov eax, esi
mov ecx, dword [ebp + 8]
mov edx, edi
shr ecx, 0x18
and ecx, 0xff
call fcn.00448384
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
shr eax, 0x18
mov cl, byte [ebp - 0x10]
and al, 0xff
xor cl, al
mov byte [edx + ebx], cl
inc ebx
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4494c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
xor esi, esi
test eax, eax
mov dword [esp + 4], ecx
mov dword [esp], edx
jne 0x4494dd
mov eax, 0xffffff9a
jmp 0x4496a5
mov ebx, eax
cmp dword [ebx + 0x2c], 0
jne 0x4494ef
mov eax, 0xffffff9a
jmp 0x4496a5
xor edx, edx
mov dword [ebx + 0x34], edx
cmp dword [ebx + 0x80], 8
jne 0x449546
cmp dword [ebx + 0x84], 0
jne 0x449546
test esi, esi
jne 0x449546
cmp dword [ebx + 0x40], 0
jne 0x449528
mov eax, ebx
call fcn.0044934c
mov dword [ebx + 0x40], 0x10000
lea edx, [ebx + 0x88]
inc eax
mov dword [ebx + 0x3c], edx
mov edi, dword [ebx + 0x44]
lea eax, [ebx + 0x30]
mov edx, 4
call fcn.0044acc8
mov esi, eax
mov eax, dword [ebx + 0x44]
sub eax, edi
add dword [ebx + 0x6c], eax
test esi, esi
je 0x44950a
cmp esi, 1
jne 0x44954d
xor esi, esi
cmp dword [ebx + 0x6c], 0
jbe 0x449564
test esi, esi
jne 0x449564
mov eax, ebx
call fcn.0044934c
inc eax
jne 0x449564
or esi, 0xffffffff
cmp dword [ebx + 0x80], 8
jne 0x449585
cmp dword [ebx + 0x84], 0
jne 0x449585
lea eax, [ebx + 0x30]
call fcn.0044af8c
mov esi, eax
xor eax, eax
mov dword [ebx + 0x68], eax
cmp dword [ebx + 0x84], 0
jne 0x44959e
mov edx, dword [ebx + 0x1008c]
mov dword [esp + 4], edx
mov ecx, dword [ebx + 0x38]
mov dword [esp], ecx
mov edi, dword [ebx + 0x44]
add edi, dword [ebx + 0x100a4]
mov eax, dword [ebx + 0x74]
add eax, 0x10
mov ecx, 4
mov edx, dword [esp + 4]
call fcn.004486e8
mov eax, dword [ebx + 0x74]
add eax, 0x14
mov ecx, 4
mov edx, edi
call fcn.004486e8
cmp dword [ebx + 0x5c], 1
jne 0x4495e8
mov eax, dword [ebx + 0x74]
add eax, 0x24
mov ecx, 2
mov edx, 1
call fcn.004486e8
mov eax, dword [ebx + 0x74]
add eax, 0x18
mov ecx, 4
mov edx, dword [esp]
call fcn.004486e8
test esi, esi
jne 0x44960f
lea eax, [ebx + 0x24]
mov ecx, dword [ebx + 0x78]
mov edx, dword [ebx + 0x74]
call fcn.004485c0
mov esi, eax
mov eax, dword [ebx + 0x74]
push eax
call fcn.00447edc
pop ecx
test esi, esi
jne 0x449698
mov edx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x1c]
call dword [ebx + 0xc]
mov dword [esp + 8], eax
push 0
mov ecx, dword [ebx + 0x70]
mov edx, dword [ebx + 0x20]
add ecx, 0xe
mov eax, dword [ebx + 0x1c]
call dword [ebx + 0x10]
test eax, eax
je 0x449642
or esi, 0xffffffff
test esi, esi
jne 0x449658
push 4
mov ecx, dword [esp + 8]
mov edx, dword [ebx + 0x20]
mov eax, ebx
call fcn.0044867c
mov esi, eax
test esi, esi
jne 0x44966c
push 4
mov ecx, edi
mov edx, dword [ebx + 0x20]
mov eax, ebx
call fcn.0044867c
mov esi, eax
test esi, esi
jne 0x449682
push 4
mov ecx, dword [esp + 4]
mov edx, dword [ebx + 0x20]
mov eax, ebx
call fcn.0044867c
mov esi, eax
push 0
mov ecx, dword [esp + 0xc]
mov edx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x1c]
call dword [ebx + 0x10]
test eax, eax
je 0x449698
or esi, 0xffffffff
inc dword [ebx + 0x100b0]
xor eax, eax
mov dword [ebx + 0x2c], eax
mov eax, esi
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x449d4c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
cmp dword [0x54e814], 0
je 0x449e6e
xor eax, eax
xor esi, esi
mov dword [0x54e814], eax
mov eax, 0x54e818
xor ebx, ebx
xor edx, edx
mov ecx, 0x1f
mov dl, byte [eax]
inc eax
sub ecx, edx
mov edx, 1
shl edx, cl
or esi, edx
inc ebx
cmp ebx, 0xe
jl 0x449d6d
xor ebx, ebx
mov ecx, 0x558ec4
mov eax, ebx
xor edx, edx
test al, 1
je 0x449d9f
mov edi, eax
shr edi, 1
xor edi, esi
jmp 0x449da3
mov edi, eax
shr edi, 1
mov eax, edi
inc edx
cmp edx, 8
jl 0x449d93
mov dword [ecx], eax
inc ebx
add ecx, 4
cmp ebx, 0x100
jl 0x449d8f
xor ebx, ebx
mov esi, 0x558ec4
mov eax, dword [esi]
mov ecx, eax
mov edx, eax
shr ecx, 8
shr edx, 0x18
and ecx, 0xff00
add edx, ecx
mov ecx, eax
and ecx, 0xff00
shl ecx, 8
add edx, ecx
mov ecx, eax
and ecx, 0xff
shl ecx, 0x18
add edx, ecx
lea ecx, [esi + 0x400]
mov dword [esi + 0x1000], edx
mov edx, 1
mov edi, eax
and edi, 0xff
shr eax, 8
mov edi, dword [edi*4 + 0x558ec4]
xor edi, eax
mov eax, edi
mov ebp, eax
mov edi, eax
shr ebp, 8
mov dword [ecx], eax
shr edi, 0x18
and ebp, 0xff00
add edi, ebp
mov ebp, eax
and ebp, 0xff00
shl ebp, 8
add edi, ebp
mov ebp, eax
and ebp, 0xff
shl ebp, 0x18
add edi, ebp
mov dword [ecx + 0x1000], edi
inc edx
add ecx, 0x400
cmp edx, 4
jl 0x449dff
inc ebx
add esi, 4
cmp ebx, 0x100
jl 0x449dc0
xor eax, eax
mov dword [0x54e810], eax
jmp 0x449e77
cmp dword [0x54e810], 0
jne 0x449e6e
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x44f944
Capabilities:
Initialize winsock library

Disassembly:
add esp, 0xfffffe70
mov al, 1
cmp byte [0x54f5d4], 0
jne 0x44f96c
push esp
push 0x101
call sub.wsock32.dll_WSAStartup
test eax, eax
sete al
mov byte [0x54f5d4], 1
add esp, 0x190
ret

Function at 0x44f974
Capabilities:
Resolve dns

Disassembly:
call sub.wsock32.dll_WSACleanup
test eax, eax
sete al
mov byte [0x54f5d4], 0
ret

Function at 0x44f988
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00405888
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00403b4c
test ebx, ebx
je 0x44f9d7
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
movzx ecx, byte [edx]
mov byte [esp + 4], cl
movzx ecx, byte [edx + 1]
mov byte [esp + 5], cl
movzx ecx, byte [edx + 2]
mov byte [esp + 6], cl
movzx eax, 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