Function at 0x438830
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4a4ad8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c7894]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
push 0x403ba0
push 0x412440
mov ebp, 0xf
push ebp
lea eax, [esi + 8]
push 4
push eax
mov dword [esi], vtable.CDialogX_class_CSysSetting__3_.0
call fcn.0047a99e
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 0x438890
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 0x4ac834
mov byte [esp + 0x28], 1
mov byte [ecx + 4], bl
call fcn.0040ecf0
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 0x4ac460
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.0040ecf0
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 0x43898c
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 0x4389c1
cmp eax, ebp
je 0x4389c1
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 0x4389e6
cmp eax, ebp
je 0x4389e6
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 0x438a0b
cmp eax, ebp
je 0x438a0b
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 0x438a30
cmp eax, ebp
je 0x438a30
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 0x438a55
cmp eax, ebp
je 0x438a55
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 0x438a7a
cmp eax, ebp
je 0x438a7a
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 0x438a9f
cmp eax, ebp
je 0x438a9f
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 0x438ac4
cmp eax, ebp
je 0x438ac4
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 0x438ae9
cmp eax, ebp
je 0x438ae9
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 0x438b0e
cmp eax, edi
je 0x438b0e
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x40], edi
cmp dword [esi + 8], ebx
je 0x438b58
cmp dword [esi + 0x20], ebx
je 0x438b58
cmp dword [esi + 0x24], ebx
je 0x438b58
cmp dword [esi + 0x28], ebx
je 0x438b58
cmp dword [esi + 0x3c], ebx
je 0x438b58
cmp dword [esi + 0x2c], ebx
je 0x438b58
cmp dword [esi + 0x30], ebx
je 0x438b58
cmp dword [esi + 0x34], ebx
je 0x438b58
cmp dword [esi + 0x38], ebx
je 0x438b58
cmp edi, ebx
je 0x438b58
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 0x4ac78c
push 0x4ac770
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]