joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e9110
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e9232
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004e88cc
xor eax, eax
push ebp
push 0x4e9215
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4e9160
call fcn.0048467c
jmp 0x4e921c
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4e91ff
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4e91ff
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00484038
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x4e91ff
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0048c9e8
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x4e924c
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x573860]
mov dl, 1
mov eax, dword [0x4e7bd4]
call fcn.0048d328
call fcn.004845d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e921c
mov eax, dword [ebp - 4]
call fcn.004e88d8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e9239
lea eax, [ebp - 0x28]
call fcn.00484c40
ret
Function at 0x4e9298
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e93e2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004e88cc
xor eax, eax
push ebp
push 0x4e93c5
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x4e92fd
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4e92fd
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x4e93af
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4e9310
call fcn.0048467c
jmp 0x4e93cc
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4e93af
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4e93af
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00484038
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x4e93af
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0048c9e8
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x4e93fc
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x573860]
mov dl, 1
mov eax, dword [0x4e7bd4]
call fcn.0048d328
call fcn.004845d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e93cc
mov eax, dword [ebp - 4]
call fcn.004e88d8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e93e9
lea eax, [ebp - 0x28]
call fcn.00484c40
ret

Function at 0x4f6864
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov byte [ebp - 1], 0
push eax
push 0xffffffffffffffff
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov ebx, eax
test ebx, ebx
je 0x4f68c3
xor eax, eax
push ebp
push 0x4f68aa
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push ebx
call sub.kernel32.dll_TerminateProcess
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f68bb
test bl, bl
je 0x4f68c3
mov byte [ebp - 1], 1
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4f6a24
Capabilities:
Encode data using base64
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edi, 0x56dff4
lea ecx, [esp + 8]
mov dword [ecx], eax
mov eax, dword [esp]
mov dword [esp + 0xc], eax
xor ebx, ebx
xor esi, esi
mov eax, dword [esp + 4]
mov ebp, 3
cdq
idiv ebp
test eax, eax
jle 0x4f6ae8
mov edx, dword [ecx]
movzx edx, byte [edx + ebx]
shr edx, 2
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx]
and dl, 3
and edx, 0xff
shl edx, 4
mov ebp, dword [ecx]
movzx ebp, byte [ebp + ebx + 1]
shr ebp, 4
add edx, ebp
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 1], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
mov ebp, dword [ecx]
movzx ebp, byte [ebp + ebx + 2]
shr ebp, 6
add edx, ebp
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 2], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx + 2]
and dl, 0x3f
and edx, 0xff
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 3], dl
add esi, 4
add ebx, 3
dec eax
jne 0x4f6a5c
mov eax, dword [esp + 4]
mov ebp, 3
cdq
idiv ebp
dec edx
je 0x4f6aff
dec edx
je 0x4f6b40
jmp 0x4f6b9d
mov eax, dword [ecx]
movzx eax, byte [eax + ebx]
shr eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi], al
mov eax, dword [ecx]
mov al, byte [eax + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 1], al
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 2], 0x3d
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 3], 0x3d
jmp 0x4f6b9d
mov eax, dword [ecx]
movzx eax, byte [eax + ebx]
shr eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi], al
mov eax, dword [ecx]
mov al, byte [eax + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov edx, dword [ecx]
movzx edx, byte [edx + ebx + 1]
shr edx, 4
add eax, edx
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 1], al
mov eax, dword [ecx]
mov al, byte [eax + ebx + 1]
and al, 0xf
and eax, 0xff
shl eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 2], al
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 3], 0x3d
mov eax, dword [esp + 4]
add eax, 2
mov ecx, 3
cdq
idiv ecx
shl eax, 2
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4f6c00
Capabilities:
Encode data using base64

Disassembly:
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp + 4], eax
mov dword [esp + 8], edx
xor esi, esi
xor edi, edi
xor eax, eax
mov ebp, ecx
test ebp, ebp
jns 0x4f6c1d
add ebp, 3
sar ebp, 2
test ebp, ebp
jle 0x4f6d2f
mov edx, 4
mov eax, esp
mov ecx, dword [esp + 4]
movzx ecx, byte [ecx + esi]
cmp ecx, 0x3d
jg 0x4f6c50
je 0x4f6c9c
sub ecx, 0x2b
je 0x4f6c92
sub ecx, 4
je 0x4f6c97
dec ecx
sub ecx, 0xa
jb 0x4f6c81
jmp 0x4f6c9f
add ecx, 0xffffffbf
sub ecx, 0x1a
jb 0x4f6c62
add ecx, 0xfffffffa
sub ecx, 0x1a
jb 0x4f6c70
jmp 0x4f6c9f
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x41
mov byte [eax], cl
jmp 0x4f6c9f
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x61
add cl, 0x1a
mov byte [eax], cl
jmp 0x4f6c9f
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x30
add cl, 0x34
mov byte [eax], cl
jmp 0x4f6c9f
mov byte [eax], 0x3e
jmp 0x4f6c9f
mov byte [eax], 0x3f
jmp 0x4f6c9f
mov byte [eax], 0xff
inc esi
inc eax
dec edx
jne 0x4f6c2f
mov al, byte [esp]
shl eax, 2
xor edx, edx
mov dl, byte [esp + 1]
shr edx, 4
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi], al
lea eax, [edi + 1]
mov dl, byte [esp + 2]
cmp dl, 0xff
je 0x4f6cef
cmp byte [esp + 3], 0xff
jne 0x4f6cef
mov al, byte [esp + 1]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi + 1], al
lea eax, [edi + 2]
inc edi
jmp 0x4f6d27
cmp dl, 0xff
je 0x4f6d27
mov al, byte [esp + 1]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi + 1], al
mov eax, dword [esp + 8]
mov dl, byte [esp + 2]
shl edx, 6
or dl, byte [esp + 3]
mov byte [eax + edi + 2], dl
lea eax, [edi + 3]
add edi, 2
inc edi
dec ebp
jne 0x4f6c28
add esp, 0xc
pop ebp
pop edi
pop esi
ret

Function at 0x4f7650
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jbe 0x4f7670
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 0x4f765e
pop edi
pop esi
pop ebx
ret

Function at 0x4f8548
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
mov bl, dl
dec ebx
test ebx, ebx
jb 0x4f859c
inc ebx
xor edx, edx
mov ecx, edx
shl ecx, 2
movzx esi, byte [eax + ecx]
lea esi, [esi*4 + 0x570234]
mov esi, dword [esi]
movzx edi, byte [eax + ecx + 1]
lea edi, [edi*4 + 0x570634]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 2]
lea edi, [edi*4 + 0x570a34]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 3]
lea edi, [edi*4 + 0x570e34]
xor esi, dword [edi]
lea ecx, [eax + ecx]
mov dword [ecx], esi
inc edx
dec ebx
jne 0x4f8557
pop edi
pop esi
pop ebx
ret
Function at 0x4fa0b8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, ebx
call fcn.00484c40
mov dword [ebp - 0xc], pe_nt_image_headers32
lea eax, [ebp - 0x110]
mov edx, dword [ebp - 0xc]
call fcn.00487d84
mov dword [ebp - 0x10], 1
xor edx, edx
push ebp
push 0x4fa1c0
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov eax, esi
call fcn.00485110
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4fa1a9
xor edx, edx
push ebp
push 0x4fa1a2
push dword fs:[edx]
mov dword fs:[edx], esp
test edi, edi
jne 0x4fa153
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
jmp 0x4fa175
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, edi
call fcn.00485110
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4fa18b
mov eax, ebx
lea edx, [ebp - 0x110]
mov ecx, pe_nt_image_headers32
call fcn.00484ec0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fa1a9
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fa1c7
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
Function at 0x50b23c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x4963e0]
call fcn.004856e0
xor eax, eax
push ebp
push 0x50b380
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5721e4], 0
jne 0x50b28f
mov ecx, dword [0x573344]
mov dl, 1
mov eax, dword [0x4883d4]
call fcn.0048d2ec
call fcn.004845d0
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004836c0
mov eax, ebx
call fcn.004854dc
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x50b390
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00486820
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004854ec
test eax, eax
jle 0x50b327
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x50b320
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00484ed8
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00484ec0
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004892b8
test eax, eax
jne 0x50b320
mov ebx, 0x15
jmp 0x50b32c
mov ebx, 0x10
jmp 0x50b32c
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x5721e4]
call fcn.0050b0b4
mov eax, dword [ebp - 8]
call fcn.0050b0b4
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00486838
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50b387
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00484c64
lea eax, [ebp - 0x10]
mov edx, dword [0x4963e0]
call fcn.004857b0
ret

Function at 0x50f6d0
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov edi, eax
mov eax, edi
call fcn.00484c40
push pe_nt_image_headers32
lea eax, [esp + 0xc]
push eax
call sub.wsock32.dll_gethostname
lea eax, [esp + 8]
push eax
call sub.wsock32.dll_gethostbyname
mov dword [esp], eax
cmp dword [esp], 0
jne 0x50f712
mov eax, edi
mov edx, 0x50f74c
call fcn.00484c94
jmp 0x50f73a
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov dword [esp + 4], eax
xor ebx, ebx
jmp 0x50f72f
push dword [esi]
call sub.wsock32.dll_inet_ntoa
mov edx, edi
call fcn.0048a1bc
inc ebx
mov eax, dword [esp + 4]
mov esi, dword [eax + ebx*4]
test esi, esi
jne 0x50f720
add esp, 0x108
pop edi
pop esi
pop ebx
ret
Function at 0x526d64
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x526d92
mov eax, ebx
call fcn.00527818
cmp dword [ebx + 0x40], 0
je 0x526d8b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x526e03
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x526df5
cmp dword [ebx + 8], 0
je 0x526db4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x526dc6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x526df5
cmp dword [ebx + 8], 0
je 0x526da7
cmp eax, 3
je 0x526dd9
dec eax
jne 0x526da7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x526da7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x526da7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x526e21
cmp dword [ebx + 0x14], 0xcc
je 0x526e21
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00526e2c
pop ebx
ret
Function at 0x53863c
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x538644
push ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x538848
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [edx + 2]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 1]
sub al, 0xe
je 0x538676
sub al, 0x10
jne 0x53882d
mov esi, dword [ebp - 4]
mov al, byte [esi + 1]
mov byte [ebx + 0x3ad], al
lea edx, [ebp - 8]
movzx eax, word [esi + 2]
call fcn.00489428
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x354]
call fcn.004c21d4
lea edx, [ebp - 0xc]
movzx eax, word [esi + 4]
call fcn.00489428
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x370]
call fcn.004c21d4
lea edx, [ebp - 0x10]
movzx eax, word [esi + 6]
call fcn.00489428
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x380]
call fcn.004c21d4
lea edx, [ebp - 0x14]
movzx eax, word [esi + 8]
call fcn.00489428
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x38c]
call fcn.004c21d4
lea edx, [ebp - 0x18]
movzx eax, word [esi + 0xa]
call fcn.00489428
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x358]
call fcn.004c21d4
lea edx, [ebp - 0x1c]
movzx eax, word [esi + 0xc]
call fcn.00489428
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x36c]
call fcn.004c21d4
lea edx, [ebp - 0x20]
movzx eax, word [esi + 0xe]
call fcn.00489428
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 0x37c]
call fcn.004c21d4
lea edx, [ebp - 0x24]
movzx eax, word [esi + 0x10]
call fcn.00489428
mov edx, dword [ebp - 0x24]
mov eax, dword [ebx + 0x388]
call fcn.004c21d4
lea edx, [ebp - 0x28]
movzx eax, word [esi + 0x12]
call fcn.00489428
mov edx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x35c]
call fcn.004c21d4
lea edx, [ebp - 0x2c]
movzx eax, word [esi + 0x14]
call fcn.00489428
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebx + 0x368]
call fcn.004c21d4
lea edx, [ebp - 0x30]
movzx eax, word [esi + 0x16]
call fcn.00489428
mov edx, dword [ebp - 0x30]
mov eax, dword [ebx + 0x378]
call fcn.004c21d4
lea edx, [ebp - 0x34]
movzx eax, word [esi + 0x18]
call fcn.00489428
mov edx, dword [ebp - 0x34]
mov eax, dword [ebx + 0x360]
call fcn.004c21d4
lea edx, [ebp - 0x38]
movzx eax, word [esi + 0x1a]
call fcn.00489428
mov edx, dword [ebp - 0x38]
mov eax, dword [ebx + 0x364]
call fcn.004c21d4
lea edx, [ebp - 0x3c]
movzx eax, word [esi + 0x1c]
call fcn.00489428
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebx + 0x374]
call fcn.004c21d4
lea edx, [ebp - 0x40]
movzx eax, word [esi + 0x1e]
call fcn.00489428
mov edx, dword [ebp - 0x40]
mov eax, dword [ebx + 0x384]
call fcn.004c21d4
lea edx, [ebp - 0x44]
lea eax, [esi + 0x20]
call fcn.0048a1bc
mov edx, dword [ebp - 0x44]
mov eax, dword [ebx + 0x350]
call fcn.004c21d4
mov dl, 1
mov eax, dword [0x5daefc]
call fcn.004db71c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53884f
lea eax, [ebp - 0x44]
mov edx, 0x10
call fcn.00484c64
ret
Function at 0x53fde4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00485100
xor eax, eax
push ebp
push 0x53fe35
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00485110
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x53fe19
test al, 0x10
jne 0x53fe1d
xor ebx, ebx
jmp 0x53fe1f
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53fe3c
lea eax, [ebp - 4]
call fcn.00484c40
ret

Function at 0x543318
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
dec ecx
test ecx, ecx
jb 0x543342
inc ecx
movzx esi, byte [edx]
mov ebx, dword [eax]
mov edi, ebx
and edi, 0xff
xor esi, edi
mov esi, dword [esi*4 + 0x572c28]
shr ebx, 8
xor esi, ebx
mov dword [eax], esi
inc edx
dec ecx
jne 0x543321
pop edi
pop esi
pop ebx
ret
Function at 0x5468ee
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
add eax, 0x3c
mov dword [ebp - 4], eax
mov esi, 0x10
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x38]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
add ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
mov edx, dword [ebp + 0x18]
cmp esi, dword [edx]
jbe 0x546953
push dword [ebp + 0x10]
push edi
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
add ecx, 0x28
push ecx
call fcn.005478d8
add esp, 0xc
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
add dword [eax + 0x38], edx
mov ecx, dword [ebp + 0x18]
xor eax, eax
mov dword [ecx], eax
xor eax, eax
jmp 0x546a77
cmp ebx, edi
jne 0x546961
mov eax, 0x1001
jmp 0x546a77
mov edx, esi
sub edx, dword [ebp - 8]
push edx
push edi
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
add ecx, 0x28
push ecx
call fcn.005478d8
add esp, 0xc
mov eax, esi
sub eax, dword [ebp - 8]
add edi, eax
mov edx, esi
sub edx, dword [ebp - 8]
sub dword [ebp + 0x10], edx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x18]
mov edx, dword [ebp + 8]
xor eax, dword [edx + 0x28]
mov dword [ebx], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x1c]
mov edx, dword [ebp + 8]
xor eax, dword [edx + 0x2c]
mov dword [ebx + 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x20]
mov edx, dword [ebp + 8]
xor eax, dword [edx + 0x30]
mov dword [ebx + 8], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x24]
mov edx, dword [ebp + 8]
xor eax, dword [edx + 0x34]
mov dword [ebx + 0xc], eax
push ebx
push dword [ebp - 4]
call fcn.005440da
add esp, 8
add ebx, esi
cmp esi, dword [ebp + 0x10]
ja 0x546a20
mov ecx, ebx
sub ecx, esi
mov eax, dword [ecx]
xor eax, dword [edi]
mov dword [ebx], eax
mov edx, ebx
sub edx, esi
mov ecx, dword [edx + 4]
xor ecx, dword [edi + 4]
mov dword [ebx + 4], ecx
mov eax, ebx
sub eax, esi
mov edx, dword [eax + 8]
xor edx, dword [edi + 8]
mov dword [ebx + 8], edx
mov ecx, ebx
sub ecx, esi
mov eax, dword [ecx + 0xc]
xor eax, dword [edi + 0xc]
mov dword [ebx + 0xc], eax
push ebx
push dword [ebp - 4]
call fcn.005440da
add esp, 8
add edi, esi
add ebx, esi
sub dword [ebp + 0x10], esi
cmp esi, dword [ebp + 0x10]
jbe 0x5469d7
mov edx, ebx
sub edx, esi
mov ecx, dword [edx]
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], ecx
mov edx, ebx
sub edx, esi
mov ecx, dword [edx + 4]
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], ecx
mov edx, ebx
sub edx, esi
mov ecx, dword [edx + 8]
mov eax, dword [ebp + 8]
mov dword [eax + 0x20], ecx
sub ebx, esi
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x24], edx
push dword [ebp + 0x10]
push edi
mov eax, dword [ebp + 8]
add eax, 0x28
push eax
call fcn.005478d8
add esp, 0xc
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov dword [edx + 0x38], ecx
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
sub dword [eax], edx
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret