joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47e0d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x566a53
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x5b3680]
xor eax, esp
mov dword [esp + 0xb4], eax
push ebx
push esi
mov eax, dword [0x5b3680]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov esi, dword [0x5ba228]
mov dword [esp + 0x20], vtable.ATL::CAcl.0
mov dword [esp + 0x24], 0
mov byte [esp + 0x28], 0
mov dword [esp + 0x2c], 2
mov dword [esp + 0xd0], 0
lea eax, [esp + 0x30]
mov dword [esp + 0x20], vtable.ATL::CDacl.0
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0xd0], 3
lea ecx, [esp + 0x5c]
call fcn.0043afd0
mov byte [esp + 0xd0], 4
sub esp, 8
lea ecx, [esp + 0x28]
push eax
call fcn.0043b240
mov byte [esp + 0xd0], 3
lea ecx, [esp + 0x5c]
call fcn.00434290
lea ecx, [esp + 0x5c]
call fcn.0043adb0
mov byte [esp + 0xd0], 5
sub esp, 8
lea ecx, [esp + 0x28]
push eax
call fcn.0043b240
mov byte [esp + 0xd0], 3
lea ecx, [esp + 0x5c]
call fcn.00434290
mov dword [esp + 0x14], vtable.ATL::CSecurityDesc.0
mov dword [esp + 0x18], 0
mov byte [esp + 0xd0], 6
lea eax, [esp + 0x20]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.0043ab90
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x10]
push eax
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [esp + 0x48], 0xc
mov dword [esp + 0x50], 0
call dword [eax + 4]
mov ecx, eax
call fcn.00436c90
mov byte [esp + 0xd0], 7
mov edx, 0x58a868
push eax
lea ecx, [esp + 0x20]
call fcn.00435a70
add esp, 4
mov byte [esp + 0xd0], 8
push dword [eax]
lea eax, [esp + 0x44]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
xor ebx, ebx
mov dword [esi + 0x1c], eax
test eax, eax
setne bl
mov byte [esp + 0xd0], 7
or esi, 0xffffffff
mov edx, dword [esp + 0x1c]
mov eax, esi
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x47e290
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xd0], 6
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x47e2b3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x47e2c5
movzx eax, ax
or eax, 0x80070000
test ebx, ebx
jne 0x47e2cf
push eax
call fcn.004027b0
mov byte [esp + 0xd0], 3
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], vtable.ATL::CSecurityDesc.0
call fcn.0043acd0
mov dword [esp + 0xd0], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.0043b380
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.005295e2
mov esp, ebp
pop ebp
ret
Function at 0x47e320
Capabilities:
Create directory
Get common file path
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x567377
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x5b3680]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.00531bd0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call fcn.00531bd0
mov esi, dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x218]
add esp, 0x18
push eax
push 0x104
call esi
lea eax, [ebp - 0x420]
push eax
push 0x104
call esi
push 0x58d8bc
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0052c92e
add esp, 0xc
call fcn.00402a00
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x47e3e1
push 0x80004005
call fcn.004027b0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x428], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x424]
call fcn.00482350
mov byte [ebp - 4], 2
mov eax, dword [0x5ba224]
test eax, eax
je 0x47e42b
cmp dword [eax + 0x180], 0
je 0x47e42b
mov eax, dword [ebx + 0x54]
lea ecx, [ebp - 0x424]
push dword [eax - 0xc]
push eax
call fcn.00443ec0
mov edi, dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0
push dword [ebp - 0x424]
push 0
call edi
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 2
push dword [ebp - 0x424]
call esi
push 0x584c38
lea eax, [ebp - 0x424]
push 0x58b238
push eax
call fcn.00443ea0
add esp, 0xc
push 0
push dword [ebp - 0x424]
push 0
call edi
push 2
push dword [ebp - 0x424]
call esi
push dword [ebx + 0xe4]
lea eax, [ebp - 0x428]
push dword [ebp - 0x424]
push 0x58ae70
push eax
call fcn.00415d20
push 0x58d568
push dword [ebp - 0x428]
call fcn.0052e5ea
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x47e4b7
lea ebx, [eax + 1]
jmp 0x47e4d6
push esi
push 1
push dword [ebx + 0xdc]
push dword [ebx + 0xd8]
call fcn.0052b6e4
push esi
call fcn.0052c324
add esp, 0x14
xor ebx, ebx
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov edx, dword [ebp - 0x424]
mov eax, esi
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x47e4fc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x428]
add edi, 0xfffffff0
lea eax, [edi + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x47e520
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005295e2
mov esp, ebp
pop ebp
ret 4
Function at 0x47f270
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x567640
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5b3680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 0
xor esi, esi
mov dword [ebp - 0x14], esi
cmp esi, dword [edi + 0x18]
jae 0x47f2d8
push esi
lea ecx, [edi + 0x14]
call fcn.00481070
cmp dword [eax + 8], 0
je 0x47f2d5
push esi
lea ecx, [edi + 0x14]
call fcn.00481070
mov eax, dword [eax + 8]
push eax
call fcn.004e9690
add esp, 4
inc esi
jmp 0x47f2a9
push 0x7d0
push dword [edi + 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x47f315
mov byte [ebp - 4], 1
push 0
push dword [edi + 0x10]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [ebp - 4], 0
jmp 0x47f315
lea ecx, [edi + 0x10]
call fcn.004161a0
mov dword [ebp - 4], 0xffffffff
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x482350
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x567be9
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5b3680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
push 0
push 0
mov dword [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x581a44
mov ecx, esi
mov edi, eax
call fcn.004031c0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
test edi, edi
je 0x482424
jns 0x4823c0
push 0x80070057
call fcn.004027b0
mov eax, dword [esi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or ecx, eax
jge 0x4823db
push edi
mov ecx, esi
call fcn.00402590
mov eax, dword [esi]
cmp dword [eax - 4], 1
jle 0x4823ed
push dword [eax - 0xc]
mov ecx, esi
call fcn.004024c0
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov eax, dword [esi]
test eax, eax
jne 0x482400
xor ecx, ecx
jmp 0x482412
push dword [eax - 8]
push eax
call fcn.00529878
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4823b6
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x4823b6
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov word [eax + ecx*2], dx
push 1
push 0x58af04
mov ecx, esi
call fcn.00443ec0
push 0xc
push str.TimeCtrlLibs
mov ecx, esi
call fcn.00443ec0
push 1
push 0x58af04
mov ecx, esi
call fcn.00443ec0
cmp byte [0x5b9c69], 0
je 0x482468
push str.SysWOW64
push str.system32
mov ecx, esi
call fcn.004140e0
push 0
push dword [esi]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x482490
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x567be9
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5b3680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
push 0
push 0
mov dword [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x581a44
mov ecx, esi
mov edi, eax
call fcn.004031c0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
test edi, edi
je 0x482564
jns 0x482500
push 0x80070057
call fcn.004027b0
mov eax, dword [esi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or ecx, eax
jge 0x48251b
push edi
mov ecx, esi
call fcn.00402590
mov eax, dword [esi]
cmp dword [eax - 4], 1
jle 0x48252d
push dword [eax - 0xc]
mov ecx, esi
call fcn.004024c0
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, dword [esi]
test eax, eax
jne 0x482540
xor ecx, ecx
jmp 0x482552
push dword [eax - 8]
push eax
call fcn.00529878
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4824f6
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x4824f6
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov word [eax + ecx*2], dx
push 1
push 0x58af04
mov ecx, esi
call fcn.00443ec0
push 5
push str.TCLog
mov ecx, esi
call fcn.00443ec0
push 1
push 0x58af04
mov ecx, esi
call fcn.00443ec0
cmp byte [0x5b9c69], 0
je 0x4825a8
push str.SysWOW64
push str.system32
mov ecx, esi
call fcn.004140e0
push 0
push dword [esi]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4825d0
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5b3680]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
jne 0x482614
push 0x58dba0
call fcn.0052d67c
add esp, 4
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005295e2
mov esp, ebp
pop ebp
ret
push edi
push 0xf01ff
push 0x5850a4
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x482652
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push str.Cannot_open_The_Service_n
call fcn.0052d67c
add esp, 4
xor al, al
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005295e2
mov esp, ebp
pop ebp
ret
push esi
push 0
xorps xmm0, xmm0
mov dword [ebp - 8], 0
push 0
push edi
movdqu xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x482724
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x41d
jne 0x4826f8
xor esi, esi
lea esp, [esp]
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
mov eax, dword [ebp - 0x1c]
je 0x4826bc
cmp eax, 2
jne 0x4826bc
mov eax, esi
inc esi
cmp eax, 5
jl 0x482690
jmp 0x4826c1
cmp eax, 4
je 0x482724
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call esi
push ebx
call esi
push str.Cannot_start_The_Service_n
call fcn.0052d67c
add esp, 4
push 0x41d
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005295e2
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call esi
push ebx
call esi
push str.Cannot_start_The_Service_n
call fcn.0052d67c
add esp, 4
xor al, al
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005295e2
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call esi
push ebx
call esi
mov ecx, dword [ebp - 4]
mov al, 1
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.005295e2
mov esp, ebp
pop ebp
ret
Function at 0x482750
Capabilities:
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5b3680]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
jne 0x482794
push 0x58dba0
call fcn.0052d67c
add esp, 4
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005295e2
mov esp, ebp
pop ebp
ret
push edi
push 0xf01ff
push 0x5850a4
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x4827d2
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push str.Cannot_open_The_Service_n
call fcn.0052d67c
add esp, 4
xor al, al
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005295e2
mov esp, ebp
pop ebp
ret
push esi
push str.Stopping_The_Service_n
call fcn.0052d67c
add esp, 4
mov dword [ebp - 8], 0
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x20], xmm0
push eax
push 1
push edi
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.ADVAPI32.dll_ControlService]
xor esi, esi
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x482835
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x482828
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x1c]
cmp eax, 3
jne 0x482835
mov eax, esi
inc esi
cmp eax, 0x14
jl 0x482803
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call esi
push ebx
call esi
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.Starting_The_Service_n
call fcn.0052d67c
add esp, 4
call fcn.004825d0
mov ecx, dword [ebp - 4]
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.005295e2
mov esp, ebp
pop ebp
ret
Function at 0x48bb60
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, edx
xor esi, esi
mov ebx, ecx
test edi, edi
jle 0x48bb8d
lea ecx, [ecx]
movzx eax, byte [ebx]
lea ecx, [esi*8]
dec edi
lea ebx, [ebx + 1]
movzx edx, byte [eax + 0x585a50]
xor edx, ecx
xor esi, edx
test edi, edi
jg 0x48bb70
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x48bc10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, edx
mov ebx, ecx
mov ecx, 0x80
mov dword [ebp - 4], ebx
push edi
lea eax, [esi*8]
cmp eax, 0x400
cmova esi, ecx
cmp esi, dword [ebx]
jne 0x48bc41
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x5ba400]
test eax, eax
je 0x48bc4c
call eax
lea eax, [esi*8]
push eax
call fcn.00488410
mov ecx, dword [0x5ba404]
add esp, 4
mov esi, eax
mov dword [ebp - 0xc], esi
test ecx, ecx
je 0x48bc6d
call ecx
test esi, esi
je 0x48bc38
push dword [ebx + 0xc]
call fcn.00488710
add esp, 4
mov dword [ebx + 0xc], esi
push esi
call dword [0x5b5bb0]
shr eax, 3
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebx], eax
lea ecx, [eax*8]
push ecx
push 0
push esi
call fcn.00531bd0
mov ecx, dword [ebx + 8]
add esp, 0xc
mov dword [ebx + 8], 0
test ecx, ecx
je 0x48bd50
mov esi, dword [ecx + 0x10]
xor edi, edi
mov ebx, dword [ecx + 0xc]
test esi, esi
jle 0x48bcdf
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
dec esi
movzx edx, byte [eax + 0x585a50]
lea eax, [edi*8]
xor edx, eax
xor edi, edx
test esi, esi
jg 0x48bcc2
xor edx, edx
mov ebx, dword [ecx]
mov eax, edi
div dword [ebp - 8]
mov eax, dword [ebp - 0xc]
lea esi, [eax + edx*8]
test esi, esi
je 0x48bd2a
mov eax, dword [esi]
test eax, eax
je 0x48bcfd
mov edx, dword [esi + 4]
jmp 0x48bcff
xor edx, edx
inc eax
mov dword [esi + 4], ecx
mov dword [esi], eax
test edx, edx
je 0x48bd2a
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x48bd1f
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x48bd46
mov eax, dword [ebp - 4]
mov dword [eax + 8], ecx
mov dword [edx + 4], ecx
jmp 0x48bd46
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov dword [ecx], eax
mov eax, dword [edx + 8]
test eax, eax
je 0x48bd3c
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edx + 8], ecx
mov ecx, ebx
test ebx, ebx
jne 0x48bcb6
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48be70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, ecx
mov dword [ebp - 8], edx
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [eax + 0xc], 0
je 0x48bec4
push ebx
push esi
xor esi, esi
mov ebx, edx
push edi
mov edi, ecx
test ecx, ecx
jle 0x48beb4
movzx eax, byte [ebx]
lea ecx, [esi*8]
dec edi
lea ebx, [ebx + 1]
movzx edx, byte [eax + 0x585a50]
xor edx, ecx
xor esi, edx
test edi, edi
jg 0x48be94
mov ecx, dword [ebp + 8]
mov eax, esi
xor edx, edx
mov esi, dword [ebp - 4]
pop edi
div dword [esi]
mov eax, esi
pop esi
pop ebx
jmp 0x48bec6
xor edx, edx
push edx
mov edx, dword [ebp - 8]
push ecx
mov ecx, eax
call fcn.0048bd60
add esp, 8
test eax, eax
je 0x48bee0
mov eax, dword [eax + 8]
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x48bef0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov edi, edx
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], edi
cmp dword [esi], 0
je 0x48bf45
mov eax, dword [ebp + 8]
xor edi, edi
mov ebx, eax
test eax, eax
jle 0x48bf35
mov esi, edx
movzx eax, byte [esi]
lea ecx, [edi*8]
dec ebx
lea esi, [esi + 1]
movzx edx, byte [eax + 0x585a50]
xor edx, ecx
xor edi, edx
test ebx, ebx
jg 0x48bf15
mov esi, dword [ebp - 0xc]
mov eax, edi
xor edx, edx
div dword [esi]
mov edi, dword [ebp - 8]
mov ebx, edx
mov dword [ebp - 4], edx
jmp 0x48bf4a
xor ebx, ebx
mov dword [ebp - 4], ebx
push ebx
push dword [ebp + 8]
mov edx, edi
mov ecx, esi
call fcn.0048bd60
add esp, 8
test eax, eax
je 0x48bf92
mov ecx, dword [eax + 8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x48bf82
push ebx
mov edx, eax
mov ecx, esi
call fcn.0048be10
mov eax, dword [ebp - 0xc]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x48c030
push 0x14
call fcn.00488410
mov edi, eax
add esp, 4
test edi, edi
jne 0x48bfb6
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x10], eax
mov dword [edi + 8], ebx
inc dword [esi + 4]
mov edx, dword [esi + 4]
cmp edx, 0xa
jb 0x48bff6
mov eax, dword [esi]
add eax, eax
cmp edx, eax
jbe 0x48bff6
add edx, edx
mov ecx, esi
call fcn.0048bc10
test eax, eax
je 0x48bff6
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.0048bb60
xor edx, edx
div dword [esi]
jmp 0x48bff9
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x48c017
push edi
lea edx, [eax + edx*8]
mov ecx, esi
call fcn.0048bba0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 8]
mov dword [edi], eax
mov eax, dword [esi + 8]
test eax, eax
je 0x48c026
mov dword [eax + 4], edi
mov dword [edi + 4], 0
mov dword [esi + 8], edi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4936c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, edx
mov dword [ebp - 4], ebx
mov edx, dword [esi + 0x3c]
cmp dword [edx], ebx
jne 0x493700
mov eax, dword [esi + 0x78]
mov ecx, dword [esi]
or eax, 0x1e
push ebx
and eax, 0x87f7f
push eax
mov eax, dword [ecx + 0x18]
push edx
push ebx
push ecx
call eax
mov ebx, eax
add esp, 0x14
mov dword [ebp - 4], ebx
test ebx, ebx
jne 0x4937e4
mov ecx, dword [esi + 0x18]
cmp ecx, dword [esi + 0x24]
jbe 0x493740
mov eax, dword [esi + 0x80]
push 0
cdq
push ecx
push edx
push eax
call fcn.005359c0
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0xc], edx
lea edx, [ebp - 0x10]
push edx
push 5
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x28]
call eax
mov eax, dword [esi + 0x18]
add esp, 0xc
mov dword [esi + 0x24], eax
lea esp, [esp]
test edi, edi
je 0x4937e2
mov ebx, dword [edi + 0x14]
cmp ebx, dword [esi + 0x18]
ja 0x4937d4
test byte [edi + 0x18], 0x20
jne 0x4937d4
mov eax, dword [esi + 0x80]
lea ecx, [ebx - 1]
cdq
push edx
push eax
push 0
push ecx
call fcn.005359c0
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
cmp ebx, 1
jne 0x493780
mov ecx, edi
call fcn.00492a10
push dword [ebp - 4]
mov eax, dword [esi + 0x3c]
push dword [ebp - 8]
mov edx, dword [edi + 4]
push dword [esi + 0x80]
mov ecx, dword [eax]
push edx
push eax
mov dword [ebp - 0xc], edx
mov eax, dword [ecx + 0xc]
call eax
add esp, 0x14
mov dword [ebp - 4], eax
cmp ebx, 1
jne 0x4937b6
mov eax, dword [ebp - 0xc]
movdqu xmm0, xmmword [eax + 0x18]
movdqu xmmword [esi + 0x64], xmm0
cmp ebx, dword [esi + 0x20]
jbe 0x4937be
mov dword [esi + 0x20], ebx
inc dword [esi + 0xa8]
mov edx, ebx
push dword [edi + 4]
mov ecx, dword [esi + 0x58]
call fcn.004a24d0
add esp, 4
mov ebx, dword [ebp - 4]
mov edi, dword [edi + 0xc]
test ebx, ebx
je 0x493740
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret