Function at 0x42e740
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472488
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x48f240]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x50], eax
cmp byte [eax + 0xb1], 0
jne 0x42e788
cmp byte [eax + 0xb2], 0
je 0x42ec1b
cmp dword [eax + 0xb8], 0
je 0x42ec1b
lea eax, [ebp - 0x8c]
push eax
call fcn.004199f0
add esp, 4
mov edi, dword [ebp - 0x88]
mov dword [ebp - 4], 0
mov dword [ebp - 0x60], edi
mov esi, dword [edi]
cmp esi, edi
je 0x42eb8c
nop
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 0x4c]
call fcn.0040b440
mov eax, dword [esi + 0x24]
sub eax, dword [esi + 0x20]
sar eax, 2
mov byte [ebp - 4], 1
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
test eax, eax
je 0x42e883
cmp eax, 0x3fffffff
ja 0x42ec3b
lea edx, [eax*4]
mov dword [ebp - 0x5c], edx
cmp edx, 0x1000
jb 0x42e83a
lea eax, [edx + 0x23]
cmp eax, edx
jbe 0x42ec36
push eax
call fcn.00462b6f
add esp, 4
test eax, eax
je 0x42ec40
lea edx, [eax + 0x23]
and edx, 0xffffffe0
mov dword [edx - 4], eax
jmp 0x42e84d
test edx, edx
je 0x42e84b
push edx
call fcn.00462b6f
add esp, 4
mov edx, eax
jmp 0x42e84d
xor edx, edx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [esi + 0x24]
add eax, edx
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x20]
sub ecx, eax
push ecx
push eax
push edx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x5c], ecx
call sub.msvcrt.dll_memmove
mov eax, dword [ebp - 0x5c]
add esp, 0xc
mov ecx, dword [ebp - 0x54]
sar eax, 2
lea eax, [ecx + eax*4]
mov dword [ebp - 0x30], eax
push 0xfde9
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0043beb0
add esp, 0xc
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 3
push ecx
lea ecx, [eax + 0xb4]
call fcn.0041c790
mov eax, dword [ebp - 0x64]
cmp byte [eax + 0xd], 0
jne 0x42e99e
add eax, 0x10
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00404320
add esp, 8
test al, al
jne 0x42e99e
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x64]
cmp eax, dword [edx + 0xb4]
je 0x42e99e
cmp byte [edx + 0xb2], 0
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x54], ecx
je 0x42ea84
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov edx, 0x811c9dc5
seta byte [ebp - 0x55]
cmova eax, ecx
xor ecx, ecx
cmp dword [ebp - 0x18], ecx
jbe 0x42e935
mov edi, eax
nop dword [eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x18]
jb 0x42e920
mov edi, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x28]
push edx
push eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ecx + 0xbc]
call fcn.0041c6b0
mov edx, dword [ebp - 0x50]
mov eax, dword [eax + 4]
test eax, eax
jne 0x42e95f
mov eax, dword [edx + 0xc0]
cmp eax, dword [edx + 0xc0]
jne 0x42ea81
cmp byte [ebp - 0x55], 0
mov byte [ebp - 4], 2
je 0x42e9d6
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42e99a
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ec40
push edx
push ecx
jmp 0x42e9ce
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp ecx, 0xf
jbe 0x42e9d6
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42e9cc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ec40
push ecx
push edx
call fcn.00462b9f
add esp, 8
mov edx, dword [ebp - 0x34]
mov byte [ebp - 4], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
test edx, edx
je 0x42ea38
mov ecx, dword [ebp - 0x2c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x42ea19
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ec40
push ecx
push edx
call fcn.00462b9f
add esp, 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov ecx, dword [ebp - 0x38]
cmp ecx, 7
jbe 0x42ea72
mov edx, dword [ebp - 0x4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42ea68
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ec40
push ecx
push edx
call fcn.00462b9f
add esp, 8
mov esi, dword [esi]
cmp esi, edi
jne 0x42e7c0
jmp 0x42eb8c
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x5c], eax
cmp edi, eax
je 0x42eb3f
lea eax, [edx + 0xdc]
mov dword [ebp - 0x54], eax
nop
mov esi, dword [edi]
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x60], esi
push ecx
mov ecx, eax
call fcn.00414eb0
mov eax, dword [ebp - 0x64]
cmp byte [eax + 0xd], 0
jne 0x42eacd
cmp esi, dword [eax + 0x10]
jl 0x42eacd
mov ecx, dword [ebp - 0x50]
cmp eax, dword [ecx + 0xdc]
jne 0x42eb2d
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x60], esi
push ecx
lea ecx, [eax + 0x30]
call fcn.0041c740
mov eax, dword [ebp - 0x90]
cmp byte [eax + 0xd], 0
jne 0x42eaff
cmp esi, dword [eax + 0x10]
jb 0x42eaff
mov ecx, dword [ebp - 0x50]
cmp eax, dword [ecx + 0x30]
jne 0x42eb2d
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0
movups xmmword [ecx], xmm0
push 0x476ac4
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.0041b8f0
push esi
call fcn.004456f0
add esp, 0x1c
mov eax, dword [ebp - 0x54]
add edi, 4
cmp edi, dword [ebp - 0x5c]
jne 0x42eaa0
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x42eb72
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x42eb68
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ec40
push edx
push ecx
call fcn.00462b9f
add esp, 8
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00418830
mov edx, dword [ebp - 0x80]
test edx, edx
je 0x42ebd8
mov ecx, dword [ebp - 0x78]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x42ebb9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ec40
push ecx
push edx
call fcn.00462b9f
add esp, 8
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov ecx, dword [ebp - 0x88]
mov eax, dword [ecx + 4]
mov dword [eax], 0
mov edi, dword [ecx]
test edi, edi
je 0x42ec0b
nop dword [eax]
mov esi, dword [edi]
lea ecx, [edi + 8]
call fcn.00418830
push 0x2c
push edi
call fcn.00462b9f
add esp, 8
mov edi, esi
test esi, esi
jne 0x42ebf0
push 0x2c
push dword [ebp - 0x88]
call fcn.00462b9f
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00462bad
mov esp, ebp
pop ebp
ret
call fcn.0040e550
call fcn.0040e6a0
call fcn.004643d0
int3