joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445420
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp + 8], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x445443
mov eax, dword [ebp - 4]
jmp 0x44551f
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
shr ecx, 3
xor eax, 0xffffffff
test ecx, ecx
je 0x4454fa
push ebp
mov ebp, ecx
xor edx, edx
xor ecx, ecx
lea ecx, [ecx]
mov ebx, dword [esi]
add esi, 4
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x51aa98]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x51aa98]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x51aa98]
mov cl, bh
xor eax, edi
mov ebx, dword [esi]
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x51aa98]
add esi, 4
xor eax, edi
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x51aa98]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x51aa98]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x51aa98]
mov cl, bh
xor eax, edi
xor cl, al
shr eax, 8
xor eax, dword [ecx*4 + 0x51aa98]
dec ebp
jne 0x445464
pop ebp
mov ecx, dword [ebp + 0x10]
xor edx, edx
and ecx, 7
je 0x445516
mov dl, byte [esi]
inc esi
xor dl, al
shr eax, 8
xor eax, dword [edx*4 + 0x51aa98]
dec ecx
jne 0x445504
xor eax, 0xffffffff
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4468d0
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ecx
mov edx, dword [esp + 8]
mov eax, dword [edx]
push ebx
push ebp
push esi
mov esi, dword [edx + 4]
mov edx, eax
shr edx, 4
xor edx, esi
and edx, 0xf0f0f0f
xor esi, edx
shl edx, 4
xor eax, edx
mov edx, eax
shr edx, 0x10
xor edx, esi
and edx, 0xffff
xor esi, edx
shl edx, 0x10
xor eax, edx
mov edx, esi
shr edx, 2
xor edx, eax
and edx, 0x33333333
xor eax, edx
add edx, edx
add edx, edx
xor esi, edx
mov edx, esi
shr edx, 8
xor edx, eax
and edx, 0xff00ff
xor eax, edx
shl edx, 8
xor edx, esi
rol edx, 1
mov esi, edx
xor edx, eax
and edx, 0xaaaaaaaa
xor esi, edx
xor edx, eax
rol edx, 1
push edi
mov ecx, 0x546428
mov edi, edx
mov dword [esp + 0x10], 8
mov eax, esi
ror eax, 4
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x18
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
and edx, 0x3f
mov edx, dword [edx*4 + 0x5420f8]
or edx, dword [ebx*4 + 0x5422f8]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
or edx, dword [ebx*4 + 0x5424f8]
and eax, 0x3f
or edx, dword [eax*4 + 0x5426f8]
mov eax, dword [ecx]
xor eax, esi
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x5421f8]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
or ebx, dword [ebp*4 + 0x5423f8]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
or ebx, dword [ebp*4 + 0x5425f8]
and eax, 0x3f
or ebx, dword [eax*4 + 0x5427f8]
add ecx, 4
or ebx, edx
xor edi, ebx
mov eax, edi
ror eax, 4
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x18
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
and edx, 0x3f
mov edx, dword [edx*4 + 0x5420f8]
or edx, dword [ebx*4 + 0x5422f8]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
or edx, dword [ebx*4 + 0x5424f8]
and eax, 0x3f
or edx, dword [eax*4 + 0x5426f8]
mov eax, dword [ecx]
xor eax, edi
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x5421f8]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
or ebx, dword [ebp*4 + 0x5423f8]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
or ebx, dword [ebp*4 + 0x5425f8]
and eax, 0x3f
or ebx, dword [eax*4 + 0x5427f8]
add ecx, 4
or ebx, edx
xor esi, ebx
sub dword [esp + 0x10], 1
jne 0x446950
ror esi, 1
mov eax, esi
xor eax, edi
and eax, 0xaaaaaaaa
xor esi, eax
xor eax, edi
ror eax, 1
mov ecx, eax
shr ecx, 8
xor ecx, esi
and ecx, 0xff00ff
xor esi, ecx
shl ecx, 8
xor eax, ecx
mov ecx, eax
shr ecx, 2
xor ecx, esi
and ecx, 0x33333333
xor esi, ecx
add ecx, ecx
add ecx, ecx
xor eax, ecx
mov edx, dword [esp + 0x18]
mov ecx, esi
shr ecx, 0x10
xor ecx, eax
and ecx, 0xffff
xor eax, ecx
shl ecx, 0x10
xor esi, ecx
mov ecx, esi
shr ecx, 4
xor ecx, eax
and ecx, 0xf0f0f0f
mov edi, ecx
shl edi, 4
xor edi, esi
mov dword [edx], edi
pop edi
pop esi
xor ecx, eax
pop ebp
mov dword [edx + 4], ecx
pop ebx
pop ecx
ret

Function at 0x44d320
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
test ecx, ecx
jle 0x44d34d
push esi
push edi
jmp 0x44d330
movzx esi, byte [edx]
movzx esi, byte [esi + 0x516de8]
lea edi, [eax*8]
xor esi, edi
dec ecx
xor eax, esi
inc edx
test ecx, ecx
jg 0x44d330
pop edi
pop esi
ret
Function at 0x44d3b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
lea eax, [esi*8]
cmp eax, 0x400
jbe 0x44d3cd
mov esi, 0x80
cmp esi, dword [edi]
jne 0x44d3da
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [0x5465f8]
test eax, eax
je 0x44d3e5
call eax
lea ecx, [esi*8]
push ecx
call fcn.0044a000
mov ebp, eax
mov eax, dword [0x5465fc]
add esp, 4
mov dword [esp + 0x10], ebp
test eax, eax
je 0x44d406
call eax
test ebp, ebp
je 0x44d3d1
mov edx, dword [edi + 0xc]
push edx
call sym.ShuamePacket.exe_sqlite3_free
add esp, 4
push ebp
mov dword [edi + 0xc], ebp
call dword [0x53c6a8]
mov ebx, eax
shr ebx, 3
add esp, 4
lea eax, [ebx*8]
push eax
push 0
push ebp
mov dword [esp + 0x28], ebx
mov dword [edi], ebx
call fcn.004f0190
mov ecx, dword [edi + 8]
add esp, 0xc
mov dword [edi + 8], 0
test ecx, ecx
je 0x44d4ef
mov edx, dword [ecx + 0x10]
mov esi, dword [ecx + 0xc]
xor eax, eax
test edx, edx
jle 0x44d483
nop
movzx ebx, byte [esi]
movzx ebx, byte [ebx + 0x516de8]
lea ebp, [eax*8]
xor ebx, ebp
dec edx
xor eax, ebx
inc esi
test edx, edx
jg 0x44d460
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x10]
mov edx, dword [ecx]
mov dword [esp + 0x14], edx
xor edx, edx
div ebx
lea eax, [ebp + edx*8]
test eax, eax
je 0x44d4ca
mov esi, dword [eax]
test esi, esi
je 0x44d4a0
mov edx, dword [eax + 4]
jmp 0x44d4a2
xor edx, edx
inc esi
mov dword [eax], esi
mov dword [eax + 4], ecx
test edx, edx
je 0x44d4ca
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x44d4c2
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x44d4e3
mov dword [edi + 8], ecx
mov dword [edx + 4], ecx
jmp 0x44d4e3
mov edx, dword [edi + 8]
mov dword [ecx], edx
mov eax, dword [edi + 8]
test eax, eax
je 0x44d4d9
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x44d453
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret

Function at 0x44dd30
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x20]
push esi
push edi
test eax, eax
je 0x44dd6b
cdq
mov edi, eax
add eax, dword [ebp + 0xc]
mov esi, edx
mov ecx, edx
adc ecx, dword [ebp + 0x10]
push esi
sub eax, 1
push edi
sbb ecx, 0
push ecx
push eax
call fcn.004fe8a0
push esi
push edi
push edx
push eax
call fcn.004f27e0
jmp 0x44dd71
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push edx
push eax
mov esi, ebx
call fcn.0044daf0
add esp, 8
test eax, eax
je 0x44dda2
mov ecx, dword [ebx + 0x1c]
push 0x7e4b
mov edi, str.winTruncate1
mov ebx, 0x60a
call fcn.0044da40
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x44ddda
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 0x1c]
mov dword [ebx + 0x10], eax
push 0x7e4e
mov edi, str.winTruncate2
mov ebx, 0x60a
call fcn.0044da40
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44de30
Capabilities:
Get file size

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov ecx, dword [edi + 8]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x44de78
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x44de78
mov ecx, dword [edi + 0x1c]
mov dword [edi + 0x10], eax
push 0x7ea0
mov edi, str.winFileSize
mov ebx, 0x70a
call fcn.0044da40
add esp, 4
pop edi
pop esi
pop ebx
ret
mov edx, dword [esp + 0x10]
push 1
push 0
push 0
push edx
call fcn.004f27e0
mov ecx, eax
xor eax, eax
add ecx, esi
adc edx, eax
mov eax, dword [esp + 0x14]
pop edi
pop esi
mov dword [eax], ecx
mov dword [eax + 4], edx
xor eax, eax
pop ebx
ret
Function at 0x44ed70
Capabilities:
Get common file path

Disassembly:
sub esp, 0x320
mov eax, dword [0x53a1a4]
xor eax, esp
mov dword [esp + 0x31c], eax
mov eax, dword [sym.ShuamePacket.exe_sqlite3_temp_directory]
push ebx
push ebp
mov ebp, dword [esp + 0x32c]
push esi
push edi
mov dword [esp + 0x14], ebp
test eax, eax
je 0x44edb9
push eax
push 0x53d1b0
lea eax, [esp + 0x20]
push eax
push 0xe6
call sym.ShuamePacket.exe_sqlite3_snprintf
add esp, 0x10
jmp 0x44ee56
call fcn.0044d6f0
test eax, eax
je 0x44edf3
lea ecx, [esp + 0x120]
push ecx
push 0xe6
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ebx, [esp + 0x120]
call fcn.0044d7b0
mov esi, eax
test esi, esi
je 0x44ef8b
push esi
push 0x53d1b4
jmp 0x44ee3e
lea eax, [esp + 0x120]
push eax
push 0xe6
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x120]
push ecx
call fcn.0044d810
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x44ef8b
call fcn.0044d7b0
push ebx
mov esi, eax
call fcn.004ea5da
add esp, 4
test esi, esi
je 0x44ef8b
push esi
push 0x53d1b8
lea edx, [esp + 0x20]
push edx
push 0xe6
call sym.ShuamePacket.exe_sqlite3_snprintf
push esi
call fcn.004ea5da
add esp, 0x14
mov dl, byte [esp + 0x18]
lea eax, [esp + 0x18]
test dl, dl
je 0x44ee68
inc eax
cmp byte [eax], 0
jne 0x44ee62
lea ecx, [esp + 0x18]
sub eax, ecx
and eax, 0x3fffffff
cmp byte [str.etilqs_], 0
mov ecx, str.etilqs_
je 0x44ee87
inc ecx
cmp byte [ecx], 0
jne 0x44ee81
sub ecx, str.etilqs_
and ecx, 0x3fffffff
lea eax, [ecx + eax + 0x11]
cmp eax, 0x105
jl 0x44eea8
mov eax, 1
jmp 0x44ef90
lea eax, [esp + 0x18]
test dl, dl
je 0x44eeb6
inc eax
cmp byte [eax], 0
jne 0x44eeb0
lea ecx, [esp + 0x18]
sub eax, ecx
and eax, 0x3fffffff
jbe 0x44eecf
dec ecx
cmp byte [ecx + eax], 0x5c
jne 0x44eecf
sub eax, 1
jne 0x44eec4
lea edx, [esp + 0x18]
push edx
push str._setilqs_
push ebp
push 0xf4
mov byte [esp + eax + 0x28], 0
call sym.ShuamePacket.exe_sqlite3_snprintf
add esp, 0x10
mov eax, ebp
test ebp, ebp
je 0x44ef05
cmp byte [ebp], 0
je 0x44eefe
inc eax
cmp byte [eax], 0
jne 0x44eef8
sub eax, ebp
and eax, 0x3fffffff
cmp dword [0x53c684], 0
mov esi, eax
mov edi, 0xf
lea ebx, [eax + ebp]
jne 0x44ef1c
xor ebp, ebp
jmp 0x44ef37
push 5
call dword [0x53c6c4]
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x44ef37
push ebp
call dword [0x53c6cc]
add esp, 4
dec edi
call fcn.0044ba80
mov byte [ebx], al
inc ebx
test edi, edi
jne 0x44ef37
test ebp, ebp
je 0x44ef52
push ebp
call dword [0x53c6d4]
add esp, 4
mov ecx, 0xf
jmp 0x44ef60
mov edi, dword [esp + 0x14]
movzx eax, byte [edi + esi]
xor edx, edx
mov ebx, 0x3e
div ebx
inc esi
sub ecx, 1
mov al, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi - 1], al
jne 0x44ef60
mov ecx, edi
mov byte [ecx + esi], 0
xor eax, eax
jmp 0x44ef90
mov eax, 7
mov ecx, dword [esp + 0x32c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004ea10a
add esp, 0x320
ret
Function at 0x44f230
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
xor ebp, ebp
push edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
call fcn.0044d6f0
mov ebx, dword [esp + 0x20]
test eax, eax
je 0x44f257
call fcn.0044d750
mov edi, eax
jmp 0x44f276
call fcn.0044d750
mov esi, eax
cmp esi, ebp
je 0x44f27a
push esi
call fcn.0044d880
add esp, 4
push esi
mov edi, eax
call fcn.004ea5da
add esp, 4
cmp edi, ebp
jne 0x44f287
mov eax, 7
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
call fcn.0044d6f0
test eax, eax
je 0x44f2d4
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea esp, [esp]
push edi
call ebx
push edi
call ebp
mov esi, eax
cmp esi, 0xffffffff
jne 0x44f2bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x14], eax
cmp eax, 5
jne 0x44f314
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 5
mov dword [esp + 0x10], eax
jge 0x44f314
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x44f2a0
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push edi
call ebx
push edi
call ebp
mov esi, eax
cmp esi, 0xffffffff
jne 0x44f2fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x14], eax
cmp eax, 5
jne 0x44f314
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 5
mov dword [esp + 0x10], eax
jge 0x44f314
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x44f2e0
push edi
call fcn.004ea5da
add esp, 4
cmp esi, 0xffffffff
jne 0x44f333
cmp dword [esp + 0x14], 2
jne 0x44f333
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ecx, dword [esp + 0x20]
push 0x83f7
mov edi, str.winDelete
mov ebx, 0xa0a
call fcn.0044da40
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x44f5f0
Capabilities:
Get disk size

Disassembly:
sub esp, 0x11c
mov eax, dword [0x53a1a4]
xor eax, esp
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0x120]
push ebx
push esi
push edi
lea ecx, [esp + 0x18]
push ecx
push 0x104
push eax
push edx
mov dword [esp + 0x24], 0x200
call fcn.0044f4b0
add esp, 0x10
test eax, eax
jne 0x44f703
call fcn.0044d6f0
lea ebx, [esp + 0x18]
test eax, eax
je 0x44f648
call fcn.0044d750
mov esi, eax
jmp 0x44f66b
call fcn.0044d750
mov edi, eax
test edi, edi
je 0x44f6e6
push edi
call fcn.0044d880
add esp, 4
push edi
mov esi, eax
call fcn.004ea5da
add esp, 4
test esi, esi
je 0x44f6e6
call fcn.0044d6f0
test eax, eax
mov eax, esi
je 0x44f6ad
cmp word [esi], 0
je 0x44f696
cmp word [eax], 0x5c
je 0x44f691
add eax, 2
cmp word [eax], 0
jne 0x44f680
jmp 0x44f696
xor ecx, ecx
mov word [eax], cx
lea edx, [esp + 0x10]
push edx
mov eax, edx
push eax
lea ecx, [esp + 0x1c]
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x44f6d7
cmp byte [esi], 0
je 0x44f6c2
cmp byte [eax], 0x5c
je 0x44f6bf
inc eax
cmp byte [eax], 0
jne 0x44f6b2
jmp 0x44f6c2
mov byte [eax], 0
lea eax, [esp + 0x10]
push eax
mov ecx, eax
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
push esi
mov edi, eax
call fcn.004ea5da
add esp, 4
test edi, edi
jne 0x44f703
mov eax, 0x200
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.004ea10a
add esp, 0x11c
ret
mov ecx, dword [esp + 0x124]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004ea10a
add esp, 0x11c
ret

Function at 0x44f950
Capabilities:
Get system information on windows

Disassembly:
xor eax, eax
push 0x549d20
mov dword [0x549d20], eax
mov dword [0x549d24], eax
mov dword [0x549d28], eax
mov dword [0x549d2c], eax
mov dword [0x549d30], eax
mov dword [0x549d34], eax
mov dword [0x549d38], eax
mov dword [0x549d3c], eax
mov dword [0x549d40], eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
call sym.ShuamePacket.exe_sqlite3_initialize
test eax, eax
jne 0x44f9eb
push esi
cmp dword [0x53c684], eax
jne 0x44f9a0
xor esi, esi
jmp 0x44f9bb
push 2
call dword [0x53c6c4]
mov esi, eax
add esp, 4
test esi, esi
je 0x44f9bb
push esi
call dword [0x53c6cc]
add esp, 4
mov edx, 0x53d200
call fcn.004496c0
mov eax, dword [0x546424]
mov dword [0x53d20c], eax
mov dword [0x546424], 0x53d200
test esi, esi
je 0x44f9e7
push esi
call dword [0x53c6d4]
add esp, 4
xor eax, eax
pop esi
ret
xor eax, eax
ret
Function at 0x453eb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [edi + 0x3c]
sub esp, 0xc
push ebx
push ebp
xor ebp, ebp
push esi
mov esi, dword [esp + 0x1c]
cmp dword [edx], ebp
jne 0x453ee7
mov eax, dword [edi + 0x78]
mov ecx, dword [edi]
or eax, 0x1e
push ebp
and eax, 0x87f3f
push eax
mov eax, dword [ecx + 0x18]
push edx
push ebp
push ecx
call eax
mov ebp, eax
add esp, 0x14
test ebp, ebp
jne 0x453fcc
mov ecx, dword [edi + 0x18]
cmp ecx, dword [edi + 0x24]
jbe 0x453f23
mov eax, dword [edi + 0x80]
push 0
cdq
push ecx
push edx
push eax
call fcn.004f27e0
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x3c]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 5
push eax
mov eax, dword [ecx + 0x28]
call eax
mov ecx, dword [edi + 0x18]
add esp, 0xc
mov dword [edi + 0x24], ecx
test esi, esi
je 0x453fca
mov ebx, dword [esi + 0xc]
cmp ebx, dword [edi + 0x18]
ja 0x453fbb
test byte [esi + 0x14], 0x20
jne 0x453fbb
mov eax, dword [edi + 0x80]
cdq
push edx
push eax
lea ecx, [ebx - 1]
push 0
push ecx
call fcn.004f27e0
mov dword [esp + 0x10], eax
mov ebp, edx
cmp ebx, 1
jne 0x453f61
call fcn.00452fb0
mov ecx, dword [edi + 0x80]
mov eax, dword [edi + 0x3c]
mov esi, dword [esi]
mov edx, dword [eax]
push ebp
mov ebp, dword [esp + 0x14]
push ebp
push ecx
push esi
push eax
mov eax, dword [edx + 0xc]
call eax
add esp, 0x14
mov ebp, eax
cmp ebx, 1
jne 0x453fa1
mov ecx, dword [esi + 0x18]
lea eax, [esi + 0x18]
mov dword [edi + 0x64], ecx
mov edx, dword [eax + 4]
mov dword [edi + 0x68], edx
mov ecx, dword [eax + 8]
mov dword [edi + 0x6c], ecx
mov edx, dword [eax + 0xc]
mov dword [edi + 0x70], edx
cmp ebx, dword [edi + 0x20]
jbe 0x453fa9
mov dword [edi + 0x20], ebx
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
push eax
mov eax, dword [edi + 0x58]
call fcn.00462e10
add esp, 4
mov esi, dword [esi + 8]
mov dword [esp + 0x1c], esi
test ebp, ebp
je 0x453f23
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x471e60
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
test ebx, ebx
jne 0x471e7a
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov ecx, 0x50
call fcn.0044a5b0
mov edi, eax
test edi, edi
je 0x471e71
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebx]
push eax
push ecx
push esi
call fcn.00471a70
mov edx, dword [ebp + 0x10]
add esp, 0xc
mov dword [edi], eax
mov eax, dword [ebx + 8]
push edx
push eax
push esi
call fcn.00471b60
mov ecx, dword [ebp + 0x10]
add esp, 0xc
push 0
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
push ecx
push eax
push esi
call fcn.004717f0
mov edx, dword [ebp + 0x10]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x10]
push edx
push eax
push esi
call fcn.00471a70
mov ecx, dword [ebp + 0x10]
add esp, 0x1c
push 0
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x14]
push ecx
push eax
push esi
call fcn.004717f0
mov edx, dword [ebp + 0x10]
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x18]
push edx
push eax
push esi
call fcn.00471a70
mov edx, dword [ebp + 0x10]
mov dword [edi + 0x18], eax
mov cl, byte [ebx + 4]
add esp, 0x1c
mov byte [edi + 4], cl
mov eax, dword [ebx + 0x1c]
push edx
push eax
push esi
call fcn.00471e60
mov ecx, dword [ebp + 0x10]
add esp, 0xc
push 0
mov dword [edi + 0x1c], eax
mov eax, dword [ebx + 0x28]
push ecx
push eax
push esi
call fcn.004717f0
mov edx, dword [ebp + 0x10]
push 0
mov dword [edi + 0x28], eax
mov eax, dword [ebx + 0x2c]
push edx
push eax
push esi
call fcn.004717f0
mov dword [edi + 0x2c], eax
xor eax, eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov cx, word [ebx + 6]
mov edx, 0xfff7
add esp, 0x20
and cx, dx
mov dword [edi + 0x24], eax
or eax, 0xffffffff
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov word [edi + 6], cx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x479830
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
xor edi, edi
mov eax, ebp
test ebp, ebp
jne 0x479847
xor ebx, ebx
jmp 0x47985f
cmp byte [ebp], 0
je 0x479856
lea ecx, [ecx]
inc eax
cmp byte [eax], 0
jne 0x479850
sub eax, ebp
and eax, 0x3fffffff
mov ebx, eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
test eax, eax
jle 0x47991e
jmp 0x479884
mov esi, dword [esp + 0x10]
cmp esi, 2
jge 0x47988c
xor esi, 1
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4798ac
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 8]
mov edx, esi
shl edx, 4
mov edx, dword [edx + eax]
call fcn.0044c420
test eax, eax
jne 0x47990b
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 8]
shl esi, 4
mov ecx, dword [esi + edx + 0xc]
add ecx, 8
cmp dword [ecx + 0xc], 0
je 0x4798f5
xor eax, eax
mov edi, ebx
mov edx, ebp
test ebx, ebx
jle 0x4798ef
lea ecx, [ecx]
movzx esi, byte [edx]
movzx esi, byte [esi + 0x516de8]
lea ebp, [eax*8]
xor esi, ebp
dec edi
xor eax, esi
inc edx
test edi, edi
jg 0x4798d0
mov ebp, dword [esp + 0x20]
xor edx, edx
div dword [ecx]
jmp 0x4798f7
xor edx, edx
push ebp
call fcn.0044d500
add esp, 4
test eax, eax
je 0x479928
mov edi, dword [eax + 8]
test edi, edi
jne 0x47991e
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
jl 0x479880
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
xor edi, edi
jmp 0x47990b

Function at 0x4799c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push edi
mov edi, dword [esp + 0x1c]
xor ebp, ebp
mov eax, edi
test edi, edi
jne 0x4799d6
xor ebx, ebx
jmp 0x4799ef
cmp byte [edi], 0
je 0x4799e6
jmp 0x4799e0
inc eax
cmp byte [eax], 0
jne 0x4799e0
sub eax, edi
and eax, 0x3fffffff
mov ebx, eax
mov edx, dword [ecx + 4]
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], edx
test edx, edx
jle 0x479aac
mov ecx, dword [ecx + 8]
push esi
mov dword [esp + 0x14], ecx
jmp 0x479a14
mov eax, dword [esp + 0x10]
cmp eax, 2
jge 0x479a1c
xor eax, 1
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
shl eax, 4
mov esi, dword [eax + edx + 0xc]
add eax, edx
test ecx, ecx
je 0x479a3c
mov edx, dword [eax]
call fcn.0044c420
test eax, eax
jne 0x479a8b
cmp dword [esi + 0x24], 0
lea ecx, [esi + 0x18]
je 0x479a75
xor eax, eax
mov esi, ebx
mov edx, edi
test ebx, ebx
jle 0x479a6f
nop
movzx edi, byte [edx]
movzx edi, byte [edi + 0x516de8]
lea ebp, [eax*8]
xor edi, ebp
dec esi
xor eax, edi
inc edx
test esi, esi
jg 0x479a50
mov edi, dword [esp + 0x20]
xor edx, edx
div dword [ecx]
jmp 0x479a77
xor edx, edx
push edi
call fcn.0044d500
add esp, 4
test eax, eax
je 0x479aa8
mov ebp, dword [eax + 8]
test ebp, ebp
jne 0x479a9e
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
jl 0x479a10
pop esi
pop edi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret
xor ebp, ebp
jmp 0x479a8b
pop edi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x47e2a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [esi]
xor ebp, ebp
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebp
jmp 0x47e2c0
mov al, byte [ebp + 0x517664]
mov byte [esp + 0x10], al
test edi, edi
je 0x47e345
cmp byte [edi], 0
mov eax, edi
je 0x47e2db
inc eax
cmp byte [eax], 0
jne 0x47e2d5
mov ecx, dword [esp + 0x20]
sub eax, edi
and eax, 0x3fffffff
add ecx, 0x19c
cmp dword [ecx + 0xc], 0
mov ebx, eax
je 0x47e32d
xor eax, eax
mov esi, ebx
mov edx, edi
test ebx, ebx
jle 0x47e323
mov edi, edi
movzx edi, byte [edx]
movzx edi, byte [edi + 0x516de8]
lea ebp, [eax*8]
xor edi, ebp
dec esi
xor eax, edi
inc edx
test esi, esi
jg 0x47e300
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
xor edx, edx
div dword [ecx]
jmp 0x47e32f
xor edx, edx
push edi
call fcn.0044d500
add esp, 4
test eax, eax
je 0x47e341
mov eax, dword [eax + 8]
jmp 0x47e34c
xor eax, eax
jmp 0x47e34c
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x2c]
test eax, eax
je 0x47e35c
movzx ecx, byte [esp + 0x10]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4 - 0x14]
cmp dword [eax + 0xc], 0
jne 0x47e37d
inc ebp
cmp ebp, 3
mov dword [esp + 0x14], ebp
jl 0x47e2c0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [eax + 0x10]
pop edi
mov dword [esi + 0x10], 0
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret