Function at 0x436820
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4a0ce8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c26a0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
push 0x405300
push 0x403190
push 0xe
lea eax, [esi + 8]
push 4
push eax
mov dword [esi], vtable.CDialogX_class_CUpdateWindow__3_.0
call fcn.00476ad4
xor ebx, ebx
lea edi, [esi + 0x40]
mov dword [esp + 0x20], ebx
mov eax, edi
lea ecx, [ebx + 5]
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 0x436876
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xac], ebx
mov ebp, 0xf
mov dword [esi + 0xe8], ebp
mov dword [esi + 0xe4], ebx
mov byte [esi + 0xd4], bl
lea ecx, [esi + 0xec]
push 4
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push 0x4a7e40
mov byte [esp + 0x28], 1
mov byte [ecx + 4], bl
call fcn.0040aeb0
lea ecx, [esi + 0x108]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
mov byte [ecx + 4], bl
mov dword [esi + 0x124], ebx
mov dword [esi + 0x128], ebx
mov dword [esi + 0x12c], ebx
mov dword [esi + 0x130], ebx
push ebx
push 0x4a7e3f
mov byte [esp + 0x28], 7
mov dword [esi + 4], ebx
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xc4], ebx
call fcn.0040aeb0
push edi
mov edi, dword [sym.imp.USER32.dll_SetRectEmpty]
call edi
lea eax, [esi + 0x50]
push eax
call edi
lea ecx, [esi + 0x60]
push ecx
call edi
lea edx, [esi + 0x70]
push edx
call edi
lea eax, [esi + 0x90]
push eax
call edi
mov eax, dword [esi + 0x130]
cmp eax, ebx
je 0x436977
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0x130], 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 + 0x130], eax
call edi
mov ebp, eax
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x4369ac
cmp eax, ebp
je 0x4369ac
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 8], ebp
mov edx, dword [esi + 0x130]
push str.IDB_DLG_CAPTION_LEFT
push edx
call edi
mov ebp, eax
mov eax, dword [esi + 0x20]
cmp eax, ebx
je 0x4369d1
cmp eax, ebp
je 0x4369d1
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x20], ebp
mov eax, dword [esi + 0x130]
push str.IDB_DLG_CAPTION_MIDDLE
push eax
call edi
mov ebp, eax
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x4369f6
cmp eax, ebp
je 0x4369f6
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x24], ebp
mov ecx, dword [esi + 0x130]
push str.IDB_DLG_CAPTION_RIGHT
push ecx
call edi
mov ebp, eax
mov eax, dword [esi + 0x28]
cmp eax, ebx
je 0x436a1b
cmp eax, ebp
je 0x436a1b
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x28], ebp
mov edx, dword [esi + 0x130]
push str.IDB_DLG_BORDER_LEFT
push edx
call edi
mov ebp, eax
mov eax, dword [esi + 0x2c]
cmp eax, ebx
je 0x436a40
cmp eax, ebp
je 0x436a40
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x2c], ebp
mov eax, dword [esi + 0x130]
push str.IDB_DLG_BORDER_RIGHT
push eax
call edi
mov ebp, eax
mov eax, dword [esi + 0x30]
cmp eax, ebx
je 0x436a65
cmp eax, ebp
je 0x436a65
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x30], ebp
mov ecx, dword [esi + 0x130]
push str.IDB_DLG_BOTTOM_LEFT
push ecx
call edi
mov ebp, eax
mov eax, dword [esi + 0x34]
cmp eax, ebx
je 0x436a8a
cmp eax, ebp
je 0x436a8a
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x34], ebp
mov edx, dword [esi + 0x130]
push str.IDB_DLG_BOTTOM_MIDDLE
push edx
call edi
mov ebp, eax
mov eax, dword [esi + 0x38]
cmp eax, ebx
je 0x436aaf
cmp eax, ebp
je 0x436aaf
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x38], ebp
mov eax, dword [esi + 0x130]
push str.IDB_DLG_BOTTOM_RIGHT
push eax
call edi
mov edi, eax
mov eax, dword [esi + 0x3c]
cmp eax, ebx
je 0x436ad4
cmp eax, edi
je 0x436ad4
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x3c], edi
cmp dword [esi + 8], ebx
je 0x436b19
cmp dword [esi + 0x20], ebx
je 0x436b19
cmp dword [esi + 0x24], ebx
je 0x436b19
cmp dword [esi + 0x28], ebx
je 0x436b19
cmp edi, ebx
je 0x436b19
cmp dword [esi + 0x2c], ebx
je 0x436b19
cmp dword [esi + 0x30], ebx
je 0x436b19
cmp dword [esi + 0x34], ebx
je 0x436b19
cmp dword [esi + 0x38], ebx
je 0x436b19
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 0x4a7d50
push 0x4a7d34
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]