Function at 0x4372b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
mov dword [esp + 0x18], ecx
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x28], 0x100000
mov dword [esp + 0x20], 0
mov dword [esp], 0x14151a1b
mov dword [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x86
xor cl, byte [esp + eax]
add cl, 0x62
mov byte [esp + eax], cl
inc eax
cmp eax, 8
jne 0x437310
mov eax, dword [esp]
mov ecx, dword [0x44a87c]
test ecx, ecx
je 0x43737e
xor edx, edx
mov esi, dword [0x44a880]
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x3e416e49
je 0x437350
inc edx
cmp ecx, edx
jne 0x437340
jmp 0x43737e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43737e
lea eax, [esp + 0x28]
lea edx, [esp + 0x20]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 0x18
push ecx
push dword [0x44a884]
call fcn.004395d0
add esp, 0x24
test eax, eax
js 0x4379a6
mov eax, dword [esp + 0x18]
cmp dword [eax + 4], 0
je 0x437930
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp], 0x23232120
mov word [esp + 4], 0
xor ecx, ecx
nop
nop
nop
nop
nop
mov edx, ecx
add dl, 0x88
xor dl, byte [esp + ecx]
add dl, 0x58
mov byte [esp + ecx], dl
inc ecx
cmp ecx, 6
jne 0x4373e0
mov dword [esp + 0x2c], 0x7fff
cmp eax, 2
je 0x437409
mov dword [esp + 0x2c], 0
mov eax, 0xfffeffff
je 0x437415
mov eax, SysReAllocString
mov edx, dword [esp]
mov ecx, edx
sar ecx, 0x1f
mov dword [esp + 0x14], eax
cmp edx, eax
mov dword [esp + 0x24], ecx
mov eax, ecx
sbb eax, dword [esp + 0x2c]
jae 0x4378d4
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], 0
nop
nop
nop
nop
nop
mov dword [esp + 0x30], edx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x34]
push edx
call fcn.00436e40
mov edx, dword [esp + 0x30]
cmp eax, 0xbfffffff
ja 0x4378d4
test eax, eax
js 0x4378b0
cmp dword [esp + 0x58], 0x1000
jne 0x4378b0
test byte [esp + 0x54], 0x66
je 0x4378b0
mov esi, dword [esp + 0x38]
cmp dword [esp + 0x28], esi
mov ebx, dword [esp + 0x3c]
mov eax, 0
sbb eax, ebx
jae 0x4375da
mov dword [esp], 0x14151a1b
mov dword [esp + 4], 0
xor eax, eax
mov ecx, eax
add cl, 0x86
xor cl, byte [esp + eax]
add cl, 0x62
mov byte [esp + eax], cl
inc eax
cmp eax, 8
jne 0x4374d0
mov eax, dword [0x44a87c]
test eax, eax
je 0x43753a
mov ecx, dword [esp]
xor edx, edx
mov edi, dword [0x44a880]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x16194952
je 0x437510
inc edx
cmp eax, edx
jne 0x437500
jmp 0x43753a
mov eax, dword [edi + edx*8 + 4]
cmp eax, ecx
je 0x43753a
push 0x8000
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x28]
push ecx
push 0xffffffffffffffff
push 0x10
push eax
push dword [0x44a884]
call fcn.004395d0
add esp, 0x1c
mov dword [esp + 0x34], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], esi
mov dword [esp], 0x14151a1b
mov dword [esp + 4], 0
xor eax, eax
nop
mov ecx, eax
add cl, 0x86
xor cl, byte [esp + eax]
add cl, 0x62
mov byte [esp + eax], cl
inc eax
cmp eax, 8
jne 0x437560
mov eax, dword [esp]
mov ecx, dword [0x44a87c]
test ecx, ecx
je 0x4375ce
xor edx, edx
mov edi, dword [0x44a880]
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x3e416e49
je 0x4375a0
inc edx
cmp ecx, edx
jne 0x437590
jmp 0x4375ce
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x4375ce
push 4
push 0x3000
lea eax, [esp + 0x30]
push eax
push 0
lea eax, [esp + 0x30]
push eax
push 0xffffffffffffffff
push 0x18
push ecx
push dword [0x44a884]
call fcn.004395d0
add esp, 0x24
test eax, eax
mov edx, dword [esp + 0x30]
js 0x4378d4
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x70]
push eax
push ebx
push esi
push dword [esp + 0x2c]
push dword [esp + 0x34]
push edx
call fcn.00437160
test eax, eax
jns 0x437602
cmp eax, 0x8000000d
jne 0x4378b0
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov edx, dword [ebp + 0x10]
cmp eax, edx
sbb ecx, 0
jb 0x4378b0
push dword [ebp + 0x14]
push edx
push dword [ebp + 0xc]
push eax
push dword [esp + 0x30]
lea eax, [esp + 0x14]
push eax
call fcn.00437a00
add esp, 0x18
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [esp + 0x50], ecx
cmp eax, ecx
mov edx, dword [esp + 0x10]
je 0x437885
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x1c]
jmp 0x437681
mov edx, edi
mov eax, dword [esp + 0x68]
mov dword [edx + ebx], eax
mov dword [edx + ebx + 4], esi
add ecx, 8
mov eax, dword [esp + 0x6c]
add eax, 4
cmp eax, dword [esp + 0x50]
je 0x437848
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x6c], eax
mov esi, dword [eax]
sub esi, dword [esp + 0x20]
mov ebx, esi
sar ebx, 0x1f
mov edx, dword [esp + 0x30]
mov ecx, edx
and ecx, esi
mov edi, dword [esp + 0x24]
mov eax, edi
and eax, ebx
shld eax, ecx, 1
add ecx, ecx
xor ebx, edi
xor esi, edx
add esi, ecx
mov dword [esp + 0x68], esi
mov ecx, dword [esp + 0x1c]
adc ebx, eax
mov esi, ebx
mov ebx, ecx
mov eax, dword [esp + 0x10]
mov edi, eax
sub ebx, eax
cmp ecx, dword [esp + 0xc]
jne 0x437660
mov dword [esp + 0x64], esi
mov ecx, ebx
sar ecx, 3
lea eax, [ecx + 1]
mov esi, ecx
shr esi, 1
add esi, ecx
cmp esi, eax
ja 0x4376e8
mov esi, eax
mov eax, esi
and eax, 0xfffffff7
mov ecx, esi
and ecx, 8
mov edx, esi
or edx, 8
imul edx, ecx
xor ecx, 8
imul ecx, eax
add edx, ecx
push edx
call fcn.00408740
add esp, 4
mov ecx, eax
test edi, edi
je 0x437834
mov edx, edi
mov dword [esp + 0x60], esi
cmp ecx, edi
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x4c], ecx
jbe 0x4377df
cmp eax, ecx
jbe 0x4377df
test ebx, ebx
je 0x43781c
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
lea eax, [ebx + edx]
dec eax
mov ecx, dword [esp + 0x4c]
add ecx, edx
dec ecx
mov edi, edx
and edi, 7
je 0x437778
neg edi
xor edx, edx
nop
nop
nop
movzx ebx, byte [eax + edx]
mov byte [ecx + edx], bl
dec edx
cmp edi, edx
jne 0x437760
add eax, edx
add ecx, edx
add edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov edi, ebx
sub edi, dword [esp + 0x1c]
cmp edi, 0xfffffff8
ja 0x43781c
neg edx
xor edi, edi
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edi]
mov byte [ecx + edi], bl
movzx ebx, byte [eax + edi - 1]
mov byte [ecx + edi - 1], bl
movzx ebx, byte [eax + edi - 2]
mov byte [ecx + edi - 2], bl
movzx ebx, byte [eax + edi - 3]
mov byte [ecx + edi - 3], bl
movzx ebx, byte [eax + edi - 4]
mov byte [ecx + edi - 4], bl
movzx ebx, byte [eax + edi - 5]
mov byte [ecx + edi - 5], bl
movzx ebx, byte [eax + edi - 6]
mov byte [ecx + edi - 6], bl
movzx ebx, byte [eax + edi - 7]
mov byte [ecx + edi - 7], bl
add edi, 0xfffffff8
cmp edx, edi
jne 0x437790
jmp 0x43781c
mov esi, ecx
mov ecx, ebx
shr ecx, 2
mov eax, edx
mov edi, esi
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, edx
mov edx, ebx
and edx, 0xfffffffc
add esi, edx
add edx, eax
mov ecx, ebx
shr ecx, 1
and ecx, 1
mov eax, edx
mov edi, esi
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
test bl, 1
je 0x43781c
mov eax, dword [esp + 0xc]
and eax, 2
movzx ecx, byte [edx + eax]
mov byte [esi + eax], cl
push dword [esp + 0x10]
call fcn.00408750
add esp, 4
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 0x60]
mov ecx, dword [esp + 0x4c]
lea eax, [ecx + esi*8]
mov dword [esp + 0xc], eax
mov edx, ecx
add ecx, ebx
mov esi, dword [esp + 0x64]
jmp 0x437662
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
mov edi, edx
mov dword [eax], edx
mov edx, dword [esp + 0xc]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4378a0
mov dword [esp + 0x1c], ecx
cmp eax, dword [esp + 0x50]
mov esi, dword [esp + 0x14]
je 0x43789a
mov dword [esp + 0x10], edi
push eax
call fcn.00408750
add esp, 4
mov dword [esp], 0
jmp 0x4378b4
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
mov dword [eax], edx
mov ecx, dword [esp + 0xc]
mov dword [eax + 8], ecx
jmp 0x4378b0
mov dword [esp + 0x10], edi
jmp 0x4378b4
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], edi
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
add edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
adc eax, dword [esp + 0x44]
cmp edx, esi
mov dword [esp + 0x24], eax
sbb eax, dword [esp + 0x2c]
jb 0x437450
mov dword [esp], 0x14151a1b
mov dword [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x86
xor cl, byte [esp + eax]
add cl, 0x62
mov byte [esp + eax], cl
inc eax
cmp eax, 8
jne 0x4378f0
mov eax, dword [0x44a87c]
test eax, eax
je 0x4379a6
mov ecx, dword [esp]
xor edx, edx
mov esi, dword [0x44a880]
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x16194952
je 0x43797c
inc edx
cmp eax, edx
jne 0x437920
jmp 0x4379a6
push 0xbbf966b4
push dword [0x44a870]
call fcn.0043c370
add esp, 8
test eax, eax
je 0x4379b3
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx]
test ecx, ecx
je 0x437394
mov dword [esp], 0
mov edx, esp
push edx
push ecx
call eax
test eax, eax
je 0x4379c3
cmp dword [esp], 0
je 0x4379c3
mov eax, dword [esp + 0x18]
mov dword [eax + 4], 3
jmp 0x437394
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x4379a6
lea ecx, [esp + 0x34]
lea edx, [esp + 0x20]
push 0x8000
push ecx
push edx
push 0xffffffffffffffff
push 0x10
push eax
push dword [0x44a884]
call fcn.004395d0
add esp, 0x1c
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
mov eax, dword [esp + 0x18]
mov dword [eax + 4], 1
jmp 0x437394
lea eax, [esp + 0x40]
push eax
call fcn.0043cb50
add esp, 4
test al, al
je 0x437394
mov eax, dword [esp + 0x40]
mov ecx, 2
cmp eax, 3
je 0x4379e8
mov ecx, eax
mov eax, dword [esp + 0x18]
mov dword [eax + 4], ecx
jmp 0x437394