Function at 0x50c5e0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x40]
xor ebx, ebx
cmp eax, ebx
push edi
je 0x50c601
push eax
call fcn.0050d9d0
mov eax, dword [esi + 0x40]
add esp, 4
cmp eax, ebx
jne 0x50c5f1
mov eax, dword [esi + 0x48]
cmp eax, ebx
je 0x50c615
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x2c], ebx
mov eax, dword [eax + 0x3c]
cmp eax, ebx
jne 0x50c608
mov eax, dword [esi + 0x34]
cmp eax, ebx
je 0x50c62d
push eax
push esi
call fcn.0050d060
mov eax, dword [esi + 0x34]
add esp, 8
cmp eax, ebx
jne 0x50c61c
mov eax, dword [esi + 0x24]
xor edi, edi
cmp eax, ebx
jbe 0x50c654
xor ebp, ebp
mov ecx, dword [esi + 0x28]
mov eax, ebp
add eax, ecx
push eax
push esi
call fcn.0050cae0
mov eax, dword [esi + 0x24]
add esp, 8
inc edi
add ebp, 0x2c
cmp edi, eax
jb 0x50c638
mov edx, dword [esi + 0x10]
mov cl, byte [edx]
xor eax, eax
cmp cl, bl
je 0x50c683
movsx ecx, cl
mov edi, ecx
xor edi, eax
xor edi, 0x946a4f
shl edi, 8
add edi, eax
xor edi, 0x573ed587
add edi, ecx
mov cl, byte [edx + 1]
inc edx
cmp cl, bl
mov eax, edi
jne 0x50c65f
mov ecx, dword [0x6314ec]
mov ecx, dword [ecx + 0x34]
xor eax, 0x62946a4f
xor edx, edx
div dword [ecx]
mov eax, dword [ecx + 4]
mov ecx, dword [eax + edx*4]
cmp ecx, esi
lea eax, [eax + edx*4]
jne 0x50c6a9
mov ecx, dword [esi + 0x18]
mov dword [eax], ecx
jmp 0x50c6bf
mov eax, dword [ecx + 0x18]
cmp eax, esi
je 0x50c6b9
mov ecx, eax
mov eax, dword [ecx + 0x18]
cmp eax, esi
jne 0x50c6b0
mov edx, dword [esi + 0x18]
mov dword [ecx + 0x18], edx
mov edx, dword [esi + 4]
mov eax, dword [0x6314ec]
mov edi, dword [eax + 0x38]
mov ecx, dword [esi]
mov eax, edx
xor eax, ecx
xor eax, 0x946a4f
shl eax, 8
add eax, edx
xor eax, 0x573ed587
add eax, ecx
xor eax, 0x62946a4f
xor edx, edx
div dword [edi]
mov ecx, dword [edi + 4]
lea eax, [ecx + edx*4]
mov ecx, dword [eax]
cmp ecx, esi
jne 0x50c6fd
mov edx, dword [esi + 0x1c]
mov dword [eax], edx
jmp 0x50c713
mov eax, dword [ecx + 0x1c]
cmp eax, esi
je 0x50c70d
mov ecx, eax
mov eax, dword [ecx + 0x1c]
cmp eax, esi
jne 0x50c704
mov eax, dword [esi + 0x1c]
mov dword [ecx + 0x1c], eax
mov eax, dword [0x6314ec]
mov ebp, dword [eax + 0x44]
xor ecx, ecx
cmp ecx, ebp
mov ecx, dword [0x631438]
sbb edx, edx
neg edx
add edx, ecx
jne 0x50c7b3
push 0x620ad0
call fcn.004e70c0
add esp, 4
push 0x425
push str.C:4017_buildmysql_4.0.17innobasedictdict0dict.c
call sub.KERNEL32.dll_GetCurrentThreadId
push eax
call fcn.004d1950
add esp, 4
push eax
push str.__InnoDB:_Assertion_failure_in_thread__lu_in_file__s_line__lu_n
push 0x620ad0
call fcn.00599e71
push str.InnoDB:_Failing_assertion:__dict_sys__table_LRU_.count___0
push 0x620ad0
call fcn.00599e71
push str._nInnoDB:_We_intentionally_generate_a_memory_trap._n
push 0x620ad0
call fcn.00599e71
push str.InnoDB:_Send_a_detailed_bug_report_to_mysql_lists.mysql.com_n
push 0x620ad0
call fcn.00599e71
mov eax, dword [0x631440]
mov dword [0x63143c], 1
mov ecx, dword [eax]
add esp, 0x2c
cmp ecx, ebx
je 0x50c7bb
mov dword [0x631440], ebx
jmp 0x50c7bb
cmp dword [0x63143c], ebx
je 0x50c7f5
push 0x425
push str.C:4017_buildmysql_4.0.17innobasedictdict0dict.c
call sub.KERNEL32.dll_GetCurrentThreadId
push eax
call fcn.004d1950
add esp, 4
push eax
push str.InnoDB:_Thread__lu_stopped_in_file__s_line__lu_n
push 0x620ad0
call fcn.00599e71
push 0x3b9aca00
call fcn.004e7040
mov eax, dword [0x6314ec]
add esp, 0x18
dec dword [eax + 0x44]
mov eax, dword [esi + 0x54]
cmp eax, ebx
je 0x50c807
mov ecx, dword [esi + 0x50]
mov dword [eax + 0x50], ecx
jmp 0x50c812
mov edx, dword [esi + 0x50]
mov eax, dword [0x6314ec]
mov dword [eax + 0x4c], edx
mov eax, dword [esi + 0x50]
cmp eax, ebx
je 0x50c821
mov ecx, dword [esi + 0x54]
mov dword [eax + 0x54], ecx
jmp 0x50c82c
mov edx, dword [esi + 0x54]
mov eax, dword [0x6314ec]
mov dword [eax + 0x48], edx
lea ecx, [esi + 0xc0]
push ecx
call fcn.0051dd40
mov edx, dword [esi + 0xc]
add esp, 4
xor ecx, ecx
cmp edx, ebx
mov eax, edx
je 0x50c852
mov ebp, dword [eax + 0x24]
mov eax, dword [eax + 0x20]
add ecx, ebp
cmp eax, ebx
jne 0x50c846
cmp dword [edx + 0x38], ebx
je 0x50c85d
add ecx, 0x4000
mov eax, dword [0x6314ec]
sub dword [eax + 0x50], ecx
mov esi, dword [esi + 0xc]
cmp dword [esi + 0x38], ebx
mov edi, dword [esi + 0x18]
je 0x50c879
push esi
call fcn.004edde0
add esp, 4
cmp edi, ebx
je 0x50c890
mov ebp, dword [edi + 0x1c]
push edi
push esi
call fcn.004edc60
add esp, 8
cmp ebp, ebx
mov edi, ebp
jne 0x50c87d
pop edi
pop esi
pop ebp
pop ebx
ret