joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415cf0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4d50b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [esi]
dec dword [eax]
mov eax, dword [esi]
mov ecx, dword [eax]
push ecx
push 0x40832c
lea edx, [ebp - 0x20c]
call fcn.00419fa0
add esp, 8
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [esi + 0x14e8]
push eax
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
cmp dword [esi + 0x1680], 0x10
jb 0x415d52
mov ecx, dword [esi + 0x166c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
push ebx
xor ebx, ebx
mov dword [esi + 0x1680], 0xf
mov dword [esi + 0x167c], ebx
mov byte [esi + 0x166c], bl
cmp dword [esi + 0x1664], 0x10
jb 0x415d84
mov edx, dword [esi + 0x1650]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [esi + 0x1660], ebx
mov dword [esi + 0x1664], 0xf
mov byte [esi + 0x1650], bl
xor ecx, ebp
pop ebx
call fcn.004c3ec2
mov esp, ebp
pop ebp
ret

Function at 0x415db0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4d50b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x210]
push eax
mov ebx, ecx
mov dword [ebp - 0x210], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
je 0x415e16
cmp dword [ebp - 0x210], 2
jl 0x415e16
mov ecx, dword [eax + 4]
push ecx
push 0xa28
add ebx, 0x50
push ebx
call dword [sym.imp.MSVCR100.dll_wcscpy_s]
add esp, 0xc
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c3ec2
mov esp, ebp
pop ebp
ret
push esi
push edi
push 0x1d0
lea edx, [ebp - 0x1d4]
push 0
mov ecx, 0xe
mov esi, 0x408344
lea edi, [ebp - 0x20c]
push edx
rep movsd dword es:[edi], dword [esi]
call sub.MSVCR100.dll_memset
lea eax, [ebp - 0x20c]
push eax
push 0xa28
add ebx, 0x50
push ebx
call dword [sym.imp.MSVCR100.dll_wcscpy_s]
mov ecx, dword [ebp - 4]
add esp, 0x18
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c3ec2
mov esp, ebp
pop ebp
ret
Function at 0x42bbb0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
test ecx, ecx
jle 0x42bbdd
push esi
push edi
jmp 0x42bbc0
movzx esi, byte [edx]
movzx esi, byte [esi + 0x4092b8]
lea edi, [eax*8]
xor esi, edi
dec ecx
xor eax, esi
inc edx
test ecx, ecx
jg 0x42bbc0
pop edi
pop esi
ret

Function at 0x42bc40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [esi*8]
push edi
mov edi, dword [ebp + 8]
cmp eax, 0x400
jbe 0x42bc62
mov esi, 0x80
cmp esi, dword [edi]
jne 0x42bc6f
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4da638]
test eax, eax
je 0x42bc7a
call eax
lea ecx, [esi*8]
push ecx
call fcn.00428440
mov esi, eax
mov eax, dword [0x4da63c]
add esp, 4
mov dword [ebp - 4], esi
test eax, eax
je 0x42bc9a
call eax
test esi, esi
je 0x42bc66
mov edx, dword [edi + 0xc]
push edx
call fcn.00428710
add esp, 4
push esi
mov dword [edi + 0xc], esi
call dword [0x4d5850]
mov ebx, eax
shr ebx, 3
add esp, 4
lea eax, [ebx*8]
push eax
push 0
push esi
mov dword [ebp + 0xc], ebx
mov dword [edi], ebx
call sub.MSVCR100.dll_memset
mov ecx, dword [edi + 8]
add esp, 0xc
mov dword [edi + 8], 0
test ecx, ecx
je 0x42bd7f
mov edx, dword [ecx + 0x10]
mov esi, dword [ecx + 0xc]
xor eax, eax
test edx, edx
jle 0x42bd13
movzx edi, byte [esi]
movzx edi, byte [edi + 0x4092b8]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc esi
test edx, edx
jg 0x42bcf2
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
xor edx, edx
div ebx
mov eax, dword [ebp - 4]
lea eax, [eax + edx*8]
test eax, eax
je 0x42bd5b
mov esi, dword [eax]
test esi, esi
je 0x42bd31
mov edx, dword [eax + 4]
jmp 0x42bd33
xor edx, edx
inc esi
mov dword [eax], esi
mov dword [eax + 4], ecx
test edx, edx
je 0x42bd5b
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x42bd53
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x42bd74
mov dword [edi + 8], ecx
mov dword [edx + 4], ecx
jmp 0x42bd74
mov edx, dword [edi + 8]
mov dword [ecx], edx
mov eax, dword [edi + 8]
test eax, eax
je 0x42bd6a
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edi + 8], ecx
mov ecx, dword [ebp - 8]
test ecx, ecx
jne 0x42bce6
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42be80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0xc], 0
je 0x42bec5
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov edx, esi
test esi, esi
jle 0x42bebf
push ebx
lea esp, [esp]
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x4092b8]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x42bea0
mov edi, dword [ebp + 8]
pop ebx
xor edx, edx
div dword [edi]
jmp 0x42bec7
xor edx, edx
mov eax, dword [ebp + 0xc]
push esi
push eax
mov eax, edi
call fcn.0042bd90
add esp, 8
pop edi
test eax, eax
je 0x42bee0
mov eax, dword [eax + 8]
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x42bef0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, eax
mov eax, dword [edi]
test eax, eax
je 0x42bf39
mov ecx, dword [ebp + 8]
xor eax, eax
mov edx, ebx
test ebx, ebx
jle 0x42bf2e
nop
movzx esi, byte [ecx]
movzx esi, byte [esi + 0x4092b8]
lea ebx, [eax*8]
xor esi, ebx
dec edx
xor eax, esi
inc ecx
test edx, edx
jg 0x42bf10
mov ebx, dword [ebp + 0xc]
xor edx, edx
div dword [edi]
mov esi, edx
mov dword [ebp - 4], esi
jmp 0x42bf43
mov dword [ebp - 4], 0
mov esi, dword [ebp - 4]
mov eax, dword [ebp + 8]
push ebx
push eax
mov edx, esi
mov eax, edi
call fcn.0042bd90
add esp, 8
test eax, eax
je 0x42bf86
mov ecx, dword [ebp + 0x10]
mov ebx, dword [eax + 8]
test ecx, ecx
jne 0x42bf74
mov edx, esi
mov ecx, edi
call fcn.0042be30
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 8]
mov dword [eax + 0xc], ecx
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x10], 0
je 0x42c01a
push 0x14
call fcn.00428440
mov esi, eax
mov eax, dword [ebp + 0x10]
add esp, 4
test esi, esi
je 0x42c01c
mov edx, dword [ebp + 8]
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], ebx
mov dword [esi + 8], eax
inc dword [edi + 4]
mov eax, dword [edi + 4]
cmp eax, 0xa
jb 0x42bfe4
mov ecx, dword [edi]
add ecx, ecx
cmp eax, ecx
jbe 0x42bfe4
lea edx, [eax + eax]
push edx
push edi
call fcn.0042bc40
add esp, 8
test eax, eax
je 0x42bfe4
mov edx, dword [ebp + 8]
mov ecx, ebx
call fcn.0042bbb0
xor edx, edx
div dword [edi]
mov dword [ebp - 4], edx
mov eax, dword [edi + 0xc]
test eax, eax
je 0x42c001
mov ecx, dword [ebp - 4]
lea edx, [eax + ecx*8]
mov eax, esi
call fcn.0042bbe0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 8]
mov dword [esi], edx
mov eax, dword [edi + 8]
test eax, eax
je 0x42c010
mov dword [eax + 4], esi
mov dword [esi + 4], 0
mov dword [edi + 8], esi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x433580
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov edx, dword [edi + 0x3c]
cmp dword [edx], 0
push ebx
push esi
mov esi, eax
mov dword [ebp - 4], 0
jne 0x4335c0
mov eax, dword [edi + 0x78]
mov ecx, dword [edi]
or eax, 0x1e
push 0
and eax, 0x87f7f
push eax
mov eax, dword [ecx + 0x18]
push edx
push 0
push ecx
call eax
add esp, 0x14
mov dword [ebp - 4], eax
test eax, eax
jne 0x43372e
mov ecx, dword [edi + 0x18]
cmp ecx, dword [edi + 0x24]
jbe 0x4335f9
mov eax, dword [edi + 0x80]
push 0
cdq
push ecx
push edx
push eax
call fcn.004cd470
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x3c]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
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 0x43372e
mov ebx, dword [esi + 0x14]
mov dword [ebp - 0xc], ebx
cmp ebx, dword [edi + 0x18]
ja 0x433721
test byte [esi + 0x18], 0x20
jne 0x433721
mov eax, dword [edi + 0x80]
cdq
push edx
push eax
lea ecx, [ebx - 1]
push 0
push ecx
call fcn.004cd470
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
cmp ebx, 1
jne 0x43369c
mov ecx, dword [esi + 0x10]
movzx eax, byte [ecx + 0x64]
movzx edx, byte [ecx + 0x65]
shl eax, 8
or eax, edx
movzx edx, byte [ecx + 0x66]
movzx ecx, byte [ecx + 0x67]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
mov ecx, dword [esi + 4]
inc eax
mov ebx, eax
shr ebx, 0x10
mov byte [ecx + 0x19], bl
mov dword [ebp - 8], ebx
mov edx, eax
shr edx, 0x18
mov byte [ecx + 0x18], dl
mov byte [ecx + 0x1b], al
mov ebx, eax
shr ebx, 8
mov byte [ecx + 0x1a], bl
mov ecx, dword [esi + 4]
mov byte [ecx + 0x5c], dl
mov dl, byte [ebp - 8]
mov byte [ecx + 0x5e], bl
mov ebx, dword [ebp - 0xc]
mov byte [ecx + 0x5d], dl
mov byte [ecx + 0x5f], al
mov eax, dword [esi + 4]
mov dword [eax + 0x60], 0x23e22d00
mov eax, dword [edi + 0xac]
test eax, eax
jne 0x4336ae
mov eax, dword [esi + 4]
mov dword [ebp - 8], eax
jmp 0x4336c8
mov ecx, dword [esi + 4]
mov edx, dword [edi + 0xb8]
push 6
push ebx
push ecx
push edx
call eax
add esp, 0x10
mov dword [ebp - 8], eax
test eax, eax
je 0x433737
push dword [ebp - 0x14]
mov ecx, dword [edi + 0x80]
push dword [ebp - 0x18]
mov eax, dword [edi + 0x3c]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push ecx
mov ecx, dword [ebp - 8]
push ecx
push eax
call edx
add esp, 0x14
mov dword [ebp - 4], eax
cmp ebx, 1
jne 0x43370a
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x18]
mov dword [edi + 0x64], ecx
mov edx, dword [eax + 0x1c]
mov dword [edi + 0x68], edx
mov ecx, dword [eax + 0x20]
mov dword [edi + 0x6c], ecx
mov edx, dword [eax + 0x24]
mov dword [edi + 0x70], edx
cmp ebx, dword [edi + 0x20]
jbe 0x433712
mov dword [edi + 0x20], ebx
mov eax, dword [esi + 4]
push eax
mov eax, dword [edi + 0x58]
call fcn.00442e30
add esp, 4
cmp dword [ebp - 4], 0
mov esi, dword [esi + 0xc]
je 0x4335f9
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
mov eax, 7
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45dc00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, edi
test edi, edi
jne 0x45dc1e
xor ebx, ebx
mov dword [ebp - 8], ebx
jmp 0x45dc34
cmp byte [edi], al
je 0x45dc27
inc ecx
cmp byte [ecx], al
jne 0x45dc22
sub ecx, edi
and ecx, 0x3fffffff
mov ebx, ecx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x14]
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ecx
test ecx, ecx
jle 0x45dd35
jmp 0x45dc53
mov edi, dword [ebp + 0xc]
cmp esi, 2
jge 0x45dc5b
xor esi, 1
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x45dcbb
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov edx, esi
shl edx, 4
mov edi, dword [edx + eax]
mov dl, byte [ecx]
test dl, dl
je 0x45dc9d
jmp 0x45dc80
movzx eax, byte [edi]
movzx edx, dl
mov dl, byte [edx + 0x4092b8]
cmp dl, byte [eax + 0x4092b8]
jne 0x45dc9d
mov dl, byte [ecx + 1]
inc ecx
inc edi
test dl, dl
jne 0x45dc80
movzx ecx, byte [ecx]
movzx edx, byte [edi]
movzx edx, byte [edx + 0x4092b8]
movzx ecx, byte [ecx + 0x4092b8]
sub ecx, edx
mov eax, dword [ebp - 4]
jne 0x45dd25
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
add esi, esi
mov esi, dword [eax + esi*8 + 0xc]
cmp dword [esi + 0x14], 0
je 0x45dd08
xor eax, eax
mov edx, ebx
mov ecx, edi
test ebx, ebx
jle 0x45dcfe
jmp 0x45dce0
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x4092b8]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x45dce0
mov ebx, dword [ebp - 8]
mov edi, dword [ebp + 0xc]
xor edx, edx
div dword [esi + 8]
jmp 0x45dd0a
xor edx, edx
push ebx
push edi
lea eax, [esi + 8]
call fcn.0042bd90
add esp, 8
test eax, eax
je 0x45dd3c
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
test eax, eax
jne 0x45dd35
mov esi, dword [ebp - 0xc]
inc esi
mov dword [ebp - 0xc], esi
cmp esi, dword [ebp - 0x10]
jl 0x45dc50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x45dd25
Function at 0x45dde0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ebp - 8], esi
mov ecx, eax
test eax, eax
jne 0x45ddfd
xor ebx, ebx
mov dword [ebp - 0xc], ebx
jmp 0x45de15
cmp byte [eax], 0
je 0x45de08
inc ecx
cmp byte [ecx], 0
jne 0x45de02
sub ecx, eax
and ecx, 0x3fffffff
mov ebx, ecx
mov dword [ebp - 0xc], ecx
mov ecx, dword [edx + 0x14]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], ecx
test ecx, ecx
jle 0x45def7
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x10], ecx
push edi
nop
mov ecx, eax
cmp eax, 2
jge 0x45de3a
xor ecx, 1
mov edx, dword [ebp + 0xc]
shl ecx, 4
add ecx, dword [ebp - 0x10]
mov edi, dword [ecx + 0xc]
test edx, edx
je 0x45de8a
mov esi, dword [ecx]
mov cl, byte [edx]
test cl, cl
je 0x45de72
movzx eax, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x4092b8]
cmp cl, byte [eax + 0x4092b8]
jne 0x45de6f
mov cl, byte [edx + 1]
inc edx
inc esi
test cl, cl
jne 0x45de52
mov eax, dword [ebp - 4]
movzx edx, byte [edx]
movzx ecx, byte [esi]
movzx ecx, byte [ecx + 0x4092b8]
movzx edx, byte [edx + 0x4092b8]
sub edx, ecx
jne 0x45dee6
cmp dword [edi + 0x24], 0
lea esi, [edi + 0x18]
je 0x45dec4
mov ecx, dword [ebp + 8]
xor eax, eax
mov edx, ebx
test ebx, ebx
jle 0x45debe
mov edi, edi
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x4092b8]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x45dea0
mov ebx, dword [ebp - 0xc]
xor edx, edx
div dword [esi]
jmp 0x45dec6
xor edx, edx
mov eax, dword [ebp + 8]
push ebx
push eax
mov eax, esi
call fcn.0042bd90
add esp, 8
test eax, eax
je 0x45defd
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
test eax, eax
jne 0x45def6
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [ebp - 0x14]
jl 0x45de30
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 8], 0
jmp 0x45dee3
Function at 0x45df10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
add eax, eax
push edi
mov edi, dword [edx + eax*8 + 0xc]
add edi, 0x18
mov dword [ebp - 8], edi
mov eax, esi
test esi, esi
je 0x45df45
cmp byte [esi], 0
je 0x45df3e
inc eax
cmp byte [eax], 0
jne 0x45df38
sub eax, esi
and eax, 0x3fffffff
cmp dword [edi], 0
mov dword [ebp - 4], eax
je 0x45df89
mov edx, eax
xor eax, eax
mov ecx, esi
cmp edx, eax
jle 0x45df7e
jmp 0x45df60
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x4092b8]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x45df60
mov edi, dword [ebp - 8]
xor edx, edx
div dword [edi]
mov eax, dword [ebp - 4]
mov ebx, edx
jmp 0x45df8b
xor ebx, ebx
push eax
push esi
mov edx, ebx
mov eax, edi
call fcn.0042bd90
add esp, 8
test eax, eax
je 0x45dffc
mov esi, dword [eax + 8]
mov edx, ebx
mov ecx, edi
call fcn.0042be30
test esi, esi
je 0x45dffc
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0x10]
cmp eax, esi
jne 0x45dfbf
mov eax, dword [esi + 0x14]
mov dword [ecx + 0x10], eax
jmp 0x45dfd8
test eax, eax
je 0x45dfd8
mov ecx, dword [eax + 0x14]
cmp ecx, esi
je 0x45dfd2
mov eax, ecx
test eax, eax
jne 0x45dfc3
jmp 0x45dfd8
mov ecx, dword [esi + 0x14]
mov dword [eax + 0x14], ecx
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
mov ecx, edi
call fcn.004287b0
mov eax, esi
mov ecx, edi
call fcn.004287b0
or dword [edi + 0x18], 0x200
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
or dword [eax + 0x18], 0x200
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45e290
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
test ebx, ebx
je 0x45e436
mov esi, dword [ebp + 8]
test esi, esi
je 0x45e2b7
cmp dword [esi + 0x1f0], 0
jne 0x45e2c6
mov eax, 0xffff
add word [ebx + 0x20], ax
jne 0x45e436
mov edi, dword [ebx + 0x10]
mov dword [esp + 0x10], edi
test edi, edi
je 0x45e39a
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x14], ecx
test esi, esi
je 0x45e2ed
cmp dword [esi + 0x1f0], 0
jne 0x45e377
mov ecx, dword [edi]
mov eax, ecx
test ecx, ecx
jne 0x45e2fb
mov dword [esp + 0xc], ecx
jmp 0x45e311
cmp byte [ecx], 0
je 0x45e306
inc eax
cmp byte [eax], 0
jne 0x45e300
sub eax, ecx
and eax, 0x3fffffff
mov dword [esp + 0xc], eax
mov esi, dword [edi + 0x18]
cmp dword [esi + 0x18], 0
je 0x45e34c
mov edx, dword [esp + 0xc]
xor eax, eax
cmp edx, eax
jle 0x45e343
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x4092b8]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x45e324
mov edi, dword [esp + 0x10]
xor edx, edx
div dword [esi + 0x18]
mov ebx, edx
jmp 0x45e34e
xor ebx, ebx
mov edx, dword [esp + 0xc]
mov eax, dword [edi]
push edx
push eax
mov edx, ebx
lea eax, [esi + 0x18]
call fcn.0042bd90
add esp, 8
test eax, eax
je 0x45e371
mov edx, ebx
lea ecx, [esi + 0x18]
call fcn.0042be30
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [edi + 0x10]
mov ecx, esi
call fcn.004287b0
mov eax, edi
mov ecx, esi
call fcn.004287b0
mov edi, dword [esp + 0x14]
mov dword [esp + 0x10], edi
test edi, edi
jne 0x45e2d5
push ebx
mov eax, esi
call fcn.00469c50
add esp, 4
push ebx
mov edi, esi
call fcn.0045e220
mov eax, dword [ebx]
add esp, 4
mov ecx, esi
call fcn.004287b0
mov eax, dword [ebx + 0x28]
mov ecx, esi
call fcn.004287b0
mov edi, dword [ebx + 0x1c]
test edi, edi
je 0x45e3dd
push edi
push esi
call fcn.004725b0
add esp, 8
mov eax, edi
mov ecx, esi
call fcn.004287b0
mov eax, dword [ebx + 0x2c]
push eax
push esi
call fcn.00454bb0
add esp, 8
test esi, esi
je 0x45e3f7
cmp dword [esi + 0x1f0], 0
jne 0x45e403
push 0
mov edi, ebx
call fcn.00480d60
add esp, 4
cmp dword [ebx + 0x3c], 0
je 0x45e42d
xor edi, edi
cmp dword [ebx + 0x38], edi
jle 0x45e423
mov ecx, dword [ebx + 0x3c]
mov eax, dword [ecx + edi*4]
mov ecx, esi
call fcn.004287b0
inc edi
cmp edi, dword [ebx + 0x38]
jl 0x45e410
mov eax, dword [ebx + 0x3c]
mov ecx, esi
call fcn.004287b0
mov eax, ebx
mov ecx, esi
call fcn.004287b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45e440
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
shl eax, 4
add eax, dword [ecx + 0x10]
mov ecx, edi
test edi, edi
je 0x45e46e
cmp byte [edi], 0
je 0x45e466
nop
inc ecx
cmp byte [ecx], 0
jne 0x45e460
sub ecx, edi
and ecx, 0x3fffffff
mov ebx, dword [eax + 0xc]
add ebx, 8
cmp dword [ebx], 0
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ebx
je 0x45e4b9
xor eax, eax
mov esi, ecx
mov edx, edi
cmp ecx, eax
jle 0x45e4ae
lea esp, [esp]
movzx ecx, byte [edx]
movzx ecx, byte [ecx + 0x4092b8]
lea ebx, [eax*8]
xor ecx, ebx
dec esi
xor eax, ecx
inc edx
test esi, esi
jg 0x45e490
mov ebx, dword [ebp - 8]
xor edx, edx
div dword [ebx]
mov ecx, dword [ebp - 4]
mov esi, edx
jmp 0x45e4bb
xor esi, esi
push ecx
push edi
mov edx, esi
mov eax, ebx
call fcn.0042bd90
add esp, 8
test eax, eax
je 0x45e4db
mov edi, dword [eax + 8]
mov edx, esi
mov ecx, ebx
call fcn.0042be30
jmp 0x45e4dd
xor edi, edi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.0045e290
add esp, 8
or dword [esi + 0x18], 0x200
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45ffd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4d50b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [esi]
mov dword [ebp - 0x40], edx
mov edx, dword [ecx + 0x10]
add eax, eax
mov eax, dword [edx + eax*8]
mov dword [ebp - 0x28], eax
mov eax, 1
push edi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], eax
jmp 0x460013
mov esi, dword [ebp - 0x30]
push eax
push 0x40f790
lea ecx, [ebp - 0x1c]
push ecx
push 0x18
call fcn.00429fa0
mov ecx, dword [esi]
xor ebx, ebx
add esp, 0x10
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x1c]
cmp byte [ebp - 0x1c], bl
je 0x460045
lea esp, [esp]
inc eax
cmp byte [eax], bl
jne 0x460040
lea edx, [ebp - 0x1c]
sub eax, edx
and eax, 0x3fffffff
mov edi, eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x38], eax
cmp eax, ebx
jle 0x460161
jmp 0x46006a
mov ecx, dword [ebp - 0x34]
mov edx, ebx
cmp ebx, 2
jge 0x460074
xor edx, 1
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4600cb
mov ecx, dword [ecx + 0x10]
mov esi, edx
add esi, esi
mov esi, dword [ecx + esi*8]
mov ecx, eax
mov cl, byte [ecx]
test cl, cl
je 0x4600b0
lea ecx, [ecx]
movzx ebx, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x4092b8]
cmp cl, byte [ebx + 0x4092b8]
jne 0x4600ad
mov cl, byte [eax + 1]
inc eax
inc esi
test cl, cl
jne 0x460090
mov ebx, dword [ebp - 0x20]
movzx eax, byte [eax]
movzx ecx, byte [esi]
movzx ecx, byte [ecx + 0x4092b8]
movzx eax, byte [eax + 0x4092b8]
sub eax, ecx
jne 0x46012d
mov ecx, dword [ebp - 0x34]
mov ecx, dword [ecx + 0x10]
add edx, edx
mov esi, dword [ecx + edx*8 + 0xc]
cmp dword [esi + 0x14], 0
je 0x46010d
xor eax, eax
mov edx, edi
lea ecx, [ebp - 0x1c]
test edi, edi
jle 0x460106
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x4092b8]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x4600e5
mov ebx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x44]
xor edx, edx
div dword [esi + 8]
jmp 0x46010f
xor edx, edx
lea eax, [ebp - 0x1c]
push edi
push eax
lea eax, [esi + 8]
call fcn.0042bd90
add esp, 8
test eax, eax
je 0x460182
mov eax, dword [eax + 8]
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x460140
inc ebx
mov dword [ebp - 0x20], ebx
cmp ebx, dword [ebp - 0x38]
jl 0x460067
cmp dword [ebp - 0x24], 0
je 0x460161
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x28]
push edx
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x1c]
push eax
push ecx
push 0x40f1c0
push edx
call fcn.0045db00
add esp, 0x18
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, 3
jle 0x460010
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c3ec2
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x24], 0
jmp 0x46012d