Function at 0x42e140
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4928a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x154
push esi
mov esi, dword [ebp + 8]
xor edx, edx
push edi
mov edi, ecx
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x14], edi
cmp byte [esi + 0xd], dl
setne dl
call fcn.00429d50
push 1
push 0
push 0
push 4
mov dword [ebp - 4], 0
lea eax, [ebp - 0x78]
mov ecx, dword [edi]
xorps xmm0, xmm0
push 0x200
add ecx, 0x58
movlpd qword [ebp - 0x60], xmm0
push eax
call fcn.00438a80
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov edi, dword [ebp - 0x78]
test edi, edi
jns 0x42e1b8
mov esi, dword [ebp - 0x58]
jmp 0x42eb7c
cmp byte [ebp - 0x6c], 0
je 0x42ebca
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x2c]
lea edi, [eax + 0x2c]
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x54], edi
cmp edx, ecx
je 0x42e1e9
mov eax, dword [ebp - 0x70]
mov dword [edi], ecx
mov ecx, dword [edi + 4]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x70], ecx
cmp byte [esi + 0xd], 0
je 0x42e1ff
mov eax, dword [eax]
mov byte [ebp - 0xd], 1
mov eax, dword [eax + 8]
mov al, byte [eax + 0xd]
test al, al
jne 0x42e203
mov byte [ebp - 0xd], 0
mov al, 0x1a
mov dword [ebp - 0x50], 0x71001a
mov dword [ebp - 0x4c], 0x68007f
xor ecx, ecx
mov dword [ebp - 0x48], 0x7f0074
mov dword [ebp - 0x44], 0x290076
mov dword [ebp - 0x40], 0x340028
mov dword [ebp - 0x3c], 0x76007e
mov dword [ebp - 0x38], 0x76
cbw
xor word [ebp + ecx*2 - 0x4e], ax
inc ecx
cmp ecx, 0xc
jae 0x42e24a
mov al, byte [ebp - 0x50]
jmp 0x42e238
xor eax, eax
push 0xc
mov word [ebp - 0x36], ax
call fcn.0046f96e
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 2
mov edx, 0x1a
mov ecx, dword [0x4baf24]
mov dword [esi], 0
mov byte [esi + 8], 1
mov dword [esi + 4], 0x1a
call fcn.00428eb0
mov dword [esi], eax
test eax, eax
je 0x42e29a
push dword [esi + 4]
lea ecx, [ebp - 0x4e]
push ecx
push eax
call fcn.004714a0
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
mov edx, dword [esi]
mov dword [ebp - 0x4c], 0
mov eax, dword [ecx]
mov ecx, edx
add eax, 0x10
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x18], eax
xor eax, eax
mov word [ebp - 0x4c], ax
lea eax, [ecx + 2]
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x30], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e2d0
sub ecx, dword [ebp - 0x30]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x4c]
call fcn.00423320
push 2
push 0
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00433f60
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x42e340
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e336
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ebcf
push edx
push ecx
call fcn.0046fbef
add esp, 8
xor eax, eax
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x4c], ax
mov eax, dword [esi]
mov dword [ebp - 0x38], 7
test eax, eax
je 0x42e375
push dword [esi + 4]
push 0
push eax
call fcn.00471a20
push dword [esi]
call fcn.004741d4
add esp, 0x10
mov dword [esi], 0
push 0xc
push esi
call fcn.0046fbef
add esp, 8
cmp dword [ebp - 0x68], 0
jne 0x42e39a
mov eax, dword fs:[0x18]
mov esi, dword [ebp - 0x58]
mov edi, dword [eax + 0xbf4]
jmp 0x42eb52
mov dl, 0x61
mov dword [ebp - 0x2b], 0x4132261
mov dword [ebp - 0x27], 0x20041500
xor ecx, ecx
mov dword [ebp - 0x23], 0x15221502
mov word [ebp - 0x1f], 0x3619
mov byte [ebp - 0x1d], 0
nop dword [eax]
lea eax, [ebp - 0x2a]
xor byte [eax + ecx], dl
inc ecx
cmp ecx, 0xd
jae 0x42e3d1
mov dl, byte [ebp - 0x2b]
jmp 0x42e3c0
push 0xc
mov byte [ebp - 0x1d], 0
call fcn.0046f96e
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 6
mov edx, 0xe
mov ecx, dword [0x4baf24]
mov dword [esi], 0
mov byte [esi + 8], 1
mov dword [esi + 4], 0xe
call fcn.00428eb0
mov dword [esi], eax
test eax, eax
je 0x42e41f
push dword [esi + 4]
lea ecx, [ebp - 0x2a]
push ecx
push eax
call fcn.004714a0
add esp, 0xc
mov eax, dword [ebp - 0x14]
push 0x4aacfc
mov byte [ebp - 4], 5
push dword [esi]
mov ecx, dword [eax]
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x160]
add ecx, 0x10
push eax
call fcn.004346c0
mov byte [ebp - 4], 7
mov eax, dword [esi]
test eax, eax
je 0x42e467
push dword [esi + 4]
push 0
push eax
call fcn.00471a20
push dword [esi]
call fcn.004741d4
add esp, 0x10
mov dword [esi], 0
push 0xc
push esi
call fcn.0046fbef
mov esi, dword [ebp - 0x58]
add esp, 8
cmp dword [ebp - 0x160], 0
jge 0x42e488
mov edi, 0xc0000138
jmp 0x42eb3e
cmp byte [ebp - 0xd], 0
xorps xmm0, xmm0
je 0x42e7f8
mov edx, dword [edi]
lea edi, [esi + 0x70]
mov ecx, dword [ebp + 8]
movlpd qword [ebp - 0x8c], xmm0
movlpd qword [ebp - 0x80], xmm0
mov dword [ebp - 0x98], 0x20
mov dword [ebp - 0x94], 8
test edx, edx
je 0x42e4da
mov eax, dword [edx]
add eax, 0x28
mov dword [ebp - 0x90], eax
mov eax, dword [ecx + 0x38]
mov dword [ebp - 0x84], eax
mov eax, dword [edx]
jmp 0x42e4ef
mov eax, dword [ecx + 0x38]
mov dword [ebp - 0x84], eax
xor eax, eax
mov dword [ebp - 0x90], 0x28
push 0
add eax, 8
mov ecx, edi
push eax
push ecx
call fcn.0040ca10
cmp byte [ebp - 0x118], 0
je 0x42ebca
push 0
push dword [ebp - 0x158]
mov ecx, edi
push 0x4a8e68
push 0x123
call fcn.0040ca60
mov eax, dword [edi]
lea ecx, [esi + 0xd0]
push 0x4a4ee0
push 0x4a4ee0
push 0x4a4ee0
push ecx
push 0x25
mov ecx, edi
call dword [eax + 0x18]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x42e550
mov eax, dword [eax]
jmp 0x42e552
xor eax, eax
push 0
push eax
push 0x4a8e88
push 0x123
mov ecx, edi
call fcn.0040ca60
mov eax, dword [edi]
lea ecx, [ebp - 0x18]
push 2
push ecx
mov ecx, edi
mov dword [ebp - 0x18], 0x201
call dword [eax + 0xc]
movaps xmm0, xmmword [0x4ae0f0]
xor ecx, ecx
movups xmmword [ebp - 0x47], xmm0
mov word [ebp - 0x37], 0x4144
mov byte [ebp - 0x35], 0
mov al, byte [ebp - 0x47]
xor byte [ebp + ecx - 0x46], al
inc ecx
cmp ecx, 0x11
jb 0x42e591
push 0xc
mov byte [ebp - 0x35], 0
call fcn.0046f96e
add esp, 4
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 8
mov edx, 0x12
mov ecx, dword [0x4baf24]
mov dword [eax], 0
mov byte [eax + 8], 1
mov dword [eax + 4], 0x12
call fcn.00428eb0
mov ecx, eax
mov eax, dword [ebp - 0x30]
mov dword [eax], ecx
test ecx, ecx
je 0x42e5f2
push dword [eax + 4]
lea eax, [ebp - 0x46]
push eax
push ecx
call fcn.004714a0
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov ecx, dword [ebp - 0x14]
push 0
push 0
mov byte [ebp - 4], 7
push dword [eax]
mov ecx, dword [ecx]
lea eax, [ebp - 0x110]
add ecx, 0x10
push eax
call fcn.004352e0
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
test ecx, ecx
je 0x42e63e
push dword [eax + 4]
push 0
push ecx
call fcn.00471a20
mov eax, dword [ebp - 0x30]
push dword [eax]
call fcn.004741d4
mov eax, dword [ebp - 0x30]
add esp, 0x10
mov dword [eax], 0
push 0xc
push eax
call fcn.0046fbef
mov eax, dword [edi]
lea ecx, [esi + 0xd0]
add esp, 8
push 0x4a4ee0
push 0x4a4ee0
push 0x4a4ee0
push ecx
push 0x1f3
mov ecx, edi
call dword [eax + 0x18]
push 0
push 0
push ecx
mov ecx, edi
call fcn.0040ca10
cmp byte [ebp - 0xc8], 0
je 0x42ebca
push 0
push dword [ebp - 0x108]
mov ecx, edi
push 0x4a8e68
push 0x123
call fcn.0040ca60
mov eax, dword [edi]
lea ecx, [esi + 0xd0]
push 0x4a4ee0
push 0x4a4ee0
push 0x4a4ee0
push ecx
push 0x25
mov ecx, edi
call dword [eax + 0x18]
push 4
push 0x21c
mov ecx, edi
call fcn.0040c9c0
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x98]
push eax
push 0x20
push 8
call fcn.00437db0
mov eax, dword [ebp + 8]
cmp dword [eax + 0xc0], 8
lea ecx, [eax + 0xac]
jb 0x42e6f1
mov ecx, dword [ecx]
mov eax, dword [eax + 0xbc]
push ecx
mov ecx, dword [ebp - 0x54]
lea eax, [eax*2 + 2]
push eax
push 0x28
call fcn.00437db0
mov eax, dword [ebp - 0x14]
push 1
push 0
push 0
mov ecx, dword [eax]
lea eax, [ebp - 0x2c]
push 0x40
push 0x1000
add ecx, 0x58
push eax
call fcn.00438a80
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x2c]
mov dword [ebp + 8], eax
test eax, eax
jns 0x42e75a
lea ecx, [ebp - 0x2c]
call fcn.004220c0
cmp byte [ebp - 0xc8], 0
je 0x42e752
lea ecx, [ebp - 0x108]
call fcn.00423f10
mov edi, dword [ebp + 8]
jmp 0x42eb3e
cmp byte [ebp - 0x20], 0
je 0x42ebca
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 4]
call eax
push eax
mov eax, dword [edi + 0x44]
lea ecx, [ebp - 0x28]
sub eax, dword [edi + 0x38]
add eax, dword [edi + 0x40]
push eax
push 0
call fcn.00437db0
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x54]
mov eax, dword [eax]
add eax, 0x170
mov dword [ebp - 0x18], eax
mov eax, dword [edi]
test eax, eax
je 0x42e79c
mov eax, dword [eax]
jmp 0x42e79e
xor eax, eax
add eax, 8
cmp byte [ebp - 0x20], 0
mov dword [ebp + 8], eax
je 0x42ebca
lea ecx, [ebp - 0x28]
call fcn.00423e90
mov ecx, dword [ebp - 0x18]
push 0
push dword [ebp + 8]
push edx
push eax
call fcn.0043fbc0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 0
call fcn.004220c0
mov byte [ebp - 4], 7
cmp byte [ebp - 0xc8], 0
je 0x42eb16
lea ecx, [ebp - 0x108]
call fcn.00423f10
jmp 0x42eb16
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov al, byte [eax + 0xd]
test al, al
je 0x42e89c
mov eax, dword [edi]
movups xmmword [ebp - 0x98], xmm0
mov dword [ebp - 0x98], 0x20
movups xmmword [ebp - 0x88], xmm0
test eax, eax
je 0x42e833
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
jmp 0x42e83b
movlpd qword [ebp - 0x1c], xmm0
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + 0x28]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 8]
cmp byte [eax + 0x10], 0
jne 0x42e860
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x94], 8
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x98]
mov ecx, edi
push eax
push 0x20
push 8
call fcn.00437db0
mov eax, dword [ebp + 8]
cmp dword [eax + 0xc0], 8
lea ecx, [eax + 0xac]
jb 0x42e886
mov ecx, dword [ecx]
mov eax, dword [eax + 0xbc]
push ecx
lea eax, [eax*2 + 2]
push eax
push 0x28
jmp 0x42e959
mov ecx, dword [edi]
mov dword [ebp - 0xac], 0
movlpd qword [ebp - 0xa0], xmm0
movlpd qword [ebp - 0x98], xmm0
movlpd qword [ebp - 0x90], xmm0
movlpd qword [ebp - 0x88], xmm0
movlpd qword [ebp - 0x80], xmm0
mov dword [ebp - 0xb0], 0x38
test ecx, ecx
je 0x42e8e2
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
jmp 0x42e8ed
movlpd qword [ebp - 0x1c], xmm0
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
add eax, 0x40
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 8]
adc ecx, 0
mov dword [ebp - 0xa4], ecx
cmp byte [eax + 0x10], 0
jne 0x42e922
mov eax, dword [eax + 0x38]
cdq
mov dword [ebp - 0xac], 8
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], edx
lea eax, [ebp - 0xb0]
mov ecx, edi
push eax
push 0x38
push 8
call fcn.00437db0
mov eax, dword [ebp + 8]
cmp dword [eax + 0xc0], 8
lea ecx, [eax + 0xac]
jb 0x42e948
mov ecx, dword [ecx]
mov eax, dword [eax + 0xbc]
push ecx
lea eax, [eax*2 + 2]
push eax
push 0x40
mov ecx, edi
call fcn.00437db0
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 4]
mov eax, dword [esi]
mov ecx, dword [edi]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x42e97e
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
jmp 0x42e98c
xorps xmm0, xmm0
movlpd qword [ebp - 0x34], xmm0
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
add eax, 8
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
adc ecx, 0
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0xc0]
push eax
call fcn.0042fc90
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0xb
push ecx
lea eax, [ebp - 0x78]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.0042f910
mov byte [ebp - 4], 0xc
cmp byte [ebp - 0x118], 0
je 0x42ebd4
mov eax, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x108]
push eax
call fcn.0042fc90
push 1
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x108]
mov ecx, esi
push eax
call dword [ebp - 0x18]
lea ecx, [ebp - 0x108]
call fcn.00429c70
lea ecx, [ebp - 0x28]
call fcn.0042fb80
push fcn.00429c70
push 1
push 0x48
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 7
push eax
call fcn.0046fc2e
mov eax, dword [edi]
test eax, eax
je 0x42ea40
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x42ea4e
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
push eax
push ecx
lea edi, [esi + 0xf0]
push edi
push 0x123
lea ecx, [esi + 0x70]
call fcn.0040ca60
movzx ecx, byte [edi + 1]
movzx eax, byte [esi + 0x91]
and ecx, 4
movzx edx, byte [edi + 2]
shl ecx, 0x11
add ecx, eax
mov dword [ebp - 0x28], edx
push 0x4a4ee0
shl ecx, 8
lea eax, [esi + 0xd0]
add ecx, 3
mov dword [ebp - 0x24], 0xffffffff
push 0x4a4ee0
mov dword [ebp - 0x2c], ecx
lea ecx, [esi + 0x70]
push eax
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x2c]
mov edx, dword [ecx]
push eax
push 0x123
call dword [edx + 0x18]
mov edi, dword [ebp - 0x14]
xor eax, eax
push 8
push ecx
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0xd], al
mov ecx, dword [edi]
setne al
add ecx, 0x170
push eax
push esi
call fcn.00440cc0
mov eax, dword [esi]
mov ecx, esi
push 0xffffffffffffffff
push 0
call dword [eax + 8]
mov eax, dword [edi]
lea ecx, [esi + 0x70]
mov edi, dword [ecx + 0x44]
add eax, 0x170
sub edi, dword [ecx + 0x38]
add edi, dword [ecx + 0x40]
mov dword [ebp + 8], eax
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
lea ecx, [ebp - 0x60]
push ecx
mov ecx, dword [ebp + 8]
push edi
push eax
call fcn.0043f260
mov edi, eax
test edi, edi
js 0x42eb3e
mov edi, dword [ebp - 0x54]
cmp dword [ebp - 0x60], 0xffffffff
jne 0x42eb3c
mov ecx, dword [edi]
test ecx, ecx
je 0x42eb28
push ecx
call fcn.00437c30
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
add ecx, 0x170
call fcn.00429e90
mov edi, eax
jmp 0x42eb3e
xor edi, edi
cmp byte [ebp - 0x118], 0
je 0x42eb52
lea ecx, [ebp - 0x158]
call fcn.00423f10
mov ecx, dword [ebp - 0x64]
or eax, 0xffffffff
test ecx, ecx
je 0x42eb7c
lock xadd dword [ecx + 4], eax
jne 0x42eb79
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x64]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x42eb79
mov eax, dword [ecx]
call dword [eax + 4]
or eax, 0xffffffff
cmp byte [ebp - 0x6c], 0
je 0x42ebaa
mov ecx, dword [ebp - 0x70]
mov dword [ebp + 8], ecx
test ecx, ecx
je 0x42ebaa
lock xadd dword [ecx + 4], eax
jne 0x42ebaa
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp + 8]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
dec eax
jne 0x42ebaa
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x42ebb6
mov edx, dword [esi]
mov ecx, esi
push 1
call dword [edx]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
call fcn.00417600
call fcn.00476f7f
call fcn.00417600
int3