joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4516f0
Capabilities:
Encode data using base64

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
test esi, esi
je 0x4518b5
mov ebp, dword [esp + 0x1c]
mov dword [esi], 0
test ebp, ebp
je 0x4518b5
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x4518b5
lea ecx, [ebp + ebp*4]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
lea eax, [edx + eax + 4]
push eax
mov dword [esi], eax
call fcn.0047dc6a
mov esi, eax
add esp, 4
test esi, esi
je 0x4518b5
mov eax, 0x55555556
push edi
imul ebp
mov eax, edx
xor edi, edi
shr eax, 0x1f
add edx, eax
xor ecx, ecx
test edx, edx
jle 0x451803
mov dword [esp + 0x10], edx
jmp 0x45176e
mov ebx, dword [esp + 0x1c]
xor eax, eax
xor edx, edx
mov al, byte [edi + ebx]
mov dl, byte [edi + ebx + 1]
inc edi
mov ebp, edx
inc edi
xor edx, edx
mov dl, byte [edi + ebx]
mov ebx, dword [0x4b3704]
mov dword [esp + 0x14], edx
mov edx, eax
sar edx, 2
and edx, 0x3f
and eax, 3
shl eax, 4
mov dl, byte [edx + ebx]
inc edi
mov byte [ecx + esi], dl
mov edx, ebp
sar edx, 4
and edx, 0xf
inc ecx
or edx, eax
mov eax, dword [0x4b3704]
and ebp, 0xf
inc ecx
mov dl, byte [edx + eax]
mov eax, dword [esp + 0x14]
mov byte [ecx + esi - 1], dl
mov ebx, dword [0x4b3704]
mov edx, eax
and eax, 0x3f
sar edx, 6
and edx, 3
shl ebp, 2
or edx, ebp
inc ecx
inc ecx
mov dl, byte [edx + ebx]
mov byte [ecx + esi - 2], dl
mov edx, dword [0x4b3704]
mov al, byte [eax + edx]
mov byte [ecx + esi - 1], al
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jne 0x45176a
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov eax, ebp
mov ebp, 3
cdq
idiv ebp
dec edx
je 0x451866
dec edx
jne 0x45189f
xor edx, edx
xor eax, eax
mov dl, byte [edi + ebx]
mov al, byte [edi + ebx + 1]
mov edi, dword [0x4b3704]
mov ebp, edx
sar edx, 2
and edx, 0x3f
and ebp, 3
shl ebp, 4
mov dl, byte [edx + edi]
mov byte [ecx + esi], dl
mov edi, dword [0x4b3704]
mov edx, eax
inc ecx
sar edx, 4
and edx, 0xf
or edx, ebp
inc ecx
and eax, 0xf
mov dl, byte [edx + edi]
mov byte [ecx + esi - 1], dl
mov edx, dword [0x4b3704]
mov al, byte [edx + eax*4]
mov byte [ecx + esi], al
jmp 0x451899
xor eax, eax
mov al, byte [edi + ebx]
mov edi, dword [0x4b3704]
mov edx, eax
and eax, 3
sar edx, 2
and edx, 0x3f
inc ecx
shl eax, 4
mov dl, byte [edx + edi]
mov byte [ecx + esi - 1], dl
mov edx, dword [0x4b3704]
inc ecx
mov al, byte [eax + edx]
mov byte [ecx + esi - 1], al
mov byte [ecx + esi], 0x3d
inc ecx
mov byte [ecx + esi], 0x3d
inc ecx
mov edx, dword [esp + 0x24]
mov byte [ecx + esi], 0
mov eax, esi
pop edi
pop esi
pop ebp
mov dword [edx], ecx
pop ebx
add esp, 8
ret 0xc
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 0xc
Function at 0x452f90
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
test ebp, ebp
je 0x452fa7
mov dword [ebp], 0
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x452ffa
cmp edi, 0x989680
mov esi, edi
jbe 0x452fbe
mov esi, 0x989680
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push 0
push eax
push esi
push ebx
push ecx
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x452ffe
mov ecx, dword [esp + 0x18]
cmp ecx, esi
jne 0x452ffe
add ebx, esi
sub edi, esi
test ebp, ebp
je 0x452ff1
add dword [ebp], ecx
test edi, edi
jne 0x452faf
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x453010
Capabilities:
Copy file

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
ret

Function at 0x453030
Capabilities:
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
ret

Function at 0x4530d0
Capabilities:
Set file attributes

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
ret

Function at 0x453150
Capabilities:
Get session user name

Disassembly:
sub esp, 0x1bc
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
mov dword [esp + 8], 0x190
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test al, al
jne 0x453176
mov byte [esp + 4], al
mov ecx, dword [esp + 0x1c0]
lea edx, [esp + 4]
push edx
call fcn.0041d4d0
add esp, 0x1bc
ret

Function at 0x454fa0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4910a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
call fcn.00452ed0
xor ebx, ebx
lea ecx, [esi + 0x10]
mov dword [esp + 0x14], ebx
call fcn.00426870
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 1
mov dword [esi + 0x24], ebx
mov byte [esi + 0x28], bl
call fcn.0041d9e0
lea ecx, [esi + 0x58]
mov byte [esp + 0x14], 2
call fcn.0041d9e0
lea ecx, [esi + 0x80]
mov byte [esp + 0x14], 3
call fcn.0041d9e0
mov ecx, dword [esp + 0xc]
mov byte [esi + 0xa8], bl
mov dword [esi + 0xac], ebx
mov dword [esi], vtable.Cookie.0
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x455050
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4910f7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], vtable.Cookie.0
lea edi, [esi + 0x10]
mov dword [esp + 0x14], 4
mov ecx, edi
call fcn.00426ad0
lea ecx, [esi + 0x80]
mov byte [esp + 0x14], 3
call fcn.0041dcd0
lea ecx, [esi + 0x58]
mov byte [esp + 0x14], 2
call fcn.0041dcd0
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 1
call fcn.0041dcd0
mov ecx, edi
mov byte [esp + 0x14], 0
call fcn.00426890
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.00452f30
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x455410
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x491178
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov eax, dword [esp + 0x38]
push ebx
push esi
mov ebx, ecx
push edi
push eax
lea ecx, [esp + 0x10]
call fcn.0041d8e0
lea edi, [ebx + 0x30]
mov dword [esp + 0x3c], 0
mov ecx, edi
call fcn.0041c940
lea ecx, [esp + 0xc]
mov esi, eax
call fcn.0041c940
cmp byte [esi], 0x2e
jne 0x45545e
inc esi
push eax
push esi
call fcn.0047e090
add esp, 8
test eax, eax
je 0x455485
mov ecx, edi
call fcn.0041c940
push eax
lea ecx, [esp + 0x10]
call fcn.0041d5e0
test al, al
je 0x455564
mov edi, dword [esp + 0x48]
test edi, edi
jne 0x4554b4
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], 0xffffffff
call fcn.0041dcd0
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 0xc
lea esi, [ebx + 0x58]
mov ecx, esi
call fcn.0041c950
test eax, eax
jne 0x4554e9
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], 0xffffffff
call fcn.0041dcd0
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 0xc
push 0x4a7670
mov ecx, esi
call fcn.0041f090
test al, al
je 0x455520
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], 0xffffffff
call fcn.0041dcd0
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 0xc
mov ecx, esi
call fcn.0041c950
push eax
mov ecx, esi
call fcn.0041c940
push eax
push edi
call fcn.0047e5b0
add esp, 0xc
test eax, eax
jne 0x455564
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], 0xffffffff
call fcn.0041dcd0
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 0xc
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], 0xffffffff
call fcn.0041dcd0
mov ecx, dword [esp + 0x34]
pop edi
pop esi
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 0xc

Function at 0x4572c0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x4c64c0]
test eax, eax
jne 0x4572e6
mov dword [0x4c64c0], 1
call sub.KERNEL32.dll_GetTickCount
push eax
call fcn.0047e955
add esp, 4
call fcn.00457060
push ebx
push ebp
push edi
mov edi, dword [esp + 0x10]
test edi, edi
je 0x45737b
mov ebp, dword [esp + 0x14]
mov ecx, ebp
call fcn.00426b30
add eax, edi
mov ecx, ebp
push eax
call fcn.00427670
xor ebx, ebx
test edi, edi
jle 0x45736d
add edi, 3
push esi
shr edi, 2
lea ebx, [edi*4]
mov eax, dword [0x4c60d4]
xor ecx, ecx
xor edx, edx
push 4
mov cl, byte [eax + 0x4b3c08]
lea eax, [eax*4 + 0x4c60d8]
mov dword [0x4c60d4], ecx
mov ecx, dword [0x4b3c04]
mov esi, ecx
push eax
mov dl, byte [ecx + 0x4b3c08]
mov ecx, dword [esi*4 + 0x4c60d8]
mov esi, dword [eax]
xor esi, ecx
mov ecx, ebp
mov dword [0x4b3c04], edx
mov dword [eax], esi
call fcn.00428150
dec edi
jne 0x45731e
mov edi, dword [esp + 0x14]
pop esi
cmp ebx, edi
jle 0x45737b
sub ebx, edi
mov ecx, ebp
push ebx
call fcn.00426df0
pop edi
pop ebp
pop ebx
ret
Function at 0x4591d0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49160b
push eax
mov dword fs:[0], esp
push ebx
mov ebx, dword [esp + 0x24]
push esi
push edi
mov ecx, ebx
call fcn.00426b20
mov esi, dword [esp + 0x28]
mov ecx, esi
call fcn.00426b30
test eax, eax
jne 0x459239
push 0x20
call fcn.0047dc6a
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
mov dword [esp + 0x14], 0
je 0x4592d0
mov ecx, eax
call fcn.00426ea0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x459285
mov eax, dword [esp + 0x30]
push eax
push esi
call fcn.0045f8c0
mov esi, eax
mov ecx, esi
call fcn.00426b30
mov edi, eax
cmp edi, 0x10
jb 0x459271
mov ecx, esi
call fcn.0041c940
lea eax, [eax + edi - 0x10]
push 0x10
push eax
mov ecx, ebx
call fcn.00428150
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4592aa
mov edx, dword [esp + 0x30]
push edx
push esi
call fcn.0046dcd0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4592d0
mov eax, dword [esp + 0x30]
push eax
push ebx
push esi
call fcn.0046f230
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret

Function at 0x4592f0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49162b
push eax
mov dword fs:[0], esp
push ebx
push esi
mov esi, dword [esp + 0x24]
push edi
mov ecx, esi
call fcn.00426b30
test eax, eax
jne 0x45934e
push 0x20
call fcn.0047dc6a
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
mov dword [esp + 0x14], 0
je 0x4593f5
mov ecx, eax
call fcn.00426ea0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4593a6
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
push eax
push ebx
push esi
call fcn.0045fa30
mov esi, eax
mov ecx, esi
call fcn.00426b30
mov edi, eax
cmp edi, 0x10
jb 0x459392
mov ecx, ebx
call fcn.00426b20
mov ecx, esi
call fcn.0041c940
lea eax, [eax + edi - 0x10]
push 0x10
push eax
mov ecx, ebx
call fcn.00428150
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4593cb
mov edx, dword [esp + 0x30]
push edx
push esi
call fcn.0046ddd0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4593f5
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
push edx
push esi
call fcn.0046f3b0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret
Function at 0x4597f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x491719
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.MemoryData.0
mov eax, dword [esi + 0x14]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x14], 3
je 0x459833
cmp byte [esi + 0x11], bl
je 0x459833
push eax
call fcn.0047d7af
add esp, 4
mov dword [esi + 0x20], ebx
lea ecx, [esi + 0x78]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x18], ebx
mov byte [esp + 0x14], 2
call fcn.0046fff0
lea ecx, [esi + 0x50]
mov byte [esp + 0x14], 1
call fcn.0041dcd0
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], bl
call fcn.00427600
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.00452f30
mov ecx, dword [esp + 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x45a240
Capabilities:
Get file size

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
xor ecx, ecx
lea eax, [esi + 0x5c]
mov byte [esi + 0x10], bl
mov byte [esi + 0x11], bl
xor edx, edx
mov dword [eax], ecx
push edi
lea edi, [esi + 0x18]
mov dword [eax + 4], ecx
lea eax, [esi + 0x64]
mov dword [esi + 0x64], edx
mov dword [eax + 4], edx
lea eax, [esi + 0x54]
mov dword [esi + 0x54], ecx
mov dword [eax + 4], ecx
mov ecx, edi
mov dword [esi + 0x50], ebx
mov byte [esi + 0x40], bl
mov dword [esi + 0x44], ebx
call fcn.0041ccb0
mov edx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
push ebp
mov byte [esi + 0x41], bl
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x28], ebx
call fcn.004235d0
add esp, 0x10
test al, al
je 0x45a3dc
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x45a3dc
mov dword [esi + 0x50], eax
mov ecx, ebp
shr eax, 4
and al, 1
mov byte [esi + 0x40], al
call fcn.00421e20
push eax
mov ecx, edi
call fcn.0041eb70
cmp byte [esi + 0x40], bl
je 0x45a2f3
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x14]
push edx
push eax
push ebp
call fcn.004239b0
jmp 0x45a303
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x14]
push ecx
push edx
push ebp
call fcn.00423790
mov ebp, eax
add esp, 0xc
cmp ebp, 0xffffffff
jne 0x45a328
cmp dword [esp + 0x14], 1
jne 0x45a41d
mov byte [esi + 0x11], 1
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x24
ret 8
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x24]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x45a358
push ebx
push ebp
call fcn.004563b0
add esp, 8
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
mov edi, dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea eax, [esi + 0x5c]
push eax
lea eax, [esp + 0x20]
push eax
call edi
lea eax, [esi + 0x64]
lea ecx, [esp + 0x24]
push eax
push ecx
call edi
lea eax, [esi + 0x54]
lea edx, [esp + 0x2c]
push eax
push edx
call edi
cmp byte [esi + 0x40], bl
je 0x45a3a3
push ebx
mov dword [esi + 0x48], ebx
push ebp
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
call fcn.004563b0
add esp, 8
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
lea eax, [esp + 0x3c]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x44], eax
push ecx
push eax
call fcn.00457390
add esp, 8
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], edx
push ebx
push ebp
call fcn.004563b0
add esp, 8
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
lea edx, [esp + 0x38]
mov ecx, ebp
push edx
mov dword [esp + 0x3c], ebx
call fcn.00421e20
push eax
call fcn.00424cd0
add esp, 8
test al, al
jne 0x45a41d
mov byte [esi + 0x10], 1
mov esi, dword [esp + 0x3c]
cmp esi, ebx
je 0x45a41d
mov ecx, dword [esp + 0x38]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x38]
mov edx, dword [esi]
push str.File_does_not_exist.
mov ecx, esi
call dword [edx + 0x10]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x24
ret 8
Function at 0x45ce80
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
push edi
mov edi, ecx
mov dword [edi], vtable.ZipCRC.0
mov al, byte [0x4c68c8]
test al, al
jne 0x45cef5
push ebx
push ebp
push esi
xor ebx, ebx
mov esi, 0x4c64c8
push 8
push ebx
mov ecx, edi
call fcn.0045cf00
shl eax, 0x18
mov dword [esi], eax
mov edx, 8
mov ebp, eax
mov ecx, ebp
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
dec edx
mov ebp, eax
jne 0x45ceb2
push 0x20
push eax
mov ecx, edi
mov dword [esi], ebp
call fcn.0045cf00
mov dword [esi], eax
add esi, 4
inc ebx
cmp esi, 0x4c68c4
jle 0x45ce9c
pop esi
pop ebp
mov eax, edi
pop ebx
mov byte [0x4c68c8], 1
pop edi
ret
mov eax, edi
pop edi
ret
Function at 0x45d1c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x400
push esi
mov esi, dword [esp + 0x40c]
test esi, esi
jne 0x45d1de
xor eax, eax
pop esi
add esp, 0x400
ret 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x418]
or edx, 0xffffffff
test ebp, ebp
jne 0x45d223
mov eax, dword [esp + 0x410]
mov ecx, edx
xor ebx, ebx
mov bl, byte [eax]
and ecx, 0xff
xor ecx, ebx
shr edx, 8
mov ecx, dword [ecx*4 + 0x4c64c8]
xor edx, ecx
inc eax
dec esi
jne 0x45d1f5
mov eax, edx
pop ebp
pop ebx
pop esi
not eax
add esp, 0x400
ret 0xc
push edi
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x414]
xor eax, eax
mov al, byte [ecx]
mov edi, dword [esp + eax*4 + 0x10]
inc edi
mov dword [esp + eax*4 + 0x10], edi
mov edi, edx
and edi, 0xff
xor edi, eax
shr edx, 8
mov eax, dword [edi*4 + 0x4c64c8]
xor edx, eax
inc ecx
dec esi
jne 0x45d238
xor edi, edi
xor eax, eax
lea ecx, [esp + 0x10]
mov esi, 7
mov ebx, dword [ecx]
add ecx, 4
add eax, ebx
dec esi
jne 0x45d26c
lea ecx, [esp + 0x2c]
mov esi, 0x79
mov ebx, 0x80
add edi, dword [ecx]
add ecx, 4
dec esi
jne 0x45d284
cmp ebx, 0x100
jge 0x45d2a9
mov esi, 0x100
lea ecx, [esp + ebx*4 + 0x10]
sub esi, ebx
mov ebx, dword [ecx]
add ecx, 4
add eax, ebx
dec esi
jne 0x45d29f
shr edi, 2
cmp edi, eax
pop edi
sbb ecx, ecx
mov eax, edx
neg ecx
mov word [ebp], cx
pop ebp
pop ebx
pop esi
not eax
add esp, 0x400
ret 0xc
Function at 0x45e220
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2c]
mov ebx, ecx
push edi
mov ecx, esi
call fcn.00426b30
cmp eax, 0x10
jae 0x45e24a
mov edi, 0x10
push 0
mov ecx, esi
call fcn.00427930
dec edi
jne 0x45e23e
mov al, byte [esp + 0x34]
test al, al
jne 0x45e261
mov ecx, esi
call fcn.0041c940
push eax
mov ecx, ebx
call fcn.0045e030
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x45e277
pop edi
pop esi
pop ebp
mov eax, 0xfffffffb
pop ebx
add esp, 0x10
ret 0x14
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x45e28d
pop edi
pop esi
pop ebp
mov eax, 0xfffffffa
pop ebx
add esp, 0x10
ret 0x14
mov esi, dword [esp + 0x24]
test esi, esi
je 0x45e3ae
mov eax, dword [esp + 0x28]
test eax, eax
jle 0x45e3ae
cdq
and edx, 0x7f
add eax, edx
mov ebp, eax
mov eax, dword [ebx + 0x30]
sar ebp, 7
sub eax, 0
je 0x45e379
dec eax
je 0x45e2cc
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x10
ret 0x14
mov eax, dword [ebx + 0x38]
mov ecx, dword [esi]
mov edx, dword [esi + 8]
mov edi, dword [ebx + 0x40]
xor eax, ecx
mov ecx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x3c]
xor ecx, eax
mov eax, dword [esi + 0xc]
xor edx, edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov edx, dword [ebx + 0x44]
lea ecx, [esp + 0x10]
push edi
xor eax, edx
push ecx
mov ecx, ebx
mov dword [esp + 0x24], eax
call fcn.0045ef50
lea eax, [ebp - 1]
add esi, 0x10
test eax, eax
jle 0x45e39f
mov dword [esp + 0x34], eax
mov edx, dword [esi]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
xor edx, eax
mov eax, dword [esi + 4]
mov dword [esp + 0x10], edx
mov edx, dword [edi + 8]
xor eax, ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0xc]
xor ecx, edx
mov edx, dword [esi + 0xc]
add edi, 0x10
xor edx, eax
lea eax, [esp + 0x10]
mov dword [esp + 0x18], ecx
push edi
push eax
mov ecx, ebx
mov dword [esp + 0x24], edx
call fcn.0045ef50
mov eax, dword [esp + 0x34]
add esi, 0x10
dec eax
mov dword [esp + 0x34], eax
jne 0x45e31e
pop edi
mov eax, ebp
pop esi
pop ebp
shl eax, 7
pop ebx
add esp, 0x10
ret 0x14
test ebp, ebp
jle 0x45e39f
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x34], ebp
push edi
push esi
mov ecx, ebx
call fcn.0045ef50
mov eax, dword [esp + 0x34]
add esi, 0x10
add edi, 0x10
dec eax
mov dword [esp + 0x34], eax
jne 0x45e385
pop edi
mov eax, ebp
pop esi
pop ebp
shl eax, 7
pop ebx
add esp, 0x10
ret 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret 0x14
Function at 0x45ea60
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x45ea83
pop edi
pop esi
pop ebp
mov eax, 0xfffffffb
pop ebx
add esp, 0x24
ret 0x14
mov ebx, dword [edi + 0x30]
cmp ebx, 2
je 0x45eaa1
mov eax, dword [edi + 0x34]
test eax, eax
jne 0x45eaa1
pop edi
pop esi
pop ebp
mov eax, 0xfffffffa
pop ebx
add esp, 0x24
ret 0x14
mov esi, dword [esp + 0x38]
test esi, esi
je 0x45ebf7
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x45ebf7
cdq
and edx, 0x7f
add eax, edx
mov ecx, eax
mov eax, ebx
sar ecx, 7
sub eax, 0
mov dword [esp + 0x38], ecx
je 0x45ebc8
dec eax
je 0x45eae3
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x24
ret 0x14
mov al, byte [esp + 0x48]
test al, al
je 0x45eb05
mov eax, dword [edi + 0x40]
mov edx, dword [edi + 0x44]
mov ebx, dword [edi + 0x38]
mov ebp, dword [edi + 0x3c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x30], edx
jmp 0x45eb1c
mov eax, dword [esp + 0x44]
mov edx, dword [eax + 8]
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x30], edx
test ecx, ecx
jle 0x45eba6
mov edi, dword [esp + 0x40]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push esi
call fcn.0045f400
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
xor eax, ebx
mov ebx, dword [esp + 0x2c]
xor ecx, ebp
mov ebp, dword [esp + 0x20]
xor edx, ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x18], ecx
xor ebp, ebx
mov ebx, dword [esi]
mov dword [esp + 0x20], ebp
mov dword [edi], eax
mov ebp, dword [esi + 4]
mov dword [edi + 4], ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], edx
mov dword [edi + 8], edx
mov edx, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x48]
add esi, 0x10
add edi, 0x10
dec eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x48], eax
jne 0x45eb2c
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x2c]
mov dword [eax], ebx
mov dword [eax + 4], ebp
mov dword [eax + 8], edx
mov edx, dword [esp + 0x30]
pop edi
mov dword [eax + 0xc], edx
mov eax, ecx
pop esi
pop ebp
shl eax, 7
pop ebx
add esp, 0x24
ret 0x14
test ecx, ecx
jle 0x45ebe8
mov ebx, dword [esp + 0x40]
mov ebp, ecx
push ebx
push esi
mov ecx, edi
call fcn.0045f400
add esi, 0x10
add ebx, 0x10
dec ebp
jne 0x45ebd2
mov ecx, dword [esp + 0x38]
pop edi
mov eax, ecx
pop esi
pop ebp
shl eax, 7
pop ebx
add esp, 0x24
ret 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 0x14