Function at 0x455334
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x20
push 0
push 0
dec ecx
jne 0x45533d
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x455356
add esp, 0xfffffff0
call sub.rtl160.bpl__System__ClassCreate_qqrpvzc
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x25], dl
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x14]
call sub.rtl160.bpl__System__IntfAddRef_qqrx45System__DelphiInterface_t17System_IInterface_
lea esi, [ebp - 4]
xor eax, eax
push ebp
push 0x456495
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, dword [esi]
call sub.rtl160.bpl__System_TObject__bctr_qqrv
mov eax, dword [esi]
add eax, 0x74
mov edx, dword [ebp - 0x14]
call sub.rtl160.bpl__System__IntfCopy_qqrr45System__DelphiInterface_t17System_IInterface_x45System__DelphiInterface_t17System_IInte
mov eax, dword [esi]
mov byte [eax + 0x5c], bl
mov eax, dword [esi]
mov dword [eax + 0x98], 0xffffffff
push 1
push 1
push 0x21
push 0x10
push 0x10
call sub.comctl32.dll_ImageList_Create
mov edx, dword [esi]
mov dword [edx + 0x8c], eax
test bl, bl
jne 0x4553dd
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0xc0]
test al, al
je 0x4553dd
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x90]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x58]
call fcn.00433a0c
test al, al
je 0x455412
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x80]
test al, al
je 0x455412
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov dl, 6
mov ecx, dword [eax]
call dword [ecx + 0xa4]
jmp 0x455480
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x50]
call fcn.00433a0c
test al, al
je 0x455444
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x7c]
test al, al
je 0x455444
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov dl, 5
mov ecx, dword [eax]
call dword [ecx + 0xa4]
jmp 0x455480
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x48]
test al, al
je 0x455480
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x78]
test al, al
je 0x455480
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x30c]
test al, al
je 0x455480
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov dl, 4
mov ecx, dword [eax]
call dword [ecx + 0xa4]
lea edx, [ebp - 0x1c]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x320]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x318]
mov edx, dword [0x535514]
call fcn.00434b44
test al, al
jne 0x4554f3
mov eax, dword [ebp - 0x1c]
call sub.rtl160.bpl__System__LStrLen_qqrx27System__AnsiStringT_us_i0__
mov edi, eax
sub edi, 0xa
cmp edi, 0x14
jl 0x4554f3
mov eax, dword [ebp - 0x1c]
cmp byte [eax + edi - 1], 0x2e
jne 0x4554ed
mov eax, dword [ebp - 0x1c]
cmp byte [eax + edi], 0x20
jne 0x4554ed
lea eax, [ebp - 0x1c]
call sub.rtl160.bpl__System__UniqueStringA_qqrr27System__AnsiStringT_us_i0__
mov byte [eax + edi], 0xd
lea ecx, [edi + 2]
lea edx, [ebp - 0x1c]
mov eax, 0x4564cc
call sub.rtl160.bpl__System__LStrInsert_qqrx27System__AnsiStringT_us_i0__r27System__AnsiStringT_us_i0__i
dec edi
cmp edi, 0x13
jne 0x4554be
test bl, bl
je 0x45560c
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x314]
cmp al, 1
jne 0x455551
lea edx, [ebp - 0x18]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x240]
mov eax, dword [ebp - 0x1c]
push eax
push 0
lea edx, [ebp - 0xc8]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x31c]
mov eax, dword [ebp - 0xc8]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0xc]
lea edx, [ebp - 0x18]
pop ecx
call fcn.00433ddc
jmp 0x4555aa
cmp byte [0x535520], 0
je 0x45559f
lea edx, [ebp - 0x18]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x238]
mov eax, dword [ebp - 0x1c]
push eax
push 0
lea edx, [ebp - 0xcc]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x31c]
mov eax, dword [ebp - 0xcc]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0xc]
lea edx, [ebp - 0x18]
pop ecx
call fcn.00433ddc
jmp 0x4555aa
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
call sub.rtl160.bpl__System__LStrLAsg_qqrr27System__AnsiStringT_us_i0__x27System__AnsiStringT_us_i0__
cmp byte [0x535520], 0
je 0x4555c8
lea edx, [ebp - 0x1c]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x230]
jmp 0x455682
lea edx, [ebp - 0xd8]
xor eax, eax
call fcn.00431e40
mov eax, dword [ebp - 0xd8]
lea edx, [ebp - 0xd4]
call fcn.00431ef4
mov eax, dword [ebp - 0xd4]
lea edx, [ebp - 0xd0]
call fcn.0043206c
mov edx, dword [ebp - 0xd0]
lea eax, [ebp - 0x1c]
mov ecx, 0
call sub.rtl160.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
jmp 0x455682
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x314]
cmp al, 1
jne 0x45562f
lea edx, [ebp - 0x18]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x240]
jmp 0x45563f
lea edx, [ebp - 0x18]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x238]
mov eax, dword [ebp - 0x1c]
push eax
push 0
lea edx, [ebp - 0xdc]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x31c]
mov eax, dword [ebp - 0xdc]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0xc]
lea edx, [ebp - 0x18]
pop ecx
call fcn.00433ddc
lea edx, [ebp - 0x1c]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x230]
lea eax, [ebp - 0x88]
mov edx, 0x28
call fcn.00403694
mov dword [ebp - 0x88], 0xc0
mov eax, sub.user32.dll_DefWindowProcA
mov dword [ebp - 0x84], eax
mov eax, dword [0x537004]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x6c], 0x10
mov eax, 0x4564d0
mov dword [ebp - 0x64], eax
push 0x7f00
push 0
call sub.user32.dll_LoadCursorW
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x88]
push eax
call sub.user32.dll_RegisterClassA
test bl, bl
jne 0x4556f5
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0xc0]
test al, al
je 0x4556f5
mov edi, 0x70000
jmp 0x4556f7
xor edi, edi
or edi, 0xc80000
push edi
push 0
push 0
push 0x64
push 0x64
push 0
push 0
mov eax, dword [0x537004]
push eax
push 0
mov eax, dword [ebp - 0x1c]
call sub.rtl160.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
mov ecx, eax
mov edx, dword [ebp - 0x64]
mov eax, 9
call fcn.00403704
mov edx, dword [esi]
mov dword [edx + 0x2c], eax
mov edx, 0x450dc0
mov ecx, 0x20
mov eax, dword [esi]
call fcn.0040e1a8
mov edx, dword [esi]
mov dword [edx + 4], eax
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [esi]
mov eax, dword [eax + 0x2c]
mov edx, 0xfffffffc
call fcn.00403650
test bl, bl
jne 0x45576d
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0xc0]
test al, al
jne 0x4557b0
push 0
mov eax, dword [esi]
mov eax, dword [eax + 0x2c]
push eax
call sub.user32.dll_GetSystemMenu
mov edi, eax
push 0
push 0xf020
push edi
call sub.user32.dll_RemoveMenu
push 0
push 0xf030
push edi
call sub.user32.dll_RemoveMenu
push 0
push 0xf120
push edi
call sub.user32.dll_RemoveMenu
push 0
push 0xf000
push edi
call sub.user32.dll_RemoveMenu
push 0x4564e4
push 0
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0xfffffffffffffff5
call sub.gdi32.dll_CreateFontW
mov edi, eax
mov eax, dword [esi]
mov dword [eax + 0x10], edi
test edi, edi
jne 0x45580e
push 0x4564f4
push 0
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0xfffffffffffffff4
call sub.gdi32.dll_CreateFontW
mov edx, dword [esi]
mov dword [edx + 0x10], eax
push 0x456510
push 0
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0xfffffffffffffff5
call sub.gdi32.dll_CreateFontW
mov edx, dword [esi]
mov dword [edx + 0x14], eax
push 0x456528
push 0
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0xfffffffffffffff8
call sub.gdi32.dll_CreateFontW
mov edx, dword [esi]
mov dword [edx + 0x18], eax
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov edi, eax
mov eax, dword [esi]
mov dword [eax + 8], edi
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
push eax
push edi
call sub.gdi32.dll_SelectObject
mov edx, dword [esi]
mov dword [edx + 0x28], eax
push 1
mov eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call sub.gdi32.dll_SetBkMode
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x68]
test al, al
je 0x4558a9
test bl, bl
je 0x4558ad
xor eax, eax
jmp 0x4558af
mov al, 1
mov byte [ebp - 0x59], al
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x6c]
test al, al
je 0x4558c4
test bl, bl
je 0x4558c8
xor eax, eax
jmp 0x4558ca
mov al, 1
mov byte [ebp - 0x5a], al
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x70]
test al, al
je 0x4558df
test bl, bl
je 0x4558e3
xor eax, eax
jmp 0x4558e5
mov al, 1
mov byte [ebp - 0x5b], al
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x74]
test al, al
je 0x4558fa
test bl, bl
je 0x455903
test byte [ebp + 0xc], bl
jne 0x455903
xor eax, eax
jmp 0x455905
mov al, 1
mov byte [ebp - 0x5c], al
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x78]
or al, bl
mov byte [ebp - 0x5d], al
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x7c]
test al, al
je 0x455929
test bl, bl
je 0x45592d
xor eax, eax
jmp 0x45592f
mov al, 1
mov byte [ebp - 0x5e], al
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x80]
test al, al
je 0x455947
test bl, bl
je 0x45594b
xor eax, eax
jmp 0x45594d
mov al, 1
mov byte [ebp - 0x5f], al
test bl, bl
je 0x45597f
mov eax, dword [esi]
mov dword [eax + 0x60], 0x17
lea edx, [ebp - 0x24]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x288]
lea edx, [ebp - 0x20]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x28c]
jmp 0x4559c4
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x45599b
mov eax, dword [esi]
mov dword [eax + 0x60], 0x1a
jmp 0x4559a4
mov eax, dword [esi]
mov dword [eax + 0x60], 0x16
lea edx, [ebp - 0x24]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x260]
lea edx, [ebp - 0x20]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x25c]
movzx eax, byte [ebp - 0x59]
push eax
push 0
lea edx, [ebp - 0xe0]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x250]
mov ecx, dword [ebp - 0xe0]
mov edx, 0x27
mov eax, dword [esi]
call fcn.00450148
mov dword [ebp - 0x40], eax
movzx eax, byte [ebp - 0x5a]
push eax
push 0
lea edx, [ebp - 0xe4]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x254]
mov ecx, dword [ebp - 0xe4]
mov edx, 0x27
mov eax, dword [esi]
call fcn.00450148
mov dword [ebp - 0x44], eax
movzx eax, byte [ebp - 0x5b]
push eax
push 0
lea edx, [ebp - 0xe8]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x258]
mov ecx, dword [ebp - 0xe8]
mov edx, 0x27
mov eax, dword [esi]
call fcn.00450148
mov dword [ebp - 0x48], eax
movzx eax, byte [ebp - 0x5c]
push eax
push 0
mov ecx, dword [ebp - 0x20]
mov edx, 0x27
mov eax, dword [esi]
call fcn.00450148
mov dword [ebp - 0x4c], eax
movzx eax, byte [ebp - 0x5d]
push eax
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, 0x27
mov eax, dword [esi]
call fcn.00450148
mov dword [ebp - 0x50], eax
movzx eax, byte [ebp - 0x5e]
push eax
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0xec]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x264]
mov ecx, dword [ebp - 0xec]
mov edx, 0x27
mov eax, dword [esi]
call fcn.00450148
mov dword [ebp - 0x54], eax
movzx eax, byte [ebp - 0x5f]
push eax
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0xf0]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x268]
mov ecx, dword [ebp - 0xf0]
mov edx, 0x27
mov eax, dword [esi]
call fcn.00450148
mov dword [ebp - 0x58], eax
test bl, bl
je 0x455b05
cmp dword [ebp - 0x50], 0x4b
jge 0x455af8
mov dword [ebp - 0x50], 0x4f
cmp dword [ebp - 0x4c], 0x4b
jge 0x455b05
mov dword [ebp - 0x4c], 0x4f
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x40]
jle 0x455b12
mov edi, dword [ebp - 0xc]
jmp 0x455b15
mov edi, dword [ebp - 0x40]
cmp edi, dword [ebp - 0x4c]
jge 0x455b1d
mov edi, dword [ebp - 0x4c]
cmp edi, dword [ebp - 0x44]
jge 0x455b25
mov edi, dword [ebp - 0x44]
cmp edi, dword [ebp - 0x48]
jge 0x455b2d
mov edi, dword [ebp - 0x48]
lea eax, [ebp - 0xc4]
mov edx, 0x2c
call fcn.00403694
mov eax, edi
sub eax, 4
mov edx, dword [esi]
mov dword [edx + 0x1c], eax
mov dword [ebp - 0xc4], 0x28
mov dword [ebp - 0xc0], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
mov dword [ebp - 0xbc], eax
mov word [ebp - 0xb8], 1
mov word [ebp - 0xb6], 0x20
push 0
push 0
mov eax, dword [esi]
add eax, 0x20
push eax
push 0
lea eax, [ebp - 0xc4]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call sub.gdi32.dll_CreateDIBSection
mov edi, eax
mov eax, dword [esi]
mov dword [eax + 0xc], edi
push edi
mov eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call sub.gdi32.dll_SelectObject
mov edx, dword [esi]
mov dword [edx + 0x24], eax
mov byte [ebp - 0xd], 1
movzx edi, byte [ebp - 0x5d]
movzx eax, byte [ebp - 0x5e]
add edi, eax
movzx eax, byte [ebp - 0x5f]
add edi, eax
cmp edi, 1
jle 0x455bd8
movzx eax, byte [ebp - 0x59]
or al, byte [ebp - 0x5a]
jne 0x455bdc
cmp byte [ebp - 0x5b], 0
jne 0x455bdc
cmp byte [ebp - 0x5c], 0
jne 0x455bdc
xor eax, eax
jmp 0x455bde
mov al, 1
mov byte [ebp - 5], al
cmp edi, 1
jne 0x455beb
mov edi, 2
test bl, bl
je 0x455c16
mov eax, dword [ebp - 0x50]
add eax, 0xc
add eax, 0xe
mov dword [ebp - 0x38], eax
cmp byte [ebp + 0xc], 0
je 0x455c0d
mov eax, dword [ebp - 0x38]
add eax, 2
add eax, dword [ebp - 0x4c]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x2c], 0x1a
jmp 0x455c67
cmp byte [ebp - 5], 0
je 0x455c42
mov eax, dword [ebp - 0x40]
add eax, 6
add eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0xc]
add eax, 8
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0xc]
add eax, 0x20
add eax, 8
mov dword [ebp - 0x2c], eax
jmp 0x455c67
mov eax, dword [ebp - 0x40]
add eax, 6
add eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x50]
add eax, dword [ebp - 0x54]
add eax, dword [ebp - 0x58]
add eax, 8
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x2c], 0x1a
push 2
push 0x456540
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.kernel32.dll_FindResourceA
test eax, eax
je 0x455cc2
add dword [ebp - 0x2c], 0x28
push ebp
push 9
push 0xa
push 0x20
push 0x20
mov eax, dword [esi]
mov eax, dword [eax + 0x2c]
push eax
mov ecx, 0x800000b
xor edx, edx
mov eax, 0x456554
call fcn.00455108
pop ecx
mov edx, dword [esi]
mov dword [edx + 0x70], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x70]
mov ecx, 8
mov edx, 0xffffffeb
call fcn.00403650
jmp 0x455cc9
mov eax, dword [esi]
xor edx, edx
mov dword [eax + 0x70], edx
cmp dword [ebp - 0x38], 0x298
jge 0x455cef
push 0
mov eax, 0x298
sub eax, dword [ebp - 0x2c]
push eax
push 0
push 0
lea eax, [ebp - 0x98]
push eax
call sub.user32.dll_SetRect
jmp 0x455d08
push 0
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x2c]
push eax
push 0
push 0
lea eax, [ebp - 0x98]
push eax
call sub.user32.dll_SetRect
push 0x410
lea eax, [ebp - 0x98]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0x18]
call sub.rtl160.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
mov eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call sub.user32.dll_DrawTextA
mov eax, dword [ebp - 0x90]
add eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x38]
jle 0x455d43
mov eax, dword [ebp - 0x90]
add dword [ebp - 0x2c], eax
jmp 0x455d49
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x298
push 0
call sub.user32.dll_GetSystemMetrics
push eax
push 4
call sub.user32.dll_GetSystemMetrics
lea eax, [eax + eax*4]
pop edx
sub edx, eax
cmp edx, dword [ebp - 0x3c]
jge 0x455d82
push 0
call sub.user32.dll_GetSystemMetrics
push eax
push 4
call sub.user32.dll_GetSystemMetrics
lea eax, [eax + eax*4]
pop edx
sub edx, eax
mov dword [ebp - 0x3c], edx
test bl, bl
jne 0x455da5
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0xc0]
test al, al
je 0x455da5
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x2c]
jle 0x455da5
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi]
cmp dword [eax + 0x70], 0
je 0x455dbf
cmp dword [ebp - 0x8c], 0x1a
jge 0x455dbf
mov dword [ebp - 0x34], 0x1f
jmp 0x455dcb
mov eax, dword [ebp - 0x8c]
add eax, 5
mov dword [ebp - 0x34], eax
cmp edi, 3
jne 0x455df5
cmp byte [ebp - 5], 0
je 0x455df0
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
add eax, 4
sub dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 7
jge 0x455df5
mov dword [ebp - 0x34], 7
jmp 0x455df5
mov edi, 2
test bl, bl
je 0x455ea1
cmp byte [ebp + 0xc], 0
je 0x455e24
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x50]
add eax, 4
sub eax, dword [ebp - 0x4c]
add eax, 4
sub eax, 6
sar eax, 1
jns 0x455e1c
adc eax, 0
sub eax, 3
mov dword [ebp - 0x30], eax
jmp 0x455e3a
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x50]
add eax, 4
sar eax, 1
jns 0x455e34
adc eax, 0
sub eax, 3
mov dword [ebp - 0x30], eax
push ebp
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x34]
push eax
push 1
mov eax, dword [ebp - 0x50]
push eax
mov ecx, 4
movzx edx, byte [ebp - 0x5d]
mov eax, dword [ebp - 0x24]
call fcn.004551b4
pop ecx
mov edx, dword [esi]
mov dword [edx + 0x50], eax
add dword [ebp - 0x30], 2
push ebp
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x34]
push eax
push 1
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, 3
movzx edx, byte [ebp - 0x5c]
mov eax, dword [ebp - 0x20]
call fcn.004551b4
pop ecx
mov edx, dword [esi]
mov dword [edx + 0x44], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
add eax, 4
mov edi, eax
add edi, edi
add edi, dword [ebp - 0x34]
add edi, 0xd
jmp 0x45606b
mov dword [ebp - 0x30], 6
push ebp
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, edi
dec eax
push eax
mov eax, dword [ebp - 0x40]
push eax
lea edx, [ebp - 0xf4]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x250]
mov eax, dword [ebp - 0xf4]
xor ecx, ecx
movzx edx, byte [ebp - 0x59]
call fcn.004551b4
pop ecx
mov edx, dword [esi]
mov dword [edx + 0x38], eax
push ebp
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, edi
dec eax
push eax
mov eax, dword [ebp - 0x44]
push eax
lea edx, [ebp - 0xf8]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x254]
mov eax, dword [ebp - 0xf8]
mov ecx, 1
movzx edx, byte [ebp - 0x5a]
call fcn.004551b4
pop ecx
mov edx, dword [esi]
mov dword [edx + 0x3c], eax
push ebp
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, edi
dec eax
push eax
mov eax, dword [ebp - 0x48]
push eax
lea edx, [ebp - 0xfc]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x258]
mov eax, dword [ebp - 0xfc]
mov ecx, 2
movzx edx, byte [ebp - 0x5b]
call fcn.004551b4
pop ecx
mov edx, dword [esi]
mov dword [edx + 0x40], eax
push ebp
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, edi
dec eax
push eax
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, 3
movzx edx, byte [ebp - 0x5c]
mov eax, dword [ebp - 0x20]
call fcn.004551b4
pop ecx
mov edx, dword [esi]
mov dword [edx + 0x44], eax
cmp byte [ebp - 5], 0
je 0x455f9b
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0xc]
sub eax, 8
mov dword [ebp - 0x30], eax
jmp 0x455fad
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x58]
sub eax, 8
mov dword [ebp - 0x30], eax
push ebp
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x34]
push eax
push 0
mov eax, dword [ebp - 0x50]
push eax
mov ecx, 4
movzx edx, byte [ebp - 0x5d]
mov eax, dword [ebp - 0x24]
call fcn.004551b4
pop ecx
mov edx, dword [esi]
mov dword [edx + 0x50], eax
push ebp
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x78]
and eax, 0x7f
push eax
mov eax, dword [ebp - 0x54]
push eax
lea edx, [ebp - 0x100]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x264]
mov eax, dword [ebp - 0x100]
mov ecx, 5
movzx edx, byte [ebp - 0x5e]
call fcn.004551b4
pop ecx
mov edx, dword [esi]
mov dword [edx + 0x4c], eax
push ebp
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, edi
dec eax
push eax
mov eax, dword [ebp - 0x58]
push eax
lea edx, [ebp - 0x104]
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x268]
mov eax, dword [ebp - 0x104]
mov ecx, 6
movzx edx, byte [ebp - 0x5f]
call fcn.004551b4
pop ecx
mov edx, dword [esi]
mov dword [edx + 0x48], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
add eax, 4
imul edi
add eax, dword [ebp - 0x34]
add eax, 8
mov edi, eax
cmp byte [ebp - 0x5d], 0
je 0x4560ac
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x30c]
test al, al
jne 0x4560ac
movzx eax, byte [ebp - 0x5e]
or al, byte [ebp - 0x5f]
je 0x4560ac
push 0
mov eax, dword [esi]
mov eax, dword [eax + 0x50]
push eax
call sub.user32.dll_EnableWindow
mov eax, dword [esi]
mov eax, dword [eax + 0x50]
mov ecx, 7
mov edx, 0xffffffeb
call fcn.00403650
mov dword [ebp - 0x98], 0xb
mov dword [ebp - 0x94], 0xc
mov eax, dword [esi]
cmp dword [eax + 0x70], 0
je 0x4560f6
mov dword [ebp - 0x98], 0x33
cmp dword [ebp - 0x8c], 0x1a
jge 0x4560f6
mov eax, 0x1a
sub eax, dword [ebp - 0x8c]
sar eax, 1
jns 0x4560ed
adc eax, 0
add eax, 0xc
mov dword [ebp - 0x94], eax
push ebp
mov eax, dword [ebp - 0x98]
push eax
mov eax, dword [ebp - 0x94]
push eax
mov eax, dword [ebp - 0x90]
push eax
mov eax, dword [ebp - 0x8c]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x2c]
push eax
xor ecx, ecx
mov edx, dword [ebp - 0x18]
mov eax, 0x456568
call fcn.00455108
pop ecx
mov eax, ebx
xor al, 1
or al, byte [ebp + 0xc]
je 0x45615c
mov eax, edi
sub eax, 8
mov edx, dword [esi]
mov dword [edx + 0xa8], eax
test bl, bl
jne 0x456159
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0xc0]
test al, al
je 0x456159
add edi, 9
jmp 0x45615c
add edi, 0xb
mov dword [ebp - 0x34], edi
test bl, bl
jne 0x45617a
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0xc0]
test al, al
je 0x45617a
add edi, 0x1eb
push 1
call sub.user32.dll_GetSystemMetrics
push eax
push 4
call sub.user32.dll_GetSystemMetrics
lea eax, [eax + eax*4]
pop edx
sub edx, eax
cmp edi, edx
jle 0x4561a8
push 1
call sub.user32.dll_GetSystemMetrics
mov edi, eax
push 4
call sub.user32.dll_GetSystemMetrics
lea eax, [eax + eax*4]
sub edi, eax
test bl, bl
jne 0x45623b
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0xc0]
test al, al
je 0x45623b
push ebp
push 5
mov eax, dword [ebp - 0x34]
sub eax, 4
push eax
mov eax, dword [ebp - 0x2c]
sub eax, 0xf
push eax
mov eax, edi
sub eax, dword [ebp - 0x34]
sub eax, 6
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x2c]
push eax
xor ecx, ecx
xor edx, edx
mov eax, 0x45657c
call fcn.00455108
pop ecx
mov edx, dword [esi]
mov dword [edx + 0x30], eax
mov edx, 0x451b44
mov ecx, 0x20
mov eax, dword [esi]
call fcn.0040e1a8
mov edx, dword [esi]
mov dword [edx + 0x90], eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x90]
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov edx, 0xfffffffc
call fcn.00403650
mov edx, dword [esi]
mov dword [edx + 0x94], eax
mov eax, dword [esi]
call fcn.00454cdc
mov eax, dword [esi]
call fcn.00454610
push 4
call sub.user32.dll_GetSystemMetrics
add edi, eax
mov eax, ebx
xor al, 1
test al, al
je 0x45628e
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0xc0]
test al, al
je 0x45628e
push 0x20
call sub.user32.dll_GetSystemMetrics
push eax
push 7
call sub.user32.dll_GetSystemMetrics
pop edx
sub edx, eax
mov eax, edx
add eax, eax
add dword [ebp - 0x2c], eax
push 0x21
call sub.user32.dll_GetSystemMetrics
push eax
push 8
call sub.user32.dll_GetSystemMetrics
pop edx
sub edx, eax
mov eax, edx
add eax, eax
add edi, eax
push 4
push edi
mov eax, dword [ebp - 0x2c]
push eax
push 1
call sub.user32.dll_GetSystemMetrics
sub eax, edi
sar eax, 1
jns 0x4562a5
adc eax, 0
push eax
push 0
call sub.user32.dll_GetSystemMetrics
sub eax, dword [ebp - 0x2c]
sar eax, 1
jns 0x4562b7
adc eax, 0
push eax
push 0
mov eax, dword [esi]
mov eax, dword [eax + 0x2c]
push eax
call sub.user32.dll_SetWindowPos
lea eax, [ebp - 0x98]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x2c]
push eax
call sub.user32.dll_GetWindowRect
mov eax, dword [ebp - 0x90]
sub eax, dword [ebp - 0x98]
mov edx, dword [esi]
mov dword [edx + 0x78], eax
mov eax, dword [ebp - 0x8c]
sub eax, dword [ebp - 0x94]
mov edx, dword [esi]
mov dword [edx + 0x7c], eax
mov eax, dword [esi]
mov byte [eax + 0x80], 1
mov eax, ebx
xor al, 1
test al, al
je 0x456374
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x58]
call fcn.00433a0c
and al, byte [ebp - 0x5f]
je 0x45632a
mov eax, dword [esi]
mov eax, dword [eax + 0x48]
mov edx, dword [esi]
mov dword [edx + 0x54], eax
jmp 0x456374
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x50]
call fcn.00433a0c
and al, byte [ebp - 0x5e]
je 0x45634a
mov eax, dword [esi]
mov eax, dword [eax + 0x4c]
mov edx, dword [esi]
mov dword [edx + 0x54], eax
jmp 0x456374
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x48]
and al, byte [ebp - 0x5d]
je 0x456374
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x30c]
test al, al
je 0x456374
mov eax, dword [esi]
mov eax, dword [eax + 0x50]
mov edx, dword [esi]
mov dword [edx + 0x54], eax
mov eax, dword [esi]
cmp dword [eax + 0x54], 0
je 0x45639f
call sub.kernel32.dll_GetTickCount
mov edx, dword [esi]
mov dword [edx + 0x64], eax
push 0
push 0xa
push 0x309
mov eax, dword [esi]
mov eax, dword [eax + 0x2c]
push eax
call sub.user32.dll_SetTimer
mov edx, dword [esi]
mov dword [edx + 0x68], eax
cmp dword [0x5354ec], 0
je 0x4563b5
mov eax, dword [esi]
mov eax, dword [eax + 0x2c]
mov edx, ebx
call dword [0x5354ec]
cmp byte [ebp + 8], 0
je 0x4563c2
push 0x10
call sub.user32.dll_MessageBeep
push 1
mov eax, dword [esi]
mov eax, dword [eax + 0x2c]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [esi]
mov eax, dword [eax + 0x2c]
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4563eb
push 9
mov eax, dword [esi]
mov eax, dword [eax + 0x2c]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [esi]
mov eax, dword [eax + 0x2c]
push eax
call sub.user32.dll_BringWindowToTop
mov eax, dword [esi]
mov eax, dword [eax + 0x2c]
push eax
call sub.user32.dll_SetForegroundWindow
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x314]
cmp al, 1
jne 0x45642b
push 0
mov eax, dword [esi]
mov eax, dword [eax + 0x2c]
push eax
mov eax, dword [0x535d00]
push eax
mov eax, dword [0x535cfc]
push eax
call sub.user32.dll_PostMessageA
mov eax, dword [esi]
push eax
push 0x451aec
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x36c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45649c
lea eax, [ebp - 0x104]
mov edx, 0xb
call sub.rtl160.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0xd8]
mov edx, 3
call sub.rtl160.bpl__System__UStrArrayClr_qqrpvi
lea eax, [ebp - 0xcc]
mov edx, 2
call sub.rtl160.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x24]
mov edx, 4
call sub.rtl160.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x14]
call sub.rtl160.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
ret