Function at 0x100419f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006e05d
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x10084014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x80], ebx
mov edi, dword [ebp + 8]
mov eax, dword [ebx]
mov dword [0x1008a9b0], eax
test edi, edi
je 0x1004255b
cmp dword [ebp + 0xc], 1
jne 0x1004255b
cmp dword [0x10086700], 0
je 0x1004255b
mov eax, dword [ebx + 4]
test eax, eax
je 0x10041a63
cmp edi, eax
jne 0x10041a63
call fcn.10042f30
mov al, 1
jmp 0x1004255d
mov eax, dword [ebx + 0x138]
test eax, eax
je 0x10041a83
cmp edi, eax
jne 0x10041a83
mov eax, dword [ebx + 0x148]
cmp eax, 1
jbe 0x10042557
dec eax
jmp 0x10041aa4
mov eax, dword [ebx + 0x13c]
test eax, eax
je 0x10041aba
cmp edi, eax
jne 0x10041aba
mov eax, dword [ebx + 0x148]
cmp eax, dword [ebx + 0x14c]
jae 0x10042557
inc eax
mov dword [ebx + 0x148], eax
movzx eax, al
push eax
call fcn.10044520
mov al, 1
jmp 0x1004255d
mov ecx, dword [ebx + 0x160]
mov eax, 0x4ec4ec4f
sub ecx, dword [ebx + 0x15c]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10042557
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
xor al, al
mov byte [ebp - 0x5d], al
nop dword [eax + eax]
movzx ecx, al
lea eax, [ecx + ecx*2]
mov eax, dword [ebx + eax*8 + 0x30]
test eax, eax
je 0x10042547
cmp edi, eax
jne 0x10042547
lea eax, [ecx + ecx*2]
mov ecx, dword [ebx + 0x160]
mov eax, dword [ebx + eax*8 + 0x1c]
sub ecx, dword [ebx + 0x15c]
mov dword [ebp - 0x68], eax
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jle 0x10042547
xor edi, edi
mov ecx, edi
nop dword [eax]
mov eax, dword [ebx + 0x15c]
mov edx, dword [ebp - 0x68]
cmp dword [edi + eax + 0x18], edx
je 0x10041b7b
inc ecx
add edi, 0x68
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebx + 0x160]
sub ecx, eax
mov eax, 0x4ec4ec4f
imul ecx
mov ecx, dword [ebp - 0x5c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jl 0x10041b40
jmp 0x10042544
imul ecx, ecx, 0x68
mov dword [ebx + 0x144], edx
mov dword [ebp - 0x84], 0xffffffff
mov dword [ebp - 0x68], ecx
cmp byte [eax + ecx + 0x64], 2
jne 0x10041c36
movaps xmm0, xmmword [str.l7._t_n]
xor ecx, ecx
movups xmmword [ebp - 0xbc], xmm0
mov dword [ebp - 0xac], 0x305180d
mov word [ebp - 0xa8], 0x3102
mov byte [ebp - 0xa6], 0
nop word [eax + eax]
mov al, byte [ebp - 0xbc]
xor byte [ebp + ecx - 0xbb], al
inc ecx
cmp ecx, 0x15
jb 0x10041bd0
lea eax, [ebp - 0xbb]
mov byte [ebp - 0xa6], 0
push eax
lea ecx, [ebp - 0x40]
call fcn.100028b0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x40]
mov ecx, dword [ebx + 0x7c]
call fcn.10018ac0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.10002220
mov ecx, dword [ebx + 0x7c]
mov edx, 0xff5cb9fe
call fcn.10018b90
mov dword [ebp - 0x84], 0xff808080
jmp 0x10041cb9
mov cl, 0x47
mov dword [ebp - 0xa4], 0x29121c47
mov dword [ebp - 0xa0], 0x67352223
xor eax, eax
mov dword [ebp - 0x9c], 0x1a3e2630
mov byte [ebp - 0x98], 0
nop
xor byte [ebp + eax - 0xa3], cl
inc eax
cmp eax, 0xb
jae 0x10041c75
mov cl, byte [ebp - 0xa4]
jmp 0x10041c60
lea eax, [ebp - 0xa3]
mov byte [ebp - 0x98], 0
push eax
lea ecx, [ebp - 0x40]
call fcn.100028b0
mov dword [ebp - 4], 1
lea edx, [ebp - 0x40]
mov ecx, dword [ebx + 0x7c]
call fcn.10018ac0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.10002220
mov ecx, dword [ebx + 0x7c]
mov edx, 0xffc4fc03
call fcn.10018b90
mov eax, dword [ebp - 0x68]
lea edx, [ebx + 0x84]
add eax, 0x48
mov dword [ebp - 0x5c], edx
lea edi, [ebx + 0xa8]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x88], 4
jmp 0x10041ce3
mov ebx, dword [ebp - 0x80]
mov eax, dword [ebx + 0x15c]
mov ecx, dword [ebp - 0x7c]
cmp word [ecx + eax], 0
je 0x10042162
mov bh, 0x65
mov byte [ebp - 0xc8], 0
mov cl, 0xb
mov byte [ebp - 0xd0], bh
mov bl, cl
mov byte [ebp - 0xc8], 0
mov al, 0x30
mov ah, 0xa
xor al, bh
xor ah, bh
mov ch, 0x12
mov byte [ebp - 0xcf], al
mov dh, bl
mov byte [ebp - 0xcb], ah
xor cl, bh
lea eax, [ebp - 0xcf]
xor ch, bh
mov byte [ebp - 0xce], cl
mov dl, 0xe
mov byte [ebp - 0xca], ch
xor dl, bh
lea ecx, [ebp - 0x58]
xor dh, bh
mov byte [ebp - 0xcd], dl
xor bl, bh
mov byte [ebp - 0xc9], dh
push eax
mov byte [ebp - 0xcc], bl
call fcn.100028b0
lea eax, [ebp - 0x6b]
mov dword [ebp - 4], 2
mov word [ebp - 0x6c], 6
lea ecx, [ebp - 0x40]
push eax
mov byte [ebp - 0x6b], 0
call fcn.100028b0
mov ebx, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x7c]
mov byte [ebp - 4], 3
mov eax, dword [ebx + 0x15c]
movzx ecx, word [eax + ecx]
call fcn.1000f070
test eax, eax
je 0x10041def
add eax, 4
lea ecx, [ebp - 0x58]
cmp ecx, eax
je 0x10041db0
push 0xffffffffffffffff
push 0
push eax
call fcn.10002330
mov ebx, dword [edi]
test ebx, ebx
je 0x10041dc9
push 4
push ebx
call esi
test eax, eax
jne 0x10041dc9
push 1
mov ecx, ebx
call dword [0x100785d0]
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x10041f33
push 4
push ebx
call esi
test eax, eax
jne 0x10041f33
push eax
mov ecx, ebx
call dword [0x100785d0]
jmp 0x10041f33
mov eax, dword [ebx + 0x15c]
mov ecx, dword [ebp - 0x7c]
cmp word [ecx + eax], 1
jne 0x10041f33
cmp byte [0x1008678e], 0
mov eax, dword [0x10086700]
mov dword [ebp - 0x64], eax
je 0x10041e4b
mov ecx, 0xd78c9c
call fcn.10018d90
mov ebx, eax
test ebx, ebx
je 0x10041e48
push 4
push ebx
call esi
test eax, eax
jne 0x10041e48
push 4
add ebx, 0x6a0
push ebx
call esi
test eax, eax
jne 0x10041e48
mov ecx, dword [ebp - 0x64]
mov al, byte [ebx]
mov byte [ecx + 0x34], al
mov eax, ecx
jmp 0x10041e4b
mov eax, dword [ebp - 0x64]
mov al, byte [eax + 0x34]
cmp al, 1
jne 0x10041ec9
mov al, 0x11
mov byte [ebp - 0x94], 0x54
xor al, byte [ebp - 0x94]
mov ah, 0x3b
mov byte [ebp - 0x93], al
mov cl, 0x38
mov al, byte [ebp - 0x94]
mov dl, 0x74
mov bl, 0x19
mov byte [ebp - 0x8b], 0
mov ch, 0x26
mov byte [ebp - 0x8b], 0
mov dh, 0x35
xor cl, al
xor dl, al
mov byte [ebp - 0x92], cl
xor bl, al
mov byte [ebp - 0x91], dl
xor ah, al
mov byte [ebp - 0x90], bl
xor ch, al
mov byte [ebp - 0x8f], ah
xor dh, al
mov byte [ebp - 0x8e], ch
mov bh, 0x30
mov byte [ebp - 0x8d], dh
xor bh, al
lea eax, [ebp - 0x93]
mov byte [ebp - 0x8c], bh
jmp 0x10041f17
mov ch, 0x43
mov byte [ebp - 0xbe], 0
mov al, 8
mov byte [ebp - 0xc4], ch
mov cl, 0x22
mov byte [ebp - 0xbe], 0
mov dl, 0x31
mov bl, 0x36
mov ah, 0x30
xor al, ch
xor cl, ch
mov byte [ebp - 0xc3], al
xor dl, ch
mov byte [ebp - 0xc2], cl
xor bl, ch
mov byte [ebp - 0xc1], dl
xor ah, ch
mov byte [ebp - 0xc0], bl
mov byte [ebp - 0xbf], ah
lea eax, [ebp - 0xc3]
push eax
lea ecx, [ebp - 0x58]
call fcn.10005e10
mov ecx, dword [edi + 4]
mov dl, 1
call fcn.100182b0
mov ecx, dword [edi]
xor dl, dl
call fcn.100182b0
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0xbc]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.100028b0
mov byte [ebp - 4], 4
lea edx, [ebp - 0xbc]
mov ecx, dword [edi + 8]
call fcn.10018ac0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xa8]
cmp eax, 0x10
jb 0x10041f78
inc eax
push eax
push dword [ebp - 0xbc]
call fcn.100026b0
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x10041f96
push 4
push ebx
call esi
test eax, eax
jne 0x10041f96
push dword [ebp - 0x84]
mov ecx, ebx
call dword [0x10078638]
mov esi, dword [ebp - 0x80]
mov bh, 0x44
mov ecx, dword [ebp - 0x7c]
mov dl, 0x64
mov bl, 0x6b
xor bl, bh
mov eax, dword [esi + 0x15c]
movzx eax, word [eax + ecx + 0x10]
push eax
mov eax, dword [esi + 0x15c]
movzx eax, word [eax + ecx + 8]
mov cl, 0x20
push eax
mov al, 0x61
mov byte [ebp - 0xd4], 0
mov ah, dl
mov byte [ebp - 0xdc], bh
mov ch, al
mov byte [ebp - 0xd8], bl
mov dh, cl
mov byte [ebp - 0xd4], 0
xor al, bh
xor ah, bh
sub esp, 0x18
mov byte [ebp - 0xdb], al
xor cl, bh
mov byte [ebp - 0xd7], ah
xor ch, bh
mov byte [ebp - 0xda], cl
mov byte [ebp - 0xd6], ch
lea eax, [ebp - 0xdb]
xor dl, bh
xor dh, bh
mov ecx, esp
mov byte [ebp - 0xd9], dl
push eax
mov byte [ebp - 0xd5], dh
call fcn.100028b0
lea eax, [ebp - 0xf4]
push eax
call fcn.10005cc0
add esp, 0x24
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0x10
jb 0x1004203c
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xbc]
call fcn.100028b0
mov byte [ebp - 4], 6
lea edx, [ebp - 0xbc]
mov ecx, dword [edi + 0xc]
call fcn.10018ac0
mov eax, dword [ebp - 0xa8]
cmp eax, 0x10
jb 0x10042072
inc eax
push eax
push dword [ebp - 0xbc]
call fcn.100026b0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xa8], 0xf
mov dword [ebp - 0xac], 0
mov byte [ebp - 0xbc], 0
cmp eax, 0x10
jb 0x100420a9
inc eax
push eax
push dword [ebp - 0xf4]
call fcn.100026b0
mov eax, dword [esi + 0x15c]
mov ebx, dword [ebp - 0x7c]
mov ecx, dword [edi + 0x10]
movzx eax, word [eax + ebx + 0x10]
push eax
call fcn.10018930
mov eax, dword [esi + 0x15c]
add esp, 4
movzx esi, word [ebx + eax + 8]
mov ebx, dword [edi + 0x10]
test ebx, ebx
je 0x10042101
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10042101
sub esp, 0xc
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov ecx, ebx
mov dword [esp + 8], eax
mov dword [esp + 4], eax
movss dword [esp], xmm0
call dword [0x1007861c]
mov ebx, dword [ebp - 0x5c]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10042123
push 4
push ebx
call esi
test eax, eax
jne 0x10042123
push 1
mov ecx, ebx
call dword [0x100785d0]
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x10042135
inc eax
push eax
push dword [ebp - 0x40]
call fcn.100026b0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
cmp eax, 0x10
jb 0x1004217a
inc eax
push eax
push dword [ebp - 0x58]
call fcn.100026b0
jmp 0x1004217a
mov ebx, dword [edx]
test ebx, ebx
je 0x1004217a
push 4
push ebx
call esi
test eax, eax
jne 0x1004217a
push eax
mov ecx, ebx
call dword [0x100785d0]
add dword [ebp - 0x5c], 4
add edi, 0x14
add dword [ebp - 0x7c], 2
sub dword [ebp - 0x88], 1
mov edx, dword [ebp - 0x5c]
jne 0x10041ce0
mov ecx, dword [ebp - 0x80]
mov ebx, dword [ebp - 0x68]
add ebx, 0x34
mov dword [ebp - 0x84], 5
mov dword [ebp - 0x88], ebx
lea edx, [ecx + 0x94]
lea esi, [ecx + 0xf8]
mov dword [ebp - 0x5c], edx
nop dword [eax]
mov eax, dword [ecx + 0x15c]
mov edi, dword [ebx + eax - 0x14]
mov eax, dword [ebx + eax]
mov dword [ebp - 0x68], eax
lea eax, [edi - 1]
cmp eax, 0x5f5e0fe
ja 0x10042271
mov edi, 0x35a4f8a0
mov eax, 0x10624dd3
mov ecx, 0xd78ae8
mul edi
shr edx, 6
imul eax, edx, 0x3e8
push eax
call fcn.10018d90
mov ecx, eax
call dword [0x1007857c]
mov edx, dword [ebp - 0x5c]
mov ebx, eax
test ebx, ebx
je 0x100423b3
push 0
lea eax, [ebp - 0x6f]
mov word [ebp - 0x70], 0x4b
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x6f], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.100027b0
mov dword [ebp - 4], 7
mov edx, edi
mov cl, byte [ebx + 4]
call fcn.1000f000
mov dword [ebp - 0x64], eax
test eax, eax
je 0x1004227d
cmp dword [eax + 0x48], 0
je 0x1004227d
push edi
push eax
xor edx, edx
lea ecx, [ebp - 0xf4]
call fcn.1000f290
add esp, 8
mov edi, eax
jmp 0x10042292
test edi, edi
jne 0x100421e3
xor ebx, ebx
jmp 0x1004220b
push edi
push 0
mov edx, ebx
lea ecx, [ebp - 0xf4]
call fcn.1000f290
add esp, 8
mov edi, eax
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x100422c6
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x100422ab
inc eax
push eax
push dword [ebp - 0x28]
call fcn.100026b0
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10005bd0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xe0]
cmp eax, 0x10
jb 0x100422e2
inc eax
push eax
push dword [ebp - 0xf4]
call fcn.100026b0
mov ecx, dword [esi]
test ecx, ecx
je 0x10042354
add ecx, 4
lea edx, [ebp - 0x28]
call fcn.10015130
mov eax, dword [esi]
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x68]
mov dword [eax + 0x50], ebx
mov eax, dword [esi]
mov dword [eax + 0x54], ecx
mov eax, dword [esi]
mov dword [eax + 0x58], edx
test ecx, ecx
je 0x10042318
movsx ecx, word [ecx + 0x56]
movsx eax, word [ebx + 0x66]
add ecx, eax
jmp 0x1004231c
movsx ecx, word [ebx + 0x66]
mov eax, dword [esi]
mov dword [eax + 0x5c], ecx
mov eax, dword [esi]
mov ecx, dword [eax]
test ecx, ecx
je 0x10042354
lea edx, [ebp - 0x28]
call fcn.10018730
mov eax, dword [esi]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov edi, dword [eax]
test edi, edi
je 0x1004235a
push 4
push edi
call ebx
test eax, eax
jne 0x1004235a
push 1
mov ecx, edi
call dword [0x100785d0]
jmp 0x1004235a
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov edi, dword [esi + 4]
test edi, edi
je 0x10042375
push 4
push edi
call ebx
test eax, eax
jne 0x10042375
push dword [ebp - 0x68]
mov ecx, edi
call dword [0x10078634]
mov edi, dword [ebp - 0x5c]
mov edi, dword [edi]
test edi, edi
je 0x10042391
push 4
push edi
call ebx
test eax, eax
jne 0x10042391
push 1
mov ecx, edi
call dword [0x100785d0]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10042511
inc eax
push eax
push dword [ebp - 0x28]
call fcn.100026b0
jmp 0x10042511
mov edi, dword [edx]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test edi, edi
je 0x100423d1
push 4
push edi
call ebx
test eax, eax
jne 0x100423d1
push eax
mov ecx, edi
call dword [0x100785d0]
mov edi, dword [esi + 4]
test edi, edi
je 0x100423ea
push 4
push edi
call ebx
test eax, eax
jne 0x100423ea
push eax
mov ecx, edi
call dword [0x10078634]
cmp dword [esi], 0
je 0x10042511
push 0
lea eax, [ebp - 0x73]
mov word [ebp - 0x74], 0x22
push eax
lea ecx, [ebp - 0xbc]
mov byte [ebp - 0x73], 0
mov dword [ebp - 0xa8], 0xf
mov dword [ebp - 0xac], 0
mov byte [ebp - 0xbc], 0
call fcn.100027b0
mov dword [ebp - 4], 0xa
lea edx, [ebp - 0xbc]
mov ecx, dword [esi]
add ecx, 4
call fcn.10015130
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xa8]
cmp eax, 0x10
jb 0x1004245f
inc eax
push eax
push dword [ebp - 0xbc]
call fcn.100026b0
mov eax, dword [esi]
mov dword [eax + 0x50], 0
mov eax, dword [esi]
mov dword [eax + 0x54], 0
mov eax, dword [esi]
mov dword [eax + 0x58], 0
mov eax, dword [esi]
mov dword [eax + 0x5c], 0
mov eax, dword [esi]
cmp dword [eax], 0
je 0x10042511
lea eax, [ebp - 0x77]
mov word [ebp - 0x78], 0x5a
push eax
lea ecx, [ebp - 0x10c]
mov byte [ebp - 0x77], 0
call fcn.100028b0
mov dword [ebp - 4], 0xb
lea edx, [ebp - 0x10c]
mov ecx, dword [esi]
mov ecx, dword [ecx]
call fcn.10018730
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xf8]
cmp eax, 0x10
jb 0x100424dc
inc eax
push eax
push dword [ebp - 0x10c]
call fcn.100026b0
mov eax, dword [esi]
mov dword [ebp - 0xf8], 0xf
mov dword [ebp - 0xfc], 0
mov byte [ebp - 0x10c], 0
mov edi, dword [eax]
test edi, edi
je 0x10042511
push 4
push edi
call ebx
test eax, eax
jne 0x10042511
push eax
mov ecx, edi
call dword [0x100785d0]
mov ebx, dword [ebp - 0x88]
add esi, 0xc
mov edx, dword [ebp - 0x5c]
add ebx, 4
mov ecx, dword [ebp - 0x80]
add edx, 4
sub dword [ebp - 0x84], 1
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x5c], edx
jne 0x100421c0
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov ebx, ecx
mov edi, dword [ebp + 8]
mov al, byte [ebp - 0x5d]
add al, 1
mov byte [ebp - 0x5d], al
cmp al, 4
jb 0x10041af0
mov al, 1
jmp 0x1004255d
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10067dd5
mov esp, ebp
pop ebp
ret 8