Function at 0x4a4d70
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x5b00cc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov ebx, ecx
push 2
lea ecx, [ebp - 0x410]
mov edi, edx
push esi
push ecx
mov dword [ebp - 0x40c], ebx
mov dword [ebp - 0x414], edi
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x428], esi
call fcn.00566500
mov al, byte [ebp - 0x410]
mov dl, byte [ebp - 0x40f]
mov byte [ebp - 0x40f], al
mov eax, dword [ebp - 0x41c]
mov byte [eax], 0
mov eax, dword [ebp + 0x10]
add esp, 0xc
cmp eax, 0x1beef
mov byte [ebp - 0x410], dl
jne 0x4a4e09
movsx ecx, word [ebp - 0x410]
add esi, 0xc
sub ecx, 0xc
mov dword [ebx], esi
mov dword [edi], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00566120
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 0xbeef0002
jne 0x4a4ec8
push 4
add esi, 0xe
lea edx, [ebp - 0x40c]
push esi
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 - 0x40a], al
mov eax, dword [ebp - 0x41c]
mov byte [ebp - 0x40c], cl
mov byte [ebp - 0x40b], dl
mov esi, dword [ebp - 0x40c]
mov byte [eax], 1
lea eax, [esi + 3]
add esp, 0xc
push eax
mov dword [edi], eax
call fcn.005663ab
mov dword [ebx], eax
mov byte [eax], 1
mov ecx, dword [ebx]
add esp, 4
xor eax, eax
test esi, esi
mov byte [ecx + 1], 1
jle 0x4a4eae
jmp 0x4a4e90
mov edx, dword [ebp - 0x428]
movzx ecx, byte [edx + eax + 0x12]
mov edx, dword [ebx]
mov cl, byte [ecx + 0x5bec30]
mov byte [edx + eax + 2], cl
add eax, 1
cmp eax, esi
jl 0x4a4e90
mov edx, dword [ebx]
mov byte [edx + esi + 2], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00566120
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 0xbeef0003
jne 0x4a535c
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], 0
je 0x4a530f
mov dword [edi], 0
cmp dword [eax + 0x10], 0
mov dword [ebp - 0x418], 0
jle 0x4a4fe4
jmp 0x4a4f02
mov eax, edx
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x418]
lea ecx, [ebp - 0x424]
push ecx
movzx ecx, byte [eax + edx]
push ecx
lea ecx, [ebp - 0x420]
lea ebx, [ebp - 0x410]
mov edi, esi
call fcn.004a4a40
mov eax, dword [ebp - 0x424]
add esp, 8
cmp eax, 0x10
ja case.0x4a4f3f.1
movzx edx, byte [eax + 0x4a53ac]
jmp dword [edx*4 + 0x4a538c]
mov eax, dword [ebp - 0x414]
add dword [eax], 2
jmp 0x4a4fbd
mov eax, dword [ebp - 0x414]
add dword [eax], 3
jmp 0x4a4fbd
mov eax, dword [ebp - 0x414]
add dword [eax], 5
jmp 0x4a4fbd
mov eax, dword [ebp - 0x414]
add dword [eax], 7
jmp 0x4a4fbd
mov eax, dword [ebp - 0x414]
add dword [eax], 9
jmp 0x4a4fbd
mov eax, dword [ebp - 0x420]
lea ecx, [eax + 2]
mov eax, dword [ebp - 0x414]
add dword [eax], ecx
jmp 0x4a4fbd
mov eax, dword [ebp - 0x414]
add dword [eax], 1
jmp 0x4a4fbd
xor esi, esi
push 0x2cf
push str.........Common_rbdbThumb.cpp
mov edx, 0x57e0a8
lea ecx, [esi + 4]
call fcn.004f1fc0
mov esi, dword [ebp - 0x428]
add esp, 8
mov eax, dword [ebp - 0x418]
mov edx, dword [ebp + 8]
add eax, 1
cmp eax, dword [edx + 0x10]
mov dword [ebp - 0x418], eax
jl 0x4a4f00
mov edi, dword [ebp - 0x414]
mov ebx, dword [ebp - 0x40c]
mov eax, dword [ebp - 0x41c]
mov byte [eax], 1
mov ecx, dword [edi]
push ecx
call fcn.005663ab
mov edx, dword [ebp + 8]
xor esi, esi
add esp, 4
mov dword [ebx], eax
cmp dword [edx + 0x10], esi
mov dword [ebp - 0x418], esi
jle 0x4a52b0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
mov edi, dword [ebp - 0x428]
lea eax, [ebp - 0x424]
push eax
mov eax, dword [ebp - 0x418]
movzx ecx, byte [eax + edx]
push ecx
lea ecx, [ebp - 0x420]
lea ebx, [ebp - 0x410]
call fcn.004a4a40
mov eax, dword [ebp - 0x424]
add esp, 8
cmp eax, 0x10
ja case.0x4a5056.1
movzx edx, byte [eax + 0x4a53e4]
jmp dword [edx*4 + 0x4a53c0]
mov eax, dword [ebp - 0x40c]
mov ecx, dword [eax]
mov byte [esi + ecx], 1
mov edx, dword [eax]
mov eax, dword [ebp - 0x410]
mov cl, byte [eax]
add esi, 1
mov byte [esi + edx], cl
add esi, 1
jmp 0x4a528f
mov edi, dword [ebp - 0x40c]
mov edx, dword [edi]
mov eax, dword [ebp - 0x410]
mov byte [esi + edx], 1
movzx ecx, word [eax]
mov edx, dword [edi]
add esi, 1
push ecx
add edx, esi
push edx
call fcn.004ab710
mov eax, dword [edi]
xor byte [eax + esi], 0x80
add eax, esi
add esp, 8
add esi, 2
jmp 0x4a528f
mov edi, dword [ebp - 0x40c]
mov ecx, dword [edi]
mov edx, dword [ebp - 0x410]
mov byte [esi + ecx], 1
mov eax, dword [edx]
mov ecx, dword [edi]
add esi, 1
push eax
add ecx, esi
push ecx
call fcn.004ab740
mov edx, dword [edi]
add esp, 8
lea eax, [edx + esi]
xor byte [eax], 0x80
add esi, 4
jmp 0x4a528f
mov eax, dword [ebp - 0x40c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x410]
mov byte [esi + ecx], 1
mov eax, dword [eax]
push 6
add esi, 1
push edx
add eax, esi
push eax
call fcn.00566500
add esp, 0xc
add esi, 6
jmp 0x4a528f
mov edi, dword [ebp - 0x40c]
mov ecx, dword [edi]
mov byte [esi + ecx], 1
mov ecx, dword [ebp - 0x410]
movzx edx, byte [ecx + 3]
mov eax, dword [edi]
add esi, 1
add eax, esi
mov byte [eax], dl
movzx edx, byte [ecx + 2]
mov byte [eax + 1], dl
movzx edx, byte [ecx + 1]
mov byte [eax + 2], dl
mov cl, byte [ecx]
mov byte [eax + 3], cl
mov edx, dword [edi]
test byte [edx + esi], 0x80
lea eax, [edx + esi]
je 0x4a50e1
mov ecx, dword [eax]
not ecx
mov dword [eax], ecx
add esi, 4
jmp 0x4a528f
mov ecx, dword [ebp - 0x410]
mov edi, dword [ebp - 0x40c]
mov edx, dword [edi]
mov byte [esi + edx], 1
movzx edx, byte [ecx + 7]
mov eax, dword [edi]
add esi, 1
add eax, esi
mov byte [eax], dl
movzx edx, byte [ecx + 6]
mov byte [eax + 1], dl
movzx edx, byte [ecx + 5]
mov byte [eax + 2], dl
movzx edx, byte [ecx + 4]
mov byte [eax + 3], dl
movzx edx, byte [ecx + 3]
mov byte [eax + 4], dl
movzx edx, byte [ecx + 2]
mov byte [eax + 5], dl
movzx edx, byte [ecx + 1]
mov byte [eax + 6], dl
mov cl, byte [ecx]
mov byte [eax + 7], cl
mov edx, dword [edi]
test byte [edx + esi], 0x80
lea eax, [edx + esi]
je 0x4a51d9
mov ecx, dword [eax]
not ecx
mov dword [eax], ecx
mov edx, dword [edi]
mov ecx, dword [edx + esi + 4]
lea eax, [edx + esi + 4]
not ecx
mov dword [eax], ecx
add esi, 8
jmp 0x4a528f
xor byte [eax], 0x80
add esi, 8
jmp 0x4a528f
mov ecx, dword [ebp - 0x40c]
mov edx, dword [ecx]
mov edi, dword [ebp - 0x420]
mov byte [esi + edx], 1
add esi, 1
xor eax, eax
test edi, edi
jle 0x4a521e
mov edx, dword [ebp - 0x410]
movzx edx, byte [eax + edx]
mov ebx, dword [ecx]
mov dl, byte [edx + 0x5bec30]
mov byte [esi + ebx], dl
add eax, 1
add esi, 1
cmp eax, edi
jl 0x4a51ff
mov eax, dword [ecx]
mov byte [esi + eax], 0
add esi, 1
jmp 0x4a528f
mov ecx, dword [ebp - 0x40c]
mov edx, dword [ecx]
mov byte [esi + edx], 0
add esi, 1
jmp 0x4a528f
push 0
push 0x57e0a8
push 0x31b
push str.........Common_rbdbThumb.cpp
mov eax, 4
call fcn.004f1f50
push eax
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 eax, [ebp - 0x408]
push 0x400
push eax
call fcn.00567446
add esp, 0x24
push 0x111
push str.Runtime_Error
lea ecx, [ebp - 0x408]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
je 0x4a5307
mov eax, dword [ebp - 0x418]
mov edx, dword [ebp + 8]
add eax, 1
cmp eax, dword [edx + 0x10]
mov dword [ebp - 0x418], eax
jl 0x4a500e
mov edi, dword [ebp - 0x414]
cmp esi, dword [edi]
je 0x4a5378
push 0
push str.offset__keyLen
push 0x31e
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 eax, [ebp - 0x408]
push 0x400
push eax
call fcn.00567446
add esp, 0x24
push 0x111
push str.Runtime_Error
lea ecx, [ebp - 0x408]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x4a5378
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
add esi, 6
mov dword [ebx], esi
push 4
mov dword [edi], 4
call fcn.005663ab
mov edx, dword [edi]
add esp, 4
mov esi, eax
mov eax, dword [ebx]
push edx
push eax
push esi
call fcn.00566500
mov eax, dword [edi]
add esp, 0xc
mov edi, esi
call fcn.004ab680
mov ecx, dword [ebp - 0x41c]
mov dword [ebx], esi
mov byte [ecx], 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00566120
mov esp, ebp
pop ebp
ret 0x10
xor esi, esi
push 0x335
push str.........Common_rbdbThumb.cpp
mov edx, 0x57e0a8
lea ecx, [esi + 4]
call fcn.004f1fc0
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00566120
mov esp, ebp
pop ebp
ret 0x10