Function at 0x10043af0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10088f35
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x100a7078]
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 edi, ecx
mov eax, dword [edi + 0x15c]
cmp eax, dword [edi + 0x160]
je 0x10044450
mov ecx, dword [edi + 0x160]
sub ecx, eax
mov dword [ebp - 0x58], 0
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jle 0x1004401a
mov ebx, dword [ebp + 8]
xor esi, esi
xor ecx, ecx
mov eax, dword [edi + 0x15c]
cmp dword [esi + eax + 0x18], ebx
je 0x10043b99
inc ecx
add esi, 0x68
mov dword [ebp - 0x58], ecx
mov ecx, dword [edi + 0x160]
sub ecx, eax
mov eax, 0x4ec4ec4f
imul ecx
mov ecx, dword [ebp - 0x58]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jl 0x10043b61
jmp 0x1004401a
imul edx, ecx, 0x68
mov ebx, 4
mov ecx, eax
mov al, byte [ebp + 0xc]
mov dword [ebp - 0x98], edx
mov byte [ecx + edx + 0x64], al
lea esi, [edx + 0x58]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
sub eax, edx
mov dword [ebp + 0x10], eax
nop
mov ecx, dword [edi + 0x15c]
lea edx, [edx + 2]
movzx eax, word [eax + edx - 2]
lea esi, [esi + 2]
mov word [esi + ecx - 0xa], ax
mov ecx, dword [edi + 0x15c]
movzx eax, word [edx - 2]
mov word [esi + ecx - 2], ax
mov eax, dword [ebp + 0x10]
sub ebx, 1
jne 0x10043bc0
mov eax, dword [ebp + 8]
cmp eax, dword [edi + 0x144]
jne 0x1004401a
lea ebx, [edi + 0xb4]
mov dword [ebp - 0x94], 0xffffffff
lea esi, [edi + 0x84]
mov dword [ebp - 0x5c], 0
mov eax, 4
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x54], eax
nop word [eax + eax]
mov esi, dword [esi]
test esi, esi
je 0x10043ffc
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10043ff9
push 4
add esi, 0xfc
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10043ff9
mov al, byte [esi]
test al, al
je 0x10043ff9
mov eax, dword [edi + 0x15c]
mov ecx, dword [ebp - 0x98]
cmp byte [ecx + eax + 0x64], 2
jne 0x10043d57
movaps xmm0, xmmword [0x1009ea80]
xor ecx, ecx
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0x64627f6a
mov word [ebp - 0x3c], 0x5665
mov byte [ebp - 0x3a], 0
mov al, byte [ebp - 0x50]
xor byte [ebp + ecx - 0x4f], al
inc ecx
cmp ecx, 0x15
jb 0x10043ca1
cmp byte [ebp - 0x4f], 0
mov byte [ebp - 0x3a], 0
mov dword [ebp - 0x78], 0xf
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x8c], 0
jne 0x10043cd1
xor ecx, ecx
jmp 0x10043ce0
lea ecx, [ebp - 0x4f]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10043cd7
sub ecx, edx
push ecx
lea eax, [ebp - 0x4f]
push eax
lea ecx, [ebp - 0x8c]
call fcn.10002770
mov dword [ebp - 4], 0
lea edx, [ebp - 0x8c]
mov ecx, dword [edi + 0x7c]
call fcn.10019110
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x78]
cmp eax, 0x10
jb 0x10043d27
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.10002650
mov esi, dword [edi + 0x7c]
test esi, esi
je 0x10043d48
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10043d48
push 0xff5cb9fe
mov ecx, esi
call dword [0x1009d3bc]
mov dword [ebp - 0x94], 0xff808080
jmp 0x10043e21
mov cl, 0x4e
mov dword [ebp - 0x38], 0x201b154e
mov dword [ebp - 0x34], 0x6e3c2b2a
xor eax, eax
mov dword [ebp - 0x30], 0x13372f39
mov byte [ebp - 0x2c], 0
xor byte [ebp + eax - 0x37], cl
inc eax
cmp eax, 0xb
jae 0x10043d83
mov cl, byte [ebp - 0x38]
jmp 0x10043d74
cmp byte [ebp - 0x37], 0
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x78], 0xf
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x8c], 0
jne 0x10043da6
xor ecx, ecx
jmp 0x10043db9
lea ecx, [ebp - 0x37]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10043db0
sub ecx, edx
push ecx
lea eax, [ebp - 0x37]
push eax
lea ecx, [ebp - 0x8c]
call fcn.10002770
mov dword [ebp - 4], 1
lea edx, [ebp - 0x8c]
mov ecx, dword [edi + 0x7c]
call fcn.10019110
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x78]
cmp eax, 0x10
jb 0x10043e00
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.10002650
mov esi, dword [edi + 0x7c]
test esi, esi
je 0x10043e21
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10043e21
push 0xffc4fc03
mov ecx, esi
call dword [0x1009d3bc]
mov esi, dword [ebx - 4]
test esi, esi
je 0x10043e43
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10043e43
push dword [ebp - 0x94]
mov ecx, esi
call dword [0x1009d3bc]
imul edx, dword [ebp - 0x58], 0x34
mov ebx, dword [ebp - 0x5c]
mov eax, dword [edi + 0x15c]
lea ecx, [edx + ebx]
movzx eax, word [eax + ecx*2 + 0x58]
lea ecx, [edx + ebx]
push eax
mov eax, dword [edi + 0x15c]
mov bh, 0x29
mov dword [ebp - 0x90], ecx
mov dl, 9
mov bl, 6
xor bl, bh
movzx eax, word [eax + ecx*2 + 0x50]
mov cl, 0x4d
push eax
mov dh, cl
mov byte [ebp - 0x68], 0
mov ah, dl
mov byte [ebp - 0x70], bh
xor dl, bh
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6d], dl
xor dh, bh
mov byte [ebp - 0x69], dh
mov al, 0xc
sub esp, 0x18
mov byte [ebp - 0x68], 0
mov edx, esp
mov ch, al
xor al, bh
xor cl, bh
mov byte [ebp - 0x6f], al
xor ah, bh
mov byte [ebp - 0x6e], cl
xor ch, bh
mov byte [ebp - 0x6b], ah
mov byte [ebp - 0x6a], ch
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x10043ed7
mov eax, dword [edx]
jmp 0x10043ed9
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x6f], 0
jne 0x10043ee6
xor ecx, ecx
jmp 0x10043ef9
lea ecx, [ebp - 0x6f]
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10043ef0
sub ecx, esi
push ecx
lea eax, [ebp - 0x6f]
mov ecx, edx
push eax
call fcn.10002770
lea eax, [ebp - 0x8c]
push eax
call fcn.100295c0
add esp, 0x24
mov edx, eax
mov dword [ebp - 4], 2
cmp dword [edx + 0x14], 0x10
jb 0x10043f25
mov edx, dword [edx]
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
cmp byte [edx], 0
jne 0x10043f40
xor ecx, ecx
jmp 0x10043f4e
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10043f45
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.10002770
mov ebx, dword [ebp - 0x60]
lea edx, [ebp - 0x50]
mov byte [ebp - 4], 3
mov ecx, dword [ebx]
call fcn.10019110
mov eax, dword [ebp - 0x3c]
cmp eax, 0x10
jb 0x10043f7e
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.10002650
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
cmp eax, 0x10
jb 0x10043fb2
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.10002650
mov eax, dword [edi + 0x15c]
mov ecx, dword [ebp - 0x90]
mov ebx, dword [ebx + 4]
movzx esi, word [eax + ecx*2 + 0x50]
test ebx, ebx
je 0x10043ff6
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10043ff6
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 [0x1009d3a0]
mov ebx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x54]
mov esi, dword [ebp - 0x64]
add ebx, 0x14
inc dword [ebp - 0x5c]
add esi, 4
sub eax, 1
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x54], eax
jne 0x10043c30
mov ecx, dword [edi + 0x148]
shl ecx, 2
mov dword [ebp - 0x90], ecx
lea eax, [ecx - 4]
mov dword [ebp - 0x58], eax
cmp eax, ecx
jge 0x10044450
imul ebx, eax, 0x68
lea esi, [edi + 0xc]
nop dword [eax]
mov ecx, dword [edi + 0x160]
mov eax, 0x4ec4ec4f
sub ecx, dword [edi + 0x15c]
add esi, 0x18
imul ecx
mov dword [ebp - 0x5c], esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
dec eax
add eax, edx
cmp dword [ebp - 0x58], eax
jg 0x10044450
mov eax, dword [edi + 0x15c]
lea ecx, [ebp - 0x28]
push 0xffffffffffffffff
add eax, ebx
mov dword [ebp - 0x64], 0xffc4fc03
push 0
push eax
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10002330
mov dword [ebp - 4], 4
mov eax, dword [edi + 0x15c]
cmp byte [eax + ebx + 0x64], 2
jne 0x10044110
movaps xmm0, xmmword [0x1009def0]
xor ecx, ecx
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0x1c011406
mov dword [ebp - 0x3c], 0x281b1a
nop word [eax + eax]
mov al, byte [ebp - 0x50]
xor byte [ebp + ecx - 0x4f], al
inc ecx
cmp ecx, 0x16
jb 0x100440d0
cmp byte [ebp - 0x4f], 0
mov byte [ebp - 0x39], 0
jne 0x100440eb
xor ecx, ecx
jmp 0x100440fa
lea ecx, [ebp - 0x4f]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100440f1
sub ecx, edx
push ecx
lea eax, [ebp - 0x4f]
push eax
lea ecx, [ebp - 0x28]
call fcn.100092c0
mov dword [ebp - 0x64], 0xff5cb9fe
jmp 0x10044169
mov cl, 0x3d
mov dword [ebp - 0x38], 0x68661d3d
mov dword [ebp - 0x34], 0x4f585953
xor eax, eax
mov dword [ebp - 0x30], 0x445c4a1d
mov word [ebp - 0x2c], 0x60
nop
xor byte [ebp + eax - 0x37], cl
inc eax
cmp eax, 0xc
jae 0x1004413f
mov cl, byte [ebp - 0x38]
jmp 0x10044130
cmp byte [ebp - 0x37], 0
mov byte [ebp - 0x2b], 0
jne 0x1004414d
xor ecx, ecx
jmp 0x1004415c
lea ecx, [ebp - 0x37]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10044153
sub ecx, edx
push ecx
lea eax, [ebp - 0x37]
push eax
lea ecx, [ebp - 0x28]
call fcn.100092c0
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
mov dword [ebp - 0x78], 0xf
cmovae edx, dword [ebp - 0x28]
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x8c], 0
cmp byte [edx], 0
jne 0x10044192
xor ecx, ecx
jmp 0x100441a3
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10044197
sub ecx, esi
mov esi, dword [ebp - 0x5c]
push ecx
push edx
lea ecx, [ebp - 0x8c]
call fcn.10002770
mov byte [ebp - 4], 5
lea edx, [ebp - 0x8c]
mov ecx, dword [esi]
call fcn.10019110
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x78]
cmp eax, 0x10
jb 0x100441e0
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.10002650
mov esi, dword [esi]
test esi, esi
je 0x100441fe
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100441fe
push dword [ebp - 0x64]
mov ecx, esi
call dword [0x1009d3bc]
mov eax, dword [edi + 0x15c]
xor ecx, ecx
movaps xmm0, xmmword [str.D_b_2__dda_dkda]
movzx eax, byte [eax + ebx + 0x62]
push eax
mov eax, dword [edi + 0x15c]
movzx eax, byte [eax + ebx + 0x61]
push eax
movups xmmword [ebp - 0x74], xmm0
mov al, byte [ebp - 0x74]
xor byte [ebp + ecx - 0x73], al
inc ecx
cmp ecx, 0xe
jb 0x10044223
sub esp, 0x18
mov byte [ebp - 0x65], 0
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x1004425f
mov eax, dword [edx]
jmp 0x10044261
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x73], 0
jne 0x1004426e
xor ecx, ecx
jmp 0x1004427d
lea ecx, [ebp - 0x73]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10044274
sub ecx, esi
push ecx
lea eax, [ebp - 0x73]
mov ecx, edx
push eax
call fcn.10002770
lea eax, [ebp - 0xcc]
push eax
call fcn.100295c0
add esp, 0x24
mov edx, eax
mov byte [ebp - 4], 6
cmp dword [edx + 0x14], 0x10
jb 0x100442a6
mov edx, dword [edx]
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
cmp byte [edx], 0
jne 0x100442c1
xor ecx, ecx
jmp 0x100442cf
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100442c6
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.10002770
mov esi, dword [ebp - 0x5c]
lea edx, [ebp - 0x50]
mov byte [ebp - 4], 7
mov ecx, dword [esi - 4]
call fcn.10019110
mov eax, dword [ebp - 0x3c]
cmp eax, 0x10
jb 0x10044300
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.10002650
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
cmp eax, 0x10
jb 0x10044334
inc eax
lea ecx, [ebp - 0xcc]
push eax
push dword [ebp - 0xcc]
call fcn.10002650
mov eax, dword [edi + 0x15c]
lea ecx, [ebp - 0xcc]
movzx edx, byte [eax + ebx + 0x63]
call fcn.1003d7d0
mov edx, eax
mov byte [ebp - 4], 8
cmp dword [edx + 0x14], 0x10
jb 0x10044358
mov edx, dword [edx]
mov dword [ebp - 0xa0], 0xf
mov dword [ebp - 0xa4], 0
mov byte [ebp - 0xb4], 0
cmp byte [edx], 0
jne 0x1004437c
xor ecx, ecx
jmp 0x1004438d
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10044381
sub ecx, esi
mov esi, dword [ebp - 0x5c]
push ecx
push edx
lea ecx, [ebp - 0xb4]
call fcn.10002770
mov byte [ebp - 4], 9
lea edx, [ebp - 0xb4]
mov ecx, dword [esi + 8]
call fcn.10019110
mov eax, dword [ebp - 0xa0]
cmp eax, 0x10
jb 0x100443ca
inc eax
lea ecx, [ebp - 0xb4]
push eax
push dword [ebp - 0xb4]
call fcn.10002650
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xa0], 0xf
mov dword [ebp - 0xa4], 0
mov byte [ebp - 0xb4], 0
cmp eax, 0x10
jb 0x10044403
inc eax
lea ecx, [ebp - 0xcc]
push eax
push dword [ebp - 0xcc]
call fcn.10002650
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xb8], 0xf
mov dword [ebp - 0xbc], 0
mov byte [ebp - 0xcc], 0
cmp eax, 0x10
jb 0x1004443a
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10002650
mov eax, dword [ebp - 0x58]
add ebx, 0x68
inc eax
mov dword [ebp - 0x58], eax
cmp eax, dword [ebp - 0x90]
jl 0x10044040
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.10067955
mov esp, ebp
pop ebp
ret 0x10