Function at 0x441310
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
push ebx
push ebp
mov ebp, dword [esp + 0x30]
mov edx, dword [ebp]
test dword [edx + 0x18], 0x4000000
movzx eax, byte [ebp + 0x1c2]
push esi
push edi
mov dword [esp + 0x38], edx
mov dword [esp + 0x28], eax
je 0x4418a0
mov ecx, dword [esp + 0x3c]
mov edi, dword [ecx + 0x44]
test edi, edi
mov dword [esp + 0x10], 0xfff0bdc0
je 0x441378
mov ecx, dword [edx + 0x14]
test ecx, ecx
mov dword [esp + 0x10], 0
jle 0x441378
mov eax, dword [edx + 0x10]
add eax, 0xc
cmp dword [eax], edi
je 0x441378
mov esi, dword [esp + 0x10]
add esi, 1
add eax, 0x10
cmp esi, ecx
mov dword [esp + 0x10], esi
jl 0x441362
mov eax, dword [esp + 0x10]
mov ecx, dword [edx + 0x10]
shl eax, 4
mov eax, dword [eax + ecx]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [ecx + 0x24]
test ebx, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], ebx
je 0x441526
jmp 0x4413a8
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
xor eax, eax
cmp byte [ebp + 0x1c2], al
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
je 0x4413d5
mov eax, dword [esp + 0x24]
mov ecx, dword [ebx + 8]
push eax
push ecx
push edx
call fcn.004375e0
add esp, 0xc
jmp 0x441591
mov esi, dword [ebp]
cmp byte [esi + 0x7d], 0
mov edi, dword [ebx + 8]
jne 0x441541
lea edx, [ebp + 4]
push edx
call fcn.004497f0
add esp, 4
test eax, eax
je 0x441541
add dword [ebp + 0x44], 1
mov dword [ebp + 0xc], eax
xor esi, esi
cmp dword [esp + 0x28], 0
je 0x4418a0
mov ecx, dword [esp + 0x38]
cmp byte [ecx + 0x36], 0
jne 0x4418a0
test esi, esi
jne 0x441517
mov edi, dword [ebp + 8]
test edi, edi
jne 0x441448
mov eax, dword [ebp]
call fcn.00421a40
mov edi, eax
test edi, edi
mov dword [ebp + 8], eax
je 0x441448
push 0x94
call fcn.00421ba0
add esp, 4
mov eax, dword [ebx + 0x14]
test eax, eax
mov edx, dword [edi + 0x1c]
lea ecx, [eax + edx + 1]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], 0
jle 0x4414d5
add ebx, 0x24
mov dword [esp + 0x1c], ebx
lea esp, [esp]
mov esi, dword [edi + 0x1c]
cmp dword [edi + 0x20], esi
mov edx, dword [ebx]
mov eax, dword [esp + 0x40]
lea ebx, [edx + eax + 1]
jg 0x44148b
call fcn.00421ac0
test eax, eax
jne 0x4414b4
mov edx, dword [edi + 4]
add dword [edi + 0x1c], 1
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x49
mov byte [eax + 3], 0
mov dword [eax + 4], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
add eax, 1
add ebx, 8
cmp eax, dword [edx + 0x14]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ebx
jl 0x441470
mov ebx, edx
mov esi, dword [edi + 0x1c]
cmp dword [edi + 0x20], esi
movzx ebx, byte [ebx + 0x18]
jg 0x4414ea
call fcn.00421ac0
test eax, eax
jne 0x441513
mov ecx, dword [edi + 4]
add dword [edi + 0x1c], 1
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov byte [eax], 0x75
mov byte [eax + 3], 0
mov dword [eax + 4], ebx
mov dword [eax + 8], 0xffffffff
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov ebx, dword [esp + 0x14]
mov ebx, dword [ebx + 4]
test ebx, ebx
mov dword [esp + 0x14], ebx
jne 0x4413a0
mov edx, dword [esp + 0x3c]
mov edi, dword [edx]
test edi, edi
mov eax, edi
jne 0x4416c1
xor esi, esi
mov dword [esp + 0x24], esi
jmp 0x4416db
mov esi, dword [esp + 0x24]
mov eax, dword [ebp]
push esi
push edi
push eax
call fcn.004375e0
add esp, 0xc
test eax, eax
mov dword [esp + 0x2c], eax
jne 0x441591
test esi, esi
push edi
mov edi, ebp
je 0x441577
push esi
push str.no_such_table
push str._s:__s._s
call fcn.00408e60
add esp, 0x10
jmp 0x441589
push str.no_such_table
push str._s:__s
call fcn.00408e60
add esp, 0xc
mov eax, dword [esp + 0x2c]
mov byte [ebp + 0x11], 1
mov esi, eax
test esi, esi
je 0x441402
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
push ebx
push esi
push ebp
call fcn.00440110
add esp, 0x14
test eax, eax
jne 0x441402
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4415c6
mov dword [esp + 0x14], eax
jmp 0x4415d7
mov eax, dword [ebx + 0x24]
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], ecx
mov eax, ecx
xor edi, edi
cmp dword [ebx + 0x14], edi
jle 0x441647
mov edi, edi
mov edx, dword [eax + edi*4]
mov ecx, dword [esp + 0x3c]
cmp edx, dword [ecx + 4]
jne 0x4415f3
mov dword [eax + edi*4], 0xffffffff
mov edx, dword [esp + 0x38]
cmp dword [edx + 0x10c], 0
je 0x44163f
mov eax, dword [esp + 0x18]
test eax, eax
je 0x441610
mov eax, dword [eax + 4]
mov eax, dword [eax + edi*4]
jmp 0x441613
mov eax, dword [esi + 4]
mov edx, dword [esi + 0xc]
lea ecx, [eax + eax*2]
mov eax, dword [edx + ecx*8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esi]
push ecx
push eax
push edx
mov eax, ebp
call fcn.00436e90
xor ecx, ecx
add esp, 0xc
cmp eax, 2
mov eax, dword [esp + 0x14]
sete cl
mov dword [esp + 0x1c], ecx
add edi, 1
cmp edi, dword [ebx + 0x14]
jl 0x4415e0
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov edi, dword [esp + 0x10]
push edx
push 0
push eax
push edi
mov eax, ebp
call fcn.004370c0
mov eax, dword [esp + 0x50]
add dword [ebp + 0x48], 1
add esp, 0x10
test eax, eax
je 0x441689
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
push ecx
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x24]
push edx
push ebx
push eax
push esi
push edi
push ebp
call fcn.00440330
add esp, 0x24
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4416af
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
push ecx
push 1
push eax
mov eax, dword [esp + 0x24]
push edx
push ebx
push eax
push esi
push edi
push ebp
call fcn.00440330
add esp, 0x24
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
call fcn.00406d00
jmp 0x441517
cmp byte [edi], 0
je 0x4416ce
add eax, 1
cmp byte [eax], 0
jne 0x4416c6
sub eax, edi
and eax, 0x3fffffff
mov esi, eax
mov dword [esp + 0x24], eax
mov eax, edx
mov ecx, dword [eax + 0x44]
add ecx, 0x38
cmp dword [ecx + 0xc], 0
mov dword [esp + 0x30], ecx
je 0x441722
xor eax, eax
test esi, esi
mov edx, edi
jle 0x44171c
movzx ecx, byte [edx]
movzx ecx, byte [ecx + 0x46e7f8]
lea ebx, [eax*8]
xor ecx, ebx
sub esi, 1
xor eax, ecx
add edx, 1
test esi, esi
jg 0x4416f5
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
xor edx, edx
div dword [ecx]
jmp 0x441724
xor edx, edx
push edi
mov ebx, esi
call fcn.0040a0a0
xor esi, esi
add esp, 4
cmp eax, esi
je 0x4418a0
mov ebx, dword [eax + 8]
cmp ebx, esi
je 0x4418a0
cmp byte [ebx + 0x18], 0
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], esi
jne 0x441764
cmp dword [ebp + 0x1a8], esi
jne 0x441764
cmp byte [ebp + 0x17], 0
je 0x441895
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x28]
push eax
push ebx
push ecx
push ebp
call fcn.00440110
add esp, 0x14
test eax, eax
je 0x44179e
cmp dword [esp + 0x28], esi
je 0x4418a0
mov edx, dword [esp + 0x38]
cmp byte [edx + 0x36], 0
jne 0x4418a0
jmp 0x441895
mov edi, dword [esp + 0x38]
mov ecx, 0x48
mov esi, edi
call fcn.00406f20
mov esi, eax
test esi, esi
je 0x441888
push 0x48
push 0
push esi
call sub.MSVCR80.dll_memset
mov word [esi + 2], 1
movsx eax, word [esi]
add esp, 0xc
push eax
push 1
mov eax, esi
mov ecx, edi
call fcn.0043b220
add esp, 8
cmp byte [edi + 0x36], 0
mov esi, eax
je 0x4417f2
push esi
mov esi, edi
call fcn.0043b430
jmp 0x441885
movsx ecx, word [esi]
mov edi, dword [esp + 0x24]
shl ecx, 6
mov dword [ecx + esi - 0x34], 0
mov dword [ecx + esi - 0x38], 0
mov edx, dword [ebx]
lea eax, [ecx + esi - 0x38]
mov dword [esi + 0x14], edx
mov eax, dword [ebx]
mov ecx, dword [eax]
mov dword [esi + 0xc], ecx
mov eax, edx
mov ecx, 1
add word [eax + 0x20], cx
mov edx, dword [ebp + 0x48]
mov eax, dword [esp + 0x44]
mov dword [esi + 0x28], edx
add dword [ebp + 0x48], ecx
test eax, eax
je 0x441851
mov ecx, dword [esp + 0x3c]
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x20]
push eax
push ebx
push edi
push ecx
push esi
push ebp
call fcn.00440be0
add esp, 0x20
mov eax, dword [esp + 0x40]
test eax, eax
je 0x441872
mov edx, dword [esp + 0x18]
push 1
push eax
mov eax, dword [esp + 0x44]
push edx
push ebx
push edi
push eax
push esi
push ebp
call fcn.00440be0
add esp, 0x20
mov dword [esi + 0xc], 0
push esi
mov esi, dword [esp + 0x3c]
call fcn.0043b430
mov edi, esi
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, edi
call fcn.00406d00
xor esi, esi
mov ebx, dword [ebx + 0xc]
cmp ebx, esi
jne 0x441744
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret