Function at 0x402220
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x412d5e
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x41d564]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xfc], ecx
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
call fcn.00402180
mov ecx, dword [ebp - 0xfc]
call sub.mfc90.dll_Ordinal_4197
push 0
call sub.mfc90.dll_Ordinal_1098
add esp, 4
mov eax, dword [sym.imp.MSVCR90.dll___argv]
mov ecx, dword [eax]
push ecx
mov edx, dword [sym.imp.MSVCR90.dll___argc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0xfc]
add ecx, 0xa8
call fcn.004012d0
mov ecx, dword [ebp - 0xfc]
add ecx, 0xa8
call fcn.004012f0
mov ecx, dword [ebp - 0xfc]
add ecx, 0xa8
call fcn.00407660
push eax
mov ecx, dword [ebp - 0xfc]
add ecx, 0xa4
call dword [sym.imp.mfc90.dll_Ordinal_817]
push 0
lea ecx, [ebp - 0xd4]
call fcn.0040ebd0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xfc]
add ecx, 0xa8
call fcn.00407620
movzx ecx, al
test ecx, ecx
je 0x4023b1
mov ecx, dword [ebp - 0xfc]
add ecx, 0xa8
call fcn.00407640
push eax
mov ecx, dword [ebp - 0xfc]
add ecx, 0xa8
call fcn.00410730
push eax
mov ecx, 0x41d5c8
call fcn.004076a0
mov ecx, eax
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
mov ecx, dword [ebp - 0xfc]
call fcn.00402780
test eax, eax
je 0x40235f
mov edx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push edx
push 0x415a14
mov eax, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push eax
call fcn.0040a950
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
jmp 0x40238a
mov ecx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push ecx
push 0x415a38
mov edx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
push edx
call fcn.0040a950
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 1
call dword [sym.imp.MSVCR90.dll_exit]
mov dword [ebp - 0xe8], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd4]
call fcn.0040ed10
mov eax, dword [ebp - 0xe8]
jmp 0x40260d
mov ecx, dword [ebp - 0xfc]
add ecx, 0xa8
call fcn.00407600
movzx eax, al
test eax, eax
je 0x4025dd
mov ecx, dword [ebp - 0xfc]
add ecx, 0xa8
call fcn.00407680
mov ecx, eax
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
mov ecx, 0x41d5c8
call fcn.004076a0
mov ecx, eax
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
mov ecx, dword [ebp - 0xfc]
call fcn.00402750
mov dword [ebp - 0xd8], eax
mov ecx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push ecx
mov edx, dword [ebp - 0xd8]
push edx
call dword [sym.imp.iCDBBackup.dll_char_const____cdecl_iCDBGetErrorString_enum_iCDBAutoBackupError_]
add esp, 4
push eax
mov eax, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push eax
call fcn.0040a950
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
cmp dword [ebp - 0xd8], 3
jne 0x4025b9
lea ecx, [ebp - 0xdc]
push ecx
mov ecx, 0x41d5c8
call fcn.004076a0
mov ecx, eax
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
call dword [sym.imp.iCDBBackup.dll_int___cdecl_iCDBGetConnectedClients_char_const___char____]
add esp, 8
test eax, eax
je 0x402497
mov edx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push edx
push 0x415a68
mov eax, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
push eax
call fcn.0040a950
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 1
call dword [sym.imp.MSVCR90.dll_exit]
cmp dword [ebp - 0xdc], 0
jne 0x4024cb
mov ecx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push ecx
push 0x415a80
mov edx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push edx
call fcn.0040a950
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 1
call dword [sym.imp.MSVCR90.dll_exit]
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xe0], eax
mov ecx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push ecx
push 0x415a98
mov edx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push edx
call fcn.0040a950
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov dword [ebp - 0xe4], 0
jmp 0x402515
mov eax, dword [ebp - 0xe4]
add eax, 1
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0xe4]
mov edx, dword [ebp - 0xe0]
cmp dword [edx + ecx*4], 0
je 0x40259e
push 0x415ac8
mov eax, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ecx + eax*4]
push edx
call fcn.004075e0
add esp, 8
test eax, eax
jne 0x402575
mov eax, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push eax
mov ecx, dword [ebp - 0xe4]
mov edx, dword [ebp - 0xe0]
mov eax, dword [edx + ecx*4]
push eax
mov ecx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push ecx
call fcn.0040a950
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov edx, dword [ebp - 0xe4]
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + edx*4]
mov dword [ebp - 0xec], ecx
mov edx, dword [ebp - 0xec]
push edx
call sub.mfc90.dll_Ordinal_266
add esp, 4
jmp 0x402506
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0xf0]
push ecx
call sub.mfc90.dll_Ordinal_266
add esp, 4
mov dword [ebp - 0xf4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd4]
call fcn.0040ed10
mov eax, dword [ebp - 0xf4]
jmp 0x40260d
lea ecx, [ebp - 0xd4]
call sub.mfc90.dll_Ordinal_2224
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xf8], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd4]
call fcn.0040ed10
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret