Function at 0x40bc10
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x49ef88
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c36a0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
push 0x405360
push 0x4031f0
mov ebp, 0xf
push ebp
lea eax, [esi + 8]
push 4
push eax
mov dword [esi], vtable.CDialogX_class_CMessageBoxDailog__3_.0
call fcn.00477164
xor ebx, ebx
lea edi, [esi + 0x44]
mov dword [esp + 0x20], ebx
mov eax, edi
lea ecx, [ebp - 0xa]
lea ebx, [ebx]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
add eax, 0x10
sub ecx, 1
jns 0x40bc70
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xac], ebx
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xec], ebp
mov dword [esi + 0xe8], ebx
mov byte [esi + 0xd8], bl
lea ecx, [esi + 0xf0]
push 4
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push 0x4a8e68
mov byte [esp + 0x28], 1
mov byte [ecx + 4], bl
call fcn.0040b060
lea ecx, [esi + 0x10c]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
mov byte [ecx + 4], bl
mov dword [esi + 0x128], ebx
mov dword [esi + 0x12c], ebx
mov dword [esi + 0x130], ebx
mov dword [esi + 0x134], ebx
push ebx
push 0x4a8e67
mov byte [esp + 0x28], 7
mov dword [esi + 4], ebx
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xc8], ebx
call fcn.0040b060
push edi
mov edi, dword [sym.imp.USER32.dll_SetRectEmpty]
call edi
lea eax, [esi + 0x54]
push eax
call edi
lea ecx, [esi + 0x64]
push ecx
call edi
lea edx, [esi + 0x74]
push edx
call edi
lea eax, [esi + 0x94]
push eax
call edi
mov eax, dword [esi + 0x134]
cmp eax, ebx
je 0x40bd6c
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0x134], ebx
push str.modulesres.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, dword [sym.imp.USER32.dll_LoadBitmapA]
push str.IDB_BITMAP_CAPTION_CLOSE_BTN_SW
mov ecx, eax
push ecx
mov dword [esi + 0x134], eax
call edi
mov ebp, eax
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x40bda1
cmp eax, ebp
je 0x40bda1
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 8], ebp
mov edx, dword [esi + 0x134]
push str.IDB_DLG_CAPTION_LEFT
push edx
call edi
mov ebp, eax
mov eax, dword [esi + 0x20]
cmp eax, ebx
je 0x40bdc6
cmp eax, ebp
je 0x40bdc6
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x20], ebp
mov eax, dword [esi + 0x134]
push str.IDB_DLG_CAPTION_MIDDLE
push eax
call edi
mov ebp, eax
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x40bdeb
cmp eax, ebp
je 0x40bdeb
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x24], ebp
mov ecx, dword [esi + 0x134]
push str.IDB_DLG_CAPTION_RIGHT
push ecx
call edi
mov ebp, eax
mov eax, dword [esi + 0x28]
cmp eax, ebx
je 0x40be10
cmp eax, ebp
je 0x40be10
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x28], ebp
mov edx, dword [esi + 0x134]
push str.IDB_DLG_BORDER_LEFT
push edx
call edi
mov ebp, eax
mov eax, dword [esi + 0x2c]
cmp eax, ebx
je 0x40be35
cmp eax, ebp
je 0x40be35
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x2c], ebp
mov eax, dword [esi + 0x134]
push str.IDB_DLG_BORDER_RIGHT
push eax
call edi
mov ebp, eax
mov eax, dword [esi + 0x30]
cmp eax, ebx
je 0x40be5a
cmp eax, ebp
je 0x40be5a
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x30], ebp
mov ecx, dword [esi + 0x134]
push str.IDB_DLG_BOTTOM_LEFT
push ecx
call edi
mov ebp, eax
mov eax, dword [esi + 0x34]
cmp eax, ebx
je 0x40be7f
cmp eax, ebp
je 0x40be7f
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x34], ebp
mov edx, dword [esi + 0x134]
push str.IDB_DLG_BOTTOM_MIDDLE
push edx
call edi
mov ebp, eax
mov eax, dword [esi + 0x38]
cmp eax, ebx
je 0x40bea4
cmp eax, ebp
je 0x40bea4
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x38], ebp
mov eax, dword [esi + 0x134]
push str.IDB_DLG_BOTTOM_RIGHT
push eax
call edi
mov ebp, eax
mov eax, dword [esi + 0x3c]
cmp eax, ebx
je 0x40bec9
cmp eax, ebp
je 0x40bec9
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x3c], ebp
mov ecx, dword [esi + 0x134]
push str.IDB_DLG_LOGO
push ecx
call edi
mov edi, eax
mov eax, dword [esi + 0x40]
cmp eax, ebx
je 0x40beee
cmp eax, edi
je 0x40beee
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x40], edi
cmp dword [esi + 8], ebx
je 0x40bf38
cmp dword [esi + 0x20], ebx
je 0x40bf38
cmp dword [esi + 0x24], ebx
je 0x40bf38
cmp dword [esi + 0x28], ebx
je 0x40bf38
cmp dword [esi + 0x3c], ebx
je 0x40bf38
cmp dword [esi + 0x2c], ebx
je 0x40bf38
cmp dword [esi + 0x30], ebx
je 0x40bf38
cmp dword [esi + 0x34], ebx
je 0x40bf38
cmp dword [esi + 0x38], ebx
je 0x40bf38
cmp edi, ebx
je 0x40bf38
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push 0x10
push 0x4a8d68
push 0x4a8d4c
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]