Function at 0x497b90
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x5b00cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
test esi, esi
push edi
jne 0x497c04
push ecx
push str.plugclass
push 0x1ab3
push str.........Commonplugin.cpp
lea eax, [ecx + 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 - 0x404]
push 0x400
push eax
call fcn.00567446
add esp, 0x24
push 0x111
push str.Runtime_Error
lea ecx, [ebp - 0x404]
push ecx
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x497c04
push esi
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
mov ebx, dword [esi + 0xa8]
mov edx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x1c]
mov esi, dword [ebx + 4]
test esi, esi
push edx
push ecx
mov dword [ebp - 0x40c], eax
mov eax, esp
mov dword [ebp - 0x408], eax
mov dword [eax], 0
je 0x497c57
mov ecx, esi
lea edi, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x497c32
sub ecx, edi
mov edi, ecx
call fcn.004ab970
mov ecx, dword [ebp - 0x408]
mov eax, dword [ecx]
test eax, eax
je 0x497c57
mov dword [eax + 0x10], 0x600
mov ecx, dword [ebp - 0x40c]
call fcn.00496d70
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x24]
mov esi, dword [ebx + 4]
add esp, 8
cmp dword [ebx], 6
mov dword [ebp - 0x40c], ecx
setle dl
test esi, esi
push edx
push eax
push ecx
mov eax, esp
mov dword [ebp - 0x408], eax
mov dword [eax], 0
je 0x497cb9
mov ecx, esi
lea edi, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x497c94
sub ecx, edi
mov edi, ecx
call fcn.004ab970
mov edx, dword [ebp - 0x408]
mov eax, dword [edx]
test eax, eax
je 0x497cb9
mov dword [eax + 0x10], 0x600
mov ecx, dword [ebp - 0x40c]
call fcn.00497560
mov eax, dword [ebx + 0x38]
mov esi, dword [ebx + 4]
mov ecx, dword [ebx + 0x34]
add esp, 8
test esi, esi
mov dword [ebp - 0x40c], eax
mov eax, esp
mov dword [ebp - 0x410], ecx
mov dword [ebp - 0x408], eax
mov dword [eax], 0
je 0x497d18
mov ecx, esi
lea edi, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x497cf3
sub ecx, edi
mov edi, ecx
call fcn.004ab970
mov edx, dword [ebp - 0x408]
mov eax, dword [edx]
test eax, eax
je 0x497d18
mov dword [eax + 0x10], 0x600
mov ecx, dword [ebp - 0x40c]
mov edx, dword [ebp - 0x410]
call fcn.00496980
add esp, 4
cmp dword [ebx], 9
jl 0x497df3
mov eax, dword [ebx + 0x58]
mov ecx, dword [ebx + 0x54]
mov esi, dword [ebx + 4]
test esi, esi
push eax
push ecx
mov eax, esp
mov dword [ebp - 0x408], ecx
mov dword [ebp - 0x410], eax
mov dword [eax], 0
je 0x497d85
mov ecx, esi
lea edi, [ecx + 1]
lea ecx, [ecx]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x497d60
sub ecx, edi
mov edi, ecx
call fcn.004ab970
mov edx, dword [ebp - 0x410]
mov eax, dword [edx]
test eax, eax
je 0x497d85
mov dword [eax + 0x10], 0x600
mov ecx, dword [ebp - 0x408]
call fcn.00496d70
mov eax, dword [ebx + 0x60]
mov ecx, dword [ebx + 0x5c]
mov esi, dword [ebx + 4]
add esp, 8
test esi, esi
push 0
push eax
push ecx
mov eax, esp
mov dword [ebp - 0x408], ecx
mov dword [ebp - 0x410], eax
mov dword [eax], 0
je 0x497de5
mov ecx, esi
lea edi, [ecx + 1]
lea ecx, [ecx]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x497dc0
sub ecx, edi
mov edi, ecx
call fcn.004ab970
mov edx, dword [ebp - 0x410]
mov eax, dword [edx]
test eax, eax
je 0x497de5
mov dword [eax + 0x10], 0x600
mov ecx, dword [ebp - 0x408]
call fcn.00497560
add esp, 0xc
cmp dword [ebx + 0x14], 0
je 0x497f0e
mov edi, 7
mov esi, str..__init
lea eax, [ebp - 0x40c]
mov dword [ebp - 0x40c], 0
call fcn.004ab970
mov eax, dword [ebp - 0x40c]
test eax, eax
je 0x497e2d
mov dword [eax + 0x10], 0x600
mov esi, dword [ebx + 4]
xor edi, edi
test esi, esi
mov dword [ebp - 0x408], edi
je 0x497e6a
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x497e41
sub eax, edx
mov edi, eax
lea eax, [ebp - 0x408]
call fcn.004ab970
mov edi, dword [ebp - 0x408]
test edi, edi
je 0x497e6a
mov dword [edi + 0x10], 0x600
lea eax, [ebp - 0x40c]
push eax
lea ecx, [ebp - 0x408]
push ecx
lea edx, [ebp - 0x410]
push edx
call fcn.004ac650
mov eax, dword [eax]
add esp, 0xc
test eax, eax
je 0x497ebe
cmp dword [eax + 0x10], 0x8000100
je 0x497ebe
test eax, eax
push 0x8000100
push ecx
mov ecx, esp
mov dword [ecx], eax
je 0x497ea7
add dword [eax], 1
lea eax, [ebp - 0x408]
push eax
call fcn.00529150
mov esi, dword [ebp - 0x408]
add esp, 0xc
jmp 0x497ecd
mov esi, eax
test esi, esi
mov dword [ebp - 0x408], esi
je 0x497ecd
add dword [esi], 1
mov ecx, dword [ebx + 0x14]
push ecx
lea eax, [ebp - 0x408]
call fcn.0049a460
test esi, esi
je 0x497ee5
call fcn.004ab850
mov esi, dword [ebp - 0x410]
test esi, esi
je 0x497ef4
call fcn.004ab850
test edi, edi
je 0x497eff
mov esi, edi
call fcn.004ab850
mov esi, dword [ebp - 0x40c]
test esi, esi
je 0x497f0e
call fcn.004ab850
cmp dword [ebx + 0x18], 0
je 0x49802d
mov edi, 7
mov esi, str..__exit
lea eax, [ebp - 0x40c]
mov dword [ebp - 0x40c], 0
call fcn.004ab970
mov eax, dword [ebp - 0x40c]
test eax, eax
je 0x497f48
mov dword [eax + 0x10], 0x600
mov esi, dword [ebx + 4]
xor edi, edi
test esi, esi
mov dword [ebp - 0x408], edi
je 0x497f89
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x497f60
sub eax, edx
mov edi, eax
lea eax, [ebp - 0x408]
call fcn.004ab970
mov edi, dword [ebp - 0x408]
test edi, edi
je 0x497f89
mov dword [edi + 0x10], 0x600
lea edx, [ebp - 0x40c]
push edx
lea eax, [ebp - 0x408]
push eax
lea ecx, [ebp - 0x410]
push ecx
call fcn.004ac650
mov eax, dword [eax]
add esp, 0xc
test eax, eax
je 0x497fdd
cmp dword [eax + 0x10], 0x8000100
je 0x497fdd
test eax, eax
push 0x8000100
push ecx
mov ecx, esp
mov dword [ecx], eax
je 0x497fc6
add dword [eax], 1
lea edx, [ebp - 0x408]
push edx
call fcn.00529150
mov esi, dword [ebp - 0x408]
add esp, 0xc
jmp 0x497fec
mov esi, eax
test esi, esi
mov dword [ebp - 0x408], esi
je 0x497fec
add dword [esi], 1
mov eax, dword [ebx + 0x18]
push eax
lea eax, [ebp - 0x408]
call fcn.0049a460
test esi, esi
je 0x498004
call fcn.004ab850
mov esi, dword [ebp - 0x410]
test esi, esi
je 0x498013
call fcn.004ab850
test edi, edi
je 0x49801e
mov esi, edi
call fcn.004ab850
mov esi, dword [ebp - 0x40c]
test esi, esi
je 0x49802d
call fcn.004ab850
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00566120
mov esp, ebp
pop ebp
ret