Function at 0x50ccb0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x5b00cc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [0x5f3aa0]
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
mov dword [ebp - 0x414], esi
je 0x50cf1d
mov eax, dword [eax]
test eax, eax
je 0x50cd13
cmp dword [eax + 0x10], 0x8000100
je 0x50cd13
test eax, eax
push 0x8000100
push ecx
mov ecx, esp
mov dword [ecx], eax
je 0x50cd02
add dword [eax], 1
lea eax, [ebp - 0x40c]
push eax
call fcn.00529150
add esp, 0xc
jmp 0x50cd20
test eax, eax
mov dword [ebp - 0x40c], eax
je 0x50cd20
add dword [eax], 1
mov edx, dword [edi]
mov edx, dword [edx + 4]
lea eax, [ebp - 0x40c]
push eax
mov ecx, edi
call edx
mov ecx, dword [esi]
mov esi, dword [ecx + eax*4]
xor ebx, ebx
test esi, esi
mov dword [ebp - 0x410], eax
mov byte [ebp - 0x405], bl
mov byte [ebp - 0x406], bl
je 0x50cdbc
lea ecx, [ecx]
mov edx, dword [edi]
mov edx, dword [edx + 8]
lea eax, [ebp - 0x40c]
push eax
lea ecx, [esi + 8]
push ecx
mov ecx, edi
call edx
test al, al
jne 0x50cd72
mov ebx, esi
mov esi, dword [esi]
test esi, esi
jne 0x50cd50
jmp 0x50cdbc
test ebx, ebx
mov eax, dword [esi]
je 0x50cd7c
mov dword [ebx], eax
jmp 0x50cd8d
mov ecx, dword [ebp - 0x414]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x410]
mov dword [edx + ecx*4], eax
mov eax, dword [edi + 0x18]
test eax, eax
mov byte [ebp - 0x405], 1
je 0x50cdbc
jmp 0x50cda0
cmp byte [eax + 8], 0
je 0x50cdb5
cmp dword [eax + 0xc], esi
jne 0x50cdb5
mov edx, dword [esi + 4]
mov dword [eax + 0xc], edx
mov byte [eax + 8], 0
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x50cda0
mov esi, dword [edi + 0x10]
xor ebx, ebx
test esi, esi
je 0x50ce6b
lea esp, [esp]
mov eax, dword [edi]
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x40c]
push ecx
lea edx, [esi + 8]
push edx
mov ecx, edi
call eax
test al, al
jne 0x50cdf3
mov ebx, esi
mov esi, dword [esi + 4]
test esi, esi
jne 0x50cdd0
jmp 0x50ce6b
test ebx, ebx
je 0x50cdff
mov ecx, dword [esi + 4]
mov dword [ebx + 4], ecx
jmp 0x50ce05
mov edx, dword [esi + 4]
mov dword [edi + 0x10], edx
cmp dword [edi + 0x14], esi
jne 0x50ce0d
mov dword [edi + 0x14], ebx
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x50ce57
cmp byte [0x5f49d5], 0
jne 0x50ce2f
push 0x5f3a18
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [0x5f49d5], 1
push 0x5f3a18
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test ebx, ebx
je 0x50ce4c
add dword [ebx], 0xffffffff
jne 0x50ce4c
push ebx
call fcn.0056646e
add esp, 4
push 0x5f3a18
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call fcn.0056612f
add esp, 4
add dword [edi + 8], 0xffffffff
mov byte [ebp - 0x406], 1
mov al, byte [ebp - 0x406]
cmp byte [ebp - 0x405], al
je 0x50ced0
push 0
push str.foundInHash__foundInOrder
push 0x1f7
push str.c:RBUniversalStringMap.h
push str.Failed_Assertion
push 4
push str.Runtime_Error__d:__s_nPress_OK_to_Continue_nPress_Cancel_to_Quit._n_nPlease_report_what_caused_this_error_nalong_with_the_information_below._n_n_s:__d_nFailure_Condition:__s_n_s
lea ecx, [ebp - 0x404]
push 0x400
push ecx
call fcn.00567446
add esp, 0x24
push 0x111
push str.Runtime_Error
lea edx, [ebp - 0x404]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x50ced0
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esi, dword [ebp - 0x40c]
test esi, esi
je 0x50cf1d
cmp byte [0x5f49d5], 0
jne 0x50cef5
push 0x5f3a18
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [0x5f49d5], 1
push 0x5f3a18
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test esi, esi
je 0x50cf12
add dword [esi], 0xffffffff
jne 0x50cf12
push esi
call fcn.0056646e
add esp, 4
push 0x5f3a18
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00566120
mov esp, ebp
pop ebp
ret 4