Function at 0x40b9e0
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x497128
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b7480]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
push 0x405280
push 0x403180
push 0xe
lea eax, [esi + 8]
push 4
push eax
mov dword [esi], 0x49fc50
call fcn.0046fe44
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 0x40ba36
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 0x49fe00
mov byte [esp + 0x28], 1
mov byte [ecx + 4], bl
call fcn.0040ae30
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 0x49fdff
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.0040ae30
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 0x40bb37
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 0x40bb6c
cmp eax, ebp
je 0x40bb6c
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 0x40bb91
cmp eax, ebp
je 0x40bb91
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 0x40bbb6
cmp eax, ebp
je 0x40bbb6
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 0x40bbdb
cmp eax, ebp
je 0x40bbdb
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 0x40bc00
cmp eax, ebp
je 0x40bc00
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 0x40bc25
cmp eax, ebp
je 0x40bc25
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 0x40bc4a
cmp eax, ebp
je 0x40bc4a
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 0x40bc6f
cmp eax, ebp
je 0x40bc6f
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 0x40bc94
cmp eax, edi
je 0x40bc94
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x3c], edi
cmp dword [esi + 8], ebx
je 0x40bcd9
cmp dword [esi + 0x20], ebx
je 0x40bcd9
cmp dword [esi + 0x24], ebx
je 0x40bcd9
cmp dword [esi + 0x28], ebx
je 0x40bcd9
cmp edi, ebx
je 0x40bcd9
cmp dword [esi + 0x2c], ebx
je 0x40bcd9
cmp dword [esi + 0x30], ebx
je 0x40bcd9
cmp dword [esi + 0x34], ebx
je 0x40bcd9
cmp dword [esi + 0x38], ebx
je 0x40bcd9
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 0x49fd10
push 0x49fcf4
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]