Function at 0x4a4a40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x5b00cc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
push 2
lea edx, [ebp - 0x410]
push edi
push edx
mov dword [ebp - 0x414], eax
mov dword [ebp - 0x418], ecx
call fcn.00566500
mov al, byte [ebp - 0x410]
mov cl, byte [ebp - 0x40f]
mov byte [ebp - 0x410], cl
mov byte [ebp - 0x40f], al
movsx eax, word [ebp - 0x410]
mov esi, 0xa
add esp, 0xc
cmp eax, esi
jle 0x4a4ba8
mov dl, byte [ebp + 8]
cmp byte [edi + esi], dl
movzx eax, byte [edi + esi + 1]
je 0x4a4bc3
add eax, 0xfffffffe
cmp eax, 0xe
ja case.0x4a4ac5.4
movzx eax, byte [eax + 0x4a4d2c]
jmp dword [eax*4 + 0x4a4d10]
add esi, 3
jmp 0x4a4b99
add esi, 4
jmp 0x4a4b99
add esi, 6
jmp 0x4a4b99
add esi, 8
jmp 0x4a4b99
add esi, 0xa
jmp 0x4a4b99
push 4
lea ecx, [edi + esi + 2]
push ecx
lea edx, [ebp - 0x40c]
push edx
call fcn.00566500
mov al, byte [ebp - 0x40c]
mov cl, byte [ebp - 0x409]
mov dl, byte [ebp - 0x40a]
mov byte [ebp - 0x409], al
mov al, byte [ebp - 0x40b]
mov byte [ebp - 0x40c], cl
mov byte [ebp - 0x40b], dl
mov byte [ebp - 0x40a], al
mov eax, dword [ebp - 0x40c]
add esp, 0xc
lea esi, [esi + eax + 6]
jmp 0x4a4b99
push 0
push 0x57e0a8
push 0x286
push str.........Common_rbdbThumb.cpp
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 - 0x408]
push 0x400
push ecx
call fcn.00567446
add esp, 0x24
push 0x111
push str.Runtime_Error
lea edx, [ebp - 0x408]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
je 0x4a4d07
movsx eax, word [ebp - 0x410]
cmp esi, eax
jl 0x4a4aa1
mov ecx, dword [ebp - 0x414]
mov dword [ecx], 0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00566120
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x414]
mov dword [ecx], eax
lea eax, [edi + esi + 2]
mov esi, dword [ebp - 0x418]
mov dword [ebx], eax
mov dword [esi], 0
mov ecx, dword [ecx]
add ecx, 0xfffffffe
cmp ecx, 0xe
ja case.0x4a4bee.4
movzx ecx, byte [ecx + 0x4a4d58]
jmp dword [ecx*4 + 0x4a4d3c]
call fcn.004ab7a0
mov dword [esi], eax
add dword [ebx], 4
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00566120
mov esp, ebp
pop ebp
ret
mov dword [esi], 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00566120
mov esp, ebp
pop ebp
ret
mov dword [esi], 2
mov edx, dword [ebx]
movzx eax, word [edx]
mov dword [ebp - 0x40c], eax
mov cl, byte [ebp - 0x40b]
mov byte [ebp - 0x40c], cl
mov byte [ebp - 0x40b], al
mov dx, word [ebp - 0x40c]
mov word [0x5faaf4], dx
mov dword [ebx], 0x5faaf4
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00566120
mov esp, ebp
pop ebp
ret
mov dword [esi], 4
mov eax, dword [ebx]
mov ecx, dword [eax]
mov dword [ebp - 0x40c], ecx
mov dl, byte [ebp - 0x409]
mov al, cl
mov cl, byte [ebp - 0x40a]
mov byte [ebp - 0x409], al
mov al, byte [ebp - 0x40b]
mov byte [ebp - 0x40c], dl
mov byte [ebp - 0x40b], cl
mov byte [ebp - 0x40a], al
mov edx, dword [ebp - 0x40c]
mov dword [0x5faaf0], edx
mov dword [ebx], 0x5faaf0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00566120
mov esp, ebp
pop ebp
ret
mov dword [esi], 6
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00566120
mov esp, ebp
pop ebp
ret
mov dword [esi], 8
mov eax, dword [ebx]
push eax
call fcn.004ab7e0
fstp qword [0x5faae8]
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
mov dword [ebx], 0x5faae8
pop esi
call fcn.00566120
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]