joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4106b5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42ac88]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040a5ba
and dword [ebp - 0x14], 0
cmp dword [0x42f62c], 0
mov dword [ebp - 0x18], eax
jne 0x410768
push 0x40377c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x410810
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403770
push ebx
call edi
test eax, eax
je 0x410810
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403760
push ebx
mov dword [0x42f62c], eax
call edi
push eax
call esi
push 0x40374c
push ebx
mov dword [0x42f630], eax
call edi
push eax
call esi
push 0x403730
push ebx
mov dword [0x42f634], eax
call edi
push eax
call esi
mov dword [0x42f63c], eax
test eax, eax
je 0x410768
push 0x403718
push ebx
call edi
push eax
call esi
mov dword [0x42f638], eax
mov eax, dword [0x42f638]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4107c1
cmp dword [0x42f63c], ecx
je 0x4107c1
push eax
call esi
push dword [0x42f63c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4107c1
test ebx, ebx
je 0x4107c1
call edi
test eax, eax
je 0x4107b8
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4107b8
test byte [ebp - 8], 1
jne 0x4107c1
or dword [ebp + 0x10], 0x200000
jmp 0x4107f4
mov eax, dword [0x42f630]
cmp eax, dword [ebp - 0x18]
je 0x4107f4
push eax
call esi
test eax, eax
je 0x4107f4
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4107f4
mov eax, dword [0x42f634]
cmp eax, dword [ebp - 0x18]
je 0x4107f4
push eax
call esi
test eax, eax
je 0x4107f4
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42f62c]
call esi
test eax, eax
je 0x410810
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x410812
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408491
leave
ret
Function at 0x424c80
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
sub esp, 0x80c
cmp dword [0x7b33c4], 0x37
jne 0x424d16
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommState]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
push 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
lea edx, [esp + 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
lea eax, [esp + 0x410]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov ecx, dword [0x7b43b8]
mov dword [esp], ecx
mov eax, 0x5d1
add dword [esp], eax
mov edx, dword [esp]
mov al, byte [edx + esi]
mov ecx, dword [0x434414]
mov byte [ecx + esi], al
add esp, 0x80c
ret
Function at 0x424fa0
Capabilities:
Accept command line arguments
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0x7b33c4]
sub esp, 0x97c
push ebx
push ebp
push esi
shr eax, 3
xor esi, esi
push edi
mov edi, dword [0x434414]
cmp eax, esi
jbe 0x4251aa
mov dword [esp + 0x34], 0x9e3779b9
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], eax
jmp 0x424fe6
mov edi, dword [esp + 0x28]
xor esi, esi
cmp dword [0x7b33c4], 0x1c
jne 0x424ffd
lea eax, [esp + 0x40]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, dword [0x42b2b4]
mov edi, dword [0x42b2b0]
mov ebx, dword [0x42b2b8]
mov ebp, dword [0x42b2bc]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], 0xc6ef3720
mov dword [esp + 0x38], edx
mov dword [esp + 0x2c], 0x20
jmp 0x42503e
mov eax, dword [esp + 0x1c]
xor esi, esi
mov ecx, eax
shr ecx, 5
add ecx, ebp
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x14]
mov edx, eax
shl edx, 4
add edx, ebx
add ecx, eax
xor edx, ecx
mov dword [esp + 0x10], edx
mov dword [0x7b3334], esi
mov eax, dword [esp + 0x24]
add dword [0x7b3334], eax
mov edx, dword [0x7b3334]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x3c]
add dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x24]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
sub dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov eax, ecx
shl eax, 4
add eax, edi
add esi, ecx
cmp dword [0x7b33c4], 0x1be
mov dword [esp + 0x10], eax
jne 0x4250d8
lea eax, [esp + 0x44]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
shr ecx, 5
add ecx, dword [esp + 0x38]
cmp dword [0x7b33c4], 0x979
mov dword [0x7b3338], 0xff6b3619
mov dword [0x7b333c], 0xffffffff
mov dword [esp + 0x24], ecx
jne 0x425119
push 0
lea ecx, [esp + 0x18c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameW]
mov eax, dword [esp + 0x10]
xor eax, esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
xor dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
sub dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x34]
add dword [esp + 0x20], eax
sub dword [esp + 0x14], eax
dec dword [esp + 0x2c]
jne 0x425038
cmp dword [0x7b33c4], 0x8d4
jne 0x42515f
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov dword [esi], edx
mov dword [esi + 4], eax
cmp dword [0x7b33c4], 0x17
jne 0x425199
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressA]
lea ecx, [esp + 0x48]
push ecx
push 0x403f20
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
add esi, 8
dec dword [esp + 0x30]
mov dword [esp + 0x28], esi
jne 0x424fe0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x97c
ret
Function at 0x409f30
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x304
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x300], eax
push ebx
push esi
xor ecx, ecx
mov eax, 1
push edi
mov edi, edi
mov edx, eax
and dl, 0x80
movzx edx, dl
mov byte [esp + ecx + 0x10c], al
mov byte [esp + ecx + 0x20b], al
mov byte [esp + eax + 0xc], cl
inc ecx
neg edx
sbb edx, edx
and edx, 0x11b
lea esi, [eax + eax]
xor edx, esi
xor eax, edx
cmp eax, 1
jne 0x409f50
xor ecx, ecx
mov dword [ecx + 0x4c2430], eax
test eax, eax
je 0x409f9c
movzx eax, byte [esp + eax + 0xc]
movzx eax, byte [esp + eax + 0x125]
jmp 0x409f9e
xor eax, eax
add ecx, 4
cmp ecx, 0x28
jb 0x409f83
xor edx, edx
test dl, dl
je 0x409fc2
movzx ecx, dl
movzx eax, byte [esp + ecx + 0xc]
lea ecx, [esp + 0x20b]
sub ecx, eax
movzx eax, byte [ecx]
jmp 0x409fc4
xor eax, eax
lea ecx, [eax + eax]
xor ecx, eax
add ecx, ecx
xor ecx, eax
add ecx, ecx
xor ecx, eax
add ecx, ecx
xor eax, ecx
mov ebx, eax
shr ebx, 8
xor bl, al
xor bl, 0x63
je 0x409ffb
movzx eax, bl
movzx eax, byte [esp + eax + 0xc]
movzx ecx, byte [esp + eax + 0x10d]
movzx esi, byte [esp + eax + 0x125]
jmp 0x409fff
xor ecx, ecx
xor esi, esi
shl ecx, 8
movzx eax, bl
or ecx, eax
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, esi
mov esi, ecx
rol esi, 8
mov dword [edx*4 + 0x4c3458], ecx
mov dword [edx*4 + 0x4c3858], esi
mov esi, ecx
rol esi, 0x10
ror ecx, 8
mov dword [edx*4 + 0x4c4058], ecx
mov ecx, eax
rol ecx, 8
mov dword [edx*4 + 0x4c2858], ecx
mov ecx, eax
mov dword [edx*4 + 0x4c2458], eax
rol ecx, 0x10
ror eax, 8
mov dword [edx*4 + 0x4c3058], eax
mov dword [edx*4 + 0x4c3c58], esi
movzx esi, dl
lea eax, [esi*8]
xor eax, esi
add eax, eax
add eax, eax
xor eax, esi
mov dword [edx*4 + 0x4c2c58], ecx
add eax, eax
mov ecx, eax
shr ecx, 8
xor cl, al
xor cl, 5
je 0x40a0e2
lea eax, [esi*8]
xor eax, esi
add eax, eax
add eax, eax
xor eax, esi
add eax, eax
mov ecx, eax
shr ecx, 8
movzx ecx, cl
movzx eax, al
xor ecx, eax
xor ecx, 5
movzx ecx, byte [esp + ecx + 0xc]
lea eax, [esp + 0x20b]
sub eax, ecx
mov bl, byte [eax]
test bl, bl
je 0x40a0e4
movzx ecx, bl
movzx ecx, byte [esp + ecx + 0xc]
movzx eax, byte [esp + ecx + 0x174]
movzx edi, byte [esp + ecx + 0x1fa]
movzx esi, byte [esp + ecx + 0x1d3]
movzx ecx, byte [esp + ecx + 0x1eb]
jmp 0x40a0ec
xor bl, bl
xor eax, eax
xor edi, edi
xor esi, esi
xor ecx, ecx
shl eax, 8
or eax, edi
shl eax, 8
or eax, esi
shl eax, 8
or eax, ecx
movzx ecx, bl
add ecx, ecx
add ecx, ecx
mov esi, eax
rol esi, 8
mov dword [ecx + 0x4c1830], esi
mov esi, eax
rol esi, 0x10
mov dword [ecx + 0x4c1430], eax
ror eax, 8
inc edx
mov dword [ecx + 0x4c1c30], esi
mov dword [ecx + 0x4c2030], eax
cmp edx, 0x100
jb 0x409fa8
mov ecx, dword [esp + 0x30c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov byte [0x4c4458], 1
call fcn.0049eaa6
add esp, 0x304
ret
Function at 0x420760
Capabilities:
Encode data using xor

Disassembly:
cmp dword [0x4c6a2c], 0
jne 0x42076e
call fcn.004206d0
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
push edi
test esi, esi
jbe 0x42079d
test dl, 7
je 0x42079d
movzx ecx, byte [edx]
movzx edi, al
xor ecx, edi
shr eax, 8
xor eax, dword [ecx*4 + 0x4c6a28]
dec esi
inc edx
test esi, esi
ja 0x420780
cmp esi, 8
jb 0x42082c
mov edi, esi
shr edi, 3
jmp 0x4207b0
xor eax, dword [edx]
add edx, 8
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4c6a28]
sub esi, 8
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4c6a28]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4c6a28]
mov ecx, eax
movzx eax, cl
mov eax, dword [eax*4 + 0x4c6a28]
xor eax, dword [edx - 4]
shr ecx, 8
xor eax, ecx
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4c6a28]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4c6a28]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4c6a28]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4c6a28]
sub edi, 1
jne 0x4207b0
xor ecx, ecx
test esi, esi
jbe 0x42084c
push ebx
movzx edi, byte [ecx + edx]
movzx ebx, al
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x4c6a28]
inc ecx
cmp ecx, esi
jb 0x420833
pop ebx
pop edi
pop esi
ret 0xc

Function at 0x4208e0
Capabilities:
Encode data using add xor sub operations

Disassembly:
mov eax, dword [esp + 4]
inc eax
mov edx, 4
push esi
jmp 0x4208f0
movzx esi, byte [eax - 1]
mov esi, dword [esi*4 + 0x4c6a28]
xor dword [ecx + 0x204], esi
movzx esi, byte [eax]
mov esi, dword [esi*4 + 0x4c6a28]
xor dword [ecx + 0x208], esi
movzx esi, byte [eax + 1]
mov esi, dword [esi*4 + 0x4c6a28]
xor dword [ecx + 0x20c], esi
movzx esi, byte [eax + 2]
mov esi, dword [esi*4 + 0x4c6a28]
xor dword [ecx + 0x210], esi
add eax, 4
sub edx, 1
jne 0x4208f0
pop esi
ret 4

Function at 0x420940
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov eax, edi
mov esi, ecx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x420950
sub eax, edx
push eax
push edi
push 0xffffffffffffffff
call fcn.00420760
mov word [esi + 0x214], ax
shr eax, 0x10
xor ecx, ecx
mov word [esi + 0x216], ax
xor eax, eax
mov word [esi + 0x21a], ax
mov word [esi + 0x218], cx
mov byte [esi + 0x21e], cl
mov byte [esi + 0x21d], cl
mov byte [esi + 0x21c], cl
mov al, byte [edi]
test al, al
je 0x4209f6
lea ecx, [ecx]
add byte [esi + 0x21c], al
xor byte [esi + 0x21d], al
mov dl, byte [esi + 0x21e]
add dl, al
rol dl, 1
movzx ecx, al
mov byte [esi + 0x21e], dl
mov dx, word [ecx*4 + 0x4c6a28]
xor dx, word [esi + 0x218]
movzx ax, al
xor dx, ax
mov word [esi + 0x218], dx
mov cx, word [ecx*4 + 0x4c6a2a]
add cx, ax
add word [esi + 0x21a], cx
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4209a0
pop edi
pop esi
ret 4
Function at 0x420ae0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0xc]
mov eax, ecx
test edi, edi
je 0x420b9a
push ebx
push esi
mov esi, dword [esp + 0x10]
jmp 0x420b00
mov ecx, 0x1234
add word [eax + 0x214], cx
movzx ecx, word [eax + 0x214]
mov edx, ecx
shr edx, 1
and edx, 0xff
movzx edx, word [edx*4 + 0x4c6a28]
xor word [eax + 0x216], dx
mov bx, word [eax + 0x21a]
mov edx, ecx
shr edx, 1
and edx, 0xff
movzx edx, word [edx*4 + 0x4c6a2a]
sub word [eax + 0x218], dx
movzx edx, word [eax + 0x218]
xor edx, ecx
mov word [eax + 0x214], dx
mov edx, 1
mov ecx, edx
dec edi
ror bx, cl
inc esi
xor bx, word [eax + 0x216]
ror bx, cl
movzx ecx, bx
xor word [eax + 0x214], cx
mov word [eax + 0x21a], cx
movzx ecx, word [eax + 0x214]
shr ecx, 8
xor byte [esi - 1], cl
test edi, edi
jne 0x420b00
pop esi
pop ebx
pop edi
ret 8
Function at 0x4243b0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
mov edx, dword [esi]
push edi
mov edi, dword [esp + 0x18]
mov eax, dword [edi]
cmp eax, edx
jbe 0x424418
mov ebx, dword [esp + 0x14]
mov ecx, 1
cmp edx, ecx
jb 0x4243f4
mov edx, edi
sub edx, esi
lea eax, [esi + 4]
sub ebx, esi
lea ebx, [ebx]
mov ebp, dword [edx + eax]
xor ebp, dword [eax]
inc ecx
mov dword [ebx + eax], ebp
add eax, 4
cmp ecx, dword [esi]
jbe 0x4243e0
mov ebx, dword [esp + 0x14]
mov eax, dword [edi]
sub eax, dword [esi]
lea edx, [edi + ecx*4]
add eax, eax
add eax, eax
push eax
push edx
lea eax, [ebx + ecx*4]
push eax
call fcn.0049f0e0
mov ecx, dword [edi]
add esp, 0xc
pop edi
pop esi
pop ebp
mov dword [ebx], ecx
pop ebx
ret 0xc
jae 0x424468
mov ebx, dword [esp + 0x14]
mov ecx, 1
cmp eax, ecx
jb 0x424444
mov edx, edi
sub edx, esi
lea eax, [esi + 4]
sub ebx, esi
mov ebp, dword [eax + edx]
xor ebp, dword [eax]
inc ecx
mov dword [eax + ebx], ebp
add eax, 4
cmp ecx, dword [edi]
jbe 0x424430
mov ebx, dword [esp + 0x14]
mov edx, dword [esi]
sub edx, dword [edi]
lea eax, [esi + ecx*4]
add edx, edx
add edx, edx
push edx
push eax
lea ecx, [ebx + ecx*4]
push ecx
call fcn.0049f0e0
mov edx, dword [esi]
add esp, 0xc
pop edi
pop esi
pop ebp
mov dword [ebx], edx
pop ebx
ret 0xc
test eax, eax
jbe 0x424482
mov edx, edi
lea ecx, [esi + eax*4]
sub edx, esi
mov ebx, dword [ecx + edx]
xor ebx, dword [ecx]
jne 0x424482
dec eax
sub ecx, 4
test eax, eax
ja 0x424473
mov edx, dword [esp + 0x14]
mov dword [edx], eax
test eax, eax
jbe 0x4244a3
sub edi, esi
lea ecx, [esi + eax*4]
sub edx, esi
mov esi, dword [ecx + edi]
xor esi, dword [ecx]
dec eax
mov dword [ecx + edx], esi
sub ecx, 4
test eax, eax
ja 0x424493
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x4244b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x4c
push ebp
push esi
mov esi, dword [esp + 0x5c]
cmp dword [esi], 0
je 0x4245da
mov ebp, dword [esp + 0x60]
mov eax, dword [ebp]
test eax, eax
je 0x4245da
mov ecx, ebp
lea edx, [esp + 8]
sub ecx, edx
push edi
lea ebx, [ebx]
mov edi, dword [0x4c7520]
lea edx, [ecx + eax*4]
sub eax, 1
mov edx, dword [esp + edx + 0xc]
mov edx, dword [edi + edx*4]
mov dword [esp + eax*4 + 0x10], edx
jne 0x4244e0
mov edi, dword [esp + 0x5c]
push ebx
push 0x90
push eax
push edi
call fcn.0049f060
mov ebx, dword [esi]
add esp, 0xc
test ebx, ebx
je 0x424587
mov ebp, dword [0x4c751c]
lea esp, [esp]
mov eax, dword [esi + ebx*4]
mov ecx, dword [0x4c7520]
mov esi, dword [ecx + eax*4]
cmp esi, 0x7fff
je 0x42457a
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
test eax, eax
je 0x42457a
lea ecx, [ebx + eax]
lea edx, [edi + ecx*4 - 4]
jmp 0x424550
mov ecx, dword [esp + eax*4 + 0x10]
cmp ecx, 0x7fff
je 0x424572
add ecx, esi
cmp ecx, 0x7fff
jb 0x42456c
add ecx, 0xffff8001
mov ecx, dword [ebp + ecx*4]
xor dword [edx], ecx
dec eax
sub edx, 4
test eax, eax
jne 0x424550
sub ebx, 1
mov esi, dword [esp + 0x64]
jne 0x424520
mov ebp, dword [esp + 0x68]
mov edx, dword [esi]
mov eax, dword [ebp]
lea ecx, [edx + eax - 1]
cmp ecx, 0x11
mov dword [edi], ecx
pop ebx
jle 0x4245b7
lea eax, [edi + ecx*4 - 0x38]
lea edx, [ecx - 0x11]
nop
mov ecx, dword [eax + 0x38]
xor dword [eax - 0xc], ecx
xor dword [eax], ecx
mov dword [eax + 0x38], 0
sub eax, 4
sub edx, 1
jne 0x4245a0
cmp dword [edi], 0x11
jbe 0x4245d1
mov dword [edi], 0x11
mov eax, dword [edi]
cmp dword [edi + eax*4], 0
jne 0x4245d1
dec eax
mov dword [edi], eax
test eax, eax
jne 0x4245c2
pop edi
pop esi
pop ebp
add esp, 0x4c
ret 0xc
mov ecx, dword [esp + 0x58]
pop esi
mov dword [ecx], 0
pop ebp
add esp, 0x4c
ret 0xc
Function at 0x4245f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
mov edi, dword [esp + 0x10]
mov eax, dword [edi]
xor ebp, ebp
cmp eax, ebp
je 0x4246d5
mov ecx, dword [edi + eax*4]
push ebx
mov ebx, dword [0x4c7520]
mov ecx, dword [ebx + ecx*4]
push esi
cmp ecx, 0x7fff
je 0x42463b
add ecx, ecx
cmp ecx, 0x7fff
jb 0x424628
add ecx, 0xffff8001
mov edx, dword [0x4c751c]
mov ecx, dword [edx + ecx*4]
mov esi, dword [esp + 0x14]
mov dword [esi + eax*8 - 4], ecx
jmp 0x424643
mov esi, dword [esp + 0x14]
mov dword [esi + eax*8 - 4], ebp
mov ecx, dword [edi]
sub ecx, 1
je 0x424688
lea edx, [esi + ecx*8 - 4]
mov edi, edi
mov dword [edx + 4], ebp
mov eax, dword [edi + ecx*4]
mov eax, dword [ebx + eax*4]
cmp eax, 0x7fff
je 0x42467e
add eax, eax
cmp eax, 0x7fff
jb 0x42466e
add eax, 0xffff8001
mov ebp, dword [0x4c751c]
mov eax, dword [ebp + eax*4]
mov dword [edx], eax
xor ebp, ebp
jmp 0x424680
mov dword [edx], ebp
dec ecx
sub edx, 8
cmp ecx, ebp
jne 0x424650
mov eax, dword [edi]
lea ecx, [eax + eax - 1]
cmp ecx, 0x11
mov dword [esi], ecx
jle 0x4246b3
lea eax, [esi + ecx*4 - 0x38]
lea edx, [ecx - 0x11]
lea esp, [esp]
mov ecx, dword [eax + 0x38]
xor dword [eax - 0xc], ecx
xor dword [eax], ecx
mov dword [eax + 0x38], ebp
sub eax, 4
sub edx, 1
jne 0x4246a0
cmp dword [esi], 0x11
jbe 0x4246ce
mov dword [esi], 0x11
mov edi, edi
mov eax, dword [esi]
cmp dword [esi + eax*4], ebp
jne 0x4246ce
dec eax
mov dword [esi], eax
cmp eax, ebp
jne 0x4246c0
pop esi
pop ebx
pop edi
pop ebp
ret 8
mov ecx, dword [esp + 0xc]
pop edi
mov dword [ecx], ebp
pop ebp
ret 8
Function at 0x4322a0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push edi
push 0x10000
call fcn.0049eb7f
mov edi, eax
add esp, 4
test edi, edi
jne 0x4322bb
lea eax, [edi + 4]
pop edi
ret 0xc
push ebx
mov ebx, dword [esp + 0x14]
push ebp
xor ebp, ebp
push esi
cmp ebx, 0xffffffff
je 0x4322d1
cmp ebp, ebx
jae 0x43235f
call fcn.004464e0
cmp byte [0x4c936c], 0
je 0x4322e8
cmp dword [0x4dc178], 0
jne 0x43232d
cmp ebx, 0xffffffff
je 0x4322f8
mov eax, ebx
sub eax, ebp
cmp eax, 0x10000
jb 0x4322fd
mov eax, 0x10000
mov ecx, dword [esp + 0x14]
push ecx
push eax
push 1
push edi
call fcn.004a05f9
mov esi, eax
add esp, 0x10
test esi, esi
je 0x432339
mov edx, dword [esp + 0x18]
push edx
push esi
push 1
push edi
call fcn.004a0202
add esp, 0x10
cmp eax, esi
jne 0x432371
add ebp, esi
jmp 0x4322c4
pop esi
pop ebp
pop ebx
mov eax, 9
pop edi
ret 0xc
mov eax, dword [esp + 0x14]
push eax
call fcn.004a1bc4
add esp, 4
test eax, eax
je 0x43235f
push edi
call fcn.0049e7fd
add esp, 4
pop esi
pop ebp
pop ebx
mov eax, 0xb
pop edi
ret 0xc
push edi
call fcn.0049e7fd
add esp, 4
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
ret 0xc
push edi
call fcn.0049e7fd
mov eax, dword [0x4c93b8]
add esp, 4
push eax
push eax
mov ecx, 0x4c9364
call fcn.00428e50
pop esi
pop ebp
pop ebx
mov eax, 0xa
pop edi
ret 0xc

Function at 0x436150
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x9c]
cmp eax, 0xffffffff
je 0x4361cb
cmp eax, 0x40
jbe 0x436179
lea eax, [esi + 0x40]
push eax
push esi
call fcn.00465580
mov dword [esi + 0x9c], 0x14
mov eax, dword [esi + 0x9c]
mov ecx, 0x40
sub ecx, eax
push ecx
add eax, esi
push 0
push eax
call fcn.0049f060
add esp, 0xc
xor eax, eax
jmp 0x4361a0
xor dword [esi + eax*4], 0x36363636
inc eax
cmp eax, 0x10
jb 0x4361a0
push edi
lea edi, [esi + 0x40]
push edi
call fcn.004654c0
push edi
push 0x40
push esi
call fcn.00465500
mov dword [esi + 0x9c], 0xffffffff
pop edi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4361e2
mov edx, dword [esp + 8]
add esi, 0x40
push esi
push eax
push edx
call fcn.00465500
pop esi
ret 0xc

Function at 0x4361f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
mov ebx, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x2c]
cmp dword [esi + 0x9c], 0xffffffff
je 0x43621b
push esi
push 0
push 0
call fcn.00436150
push edi
lea edi, [esi + 0x40]
push edi
lea eax, [esp + 0x10]
push eax
call fcn.00465580
xor eax, eax
lea esp, [esp]
xor dword [esi + eax*4], 0x6a6a6a6a
inc eax
cmp eax, 0x10
jb 0x436230
push edi
call fcn.004654c0
push edi
push 0x40
push esi
call fcn.00465500
push edi
push 0x14
lea ecx, [esp + 0x14]
push ecx
call fcn.00465500
push edi
lea edx, [esp + 0x10]
push edx
call fcn.00465580
mov eax, dword [esp + 0x2c]
pop edi
test eax, eax
jbe 0x43627c
push eax
lea eax, [esp + 0xc]
push eax
push ebx
call fcn.0049f0e0
add esp, 0xc
mov ecx, dword [esp + 0x1c]
pop esi
pop ebx
xor ecx, esp
call fcn.0049eaa6
add esp, 0x18
ret 0xc
Function at 0x44b110
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
mov ebp, ecx
mov cl, byte [eax + 0x5771]
mov byte [ebp + 0x14a5], cl
mov dl, byte [eax + 0x5772]
mov byte [ebp + 0x14a4], dl
mov ecx, dword [eax + 0x55b8]
push esi
mov dword [ebp + 0x14a0], ecx
mov edx, dword [eax + 0x4c00]
push edi
add eax, 0x55c4
push eax
lea ecx, [ebp + 0x63c8]
mov dword [ebp + 0x60a8], edx
call fcn.0041acd0
mov ecx, dword [ebp + 0x20]
cmp ecx, 0x400000
jae 0x44b1c3
mov edx, dword [ebp + 0x14a0]
cmp edx, ecx
jae 0x44b194
mov esi, 0x400000
mov eax, edx
sub esi, ecx
lea esp, [esp]
mov ecx, dword [ebp]
lea edx, [ecx + esi]
mov dl, byte [edx + eax]
mov byte [ecx + eax], dl
inc eax
cmp eax, dword [ebp + 0x20]
jb 0x44b180
jmp 0x44b1c3
sub edx, ecx
xor eax, eax
mov esi, edx
test ecx, ecx
jbe 0x44b1b2
mov edi, edi
mov ecx, dword [ebp]
lea edx, [ecx + esi]
mov dl, byte [edx + eax]
mov byte [ecx + eax], dl
inc eax
cmp eax, dword [ebp + 0x20]
jb 0x44b1a0
mov dword [ebp + 0x14a0], 0
mov byte [ebp + 0x14a5], 1
mov esi, dword [ebp]
mov edi, dword [ebp + 0x20]
add edi, esi
cmp dword [esp + 0x18], 0
mov ecx, 0x44
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ebx, dword [ebp + 0x14a0]
lea eax, [ebx + 1]
jne 0x44b239
mov esi, dword [ebp + 0x24]
and eax, esi
xor edx, edx
mov dword [ebp + 0x14a0], eax
cmp eax, ebx
je 0x44b262
mov ecx, dword [ebp]
movzx ecx, byte [eax + ecx + 2]
shl edx, 5
xor ecx, edx
mov edx, dword [ebp + 0x10]
and ecx, 0x7fff
lea edi, [edx + ecx*4]
mov edx, dword [edi]
mov dword [edi], eax
mov eax, dword [ebp + 0x14a0]
and edx, esi
mov esi, dword [ebp + 0x14]
mov dword [esi + eax*4], edx
mov eax, dword [ebp + 0x14a0]
mov esi, dword [ebp + 0x24]
inc eax
and eax, esi
mov edx, ecx
mov dword [ebp + 0x14a0], eax
cmp eax, ebx
jne 0x44b1f4
jmp 0x44b262
and eax, dword [ebp + 0x24]
mov dword [ebp + 0x14a0], eax
cmp eax, ebx
je 0x44b262
push eax
mov ecx, ebp
call fcn.004486a0
mov eax, dword [ebp + 0x14a0]
inc eax
and eax, dword [ebp + 0x24]
mov dword [ebp + 0x14a0], eax
cmp eax, ebx
jne 0x44b246
mov esi, dword [esp + 0x14]
push 0x4bf0
add esi, 0x10
lea ecx, [ebp + 0x14b4]
push esi
push ecx
mov byte [ebp + 0x60a4], 0
call fcn.0049f0e0
add esp, 0xc
mov ecx, esi
call fcn.0046f490
lea ecx, [ebp + 0xda8]
call fcn.0044d900
pop edi
xor eax, eax
pop esi
mov dword [ebp + 0x974], eax
mov dword [ebp + 0x978], eax
mov byte [ebp + 0x97c], 1
pop ebp
pop ebx
ret 8