Function at 0x45cdd0
Capabilities:
Get graphical window text
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc14
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov ax, word [ebx + 0xc]
push eax
push 0x36b0
call fcn.004017f0
mov edx, dword [0x655c46]
add esp, 8
lea ecx, [esp + 0x620]
mov dword [esp + 0x50], eax
push 0x100
push ecx
push 0x16ae
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [0x655b28]
mov eax, 1
cmp ecx, eax
jne 0x45ce92
mov ecx, dword [ebx + 0xa4e]
mov edx, dword [0x655b2c]
mov ax, word [ebx + 0xc]
sub ecx, edx
dec ecx
push eax
push ecx
call fcn.004021e0
mov ecx, dword [0x655b34]
mov edx, dword [0x655b2c]
sub ecx, edx
cdq
idiv ecx
mov dx, word [ebx + 0xc]
inc eax
push edx
mov edx, dword [0x655b30]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0xa52]
sub eax, edx
dec eax
push eax
call fcn.004021e0
mov ecx, dword [0x655b38]
mov edx, dword [0x655b30]
sub ecx, edx
add esp, 0x10
cdq
idiv ecx
inc eax
mov dword [esp + 0x2c], eax
jmp 0x45ce9a
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x20], 0
push edx
push ebx
call fcn.00421f10
mov esi, dword [0x655b28]
mov ax, word [eax]
add esp, 8
xor ecx, ecx
cmp esi, 3
setne cl
mov esi, ecx
and eax, 0xffff
cmp esi, eax
mov dword [esp + 0x14], eax
jge 0x45cf43
mov edx, dword [ebp + 0xc]
push edx
push ebx
call fcn.00421f10
mov eax, dword [eax + 2]
push eax
call fcn.00432740
mov edi, dword [eax + esi*4]
mov word [esp + 0xac], 0x7e17
push edi
call fcn.00432740
mov cx, word [eax]
lea edx, [esp + 0xb0]
push edx
push edi
mov word [esp + 0x3c], cx
call fcn.00455d90
add esp, 0x18
test eax, eax
je 0x45cf1d
cmp word [esp + 0xa2], 0
jne 0x45cf3a
mov eax, dword [esp + 0x24]
push edi
push 0
push 0x5b
push eax
push ebx
call fcn.0042f060
mov ecx, dword [esp + 0x34]
add esp, 0x14
add ecx, eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jl 0x45cecf
mov ax, word [ebp + 0xc]
sub ax, word [ebx + 0x29c]
mov ecx, eax
and ecx, 0xffff
and ecx, reloc.oledlg.dll_OleUIAddVerbMenuA
jns 0x45cf63
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x45d031
cmp ax, 1
jbe 0x45d031
cmp word [ebx + 0xa4a], 1
jne 0x45d031
mov edx, dword [ebp + 0xc]
lea eax, [edx - 1]
push eax
push ebx
mov dword [esp + 0x2c], eax
call fcn.00421f10
mov ax, word [eax]
add esp, 8
cmp ax, 1
jbe 0x45d031
and eax, 0xffff
mov dword [esp + 0x10], 4
dec eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
push eax
push ebx
call fcn.00421f10
mov ecx, dword [eax + 2]
push ecx
call fcn.00432740
mov edx, dword [esp + 0x1c]
mov edi, dword [edx + eax]
mov word [esp + 0xac], 0x7e17
push edi
call fcn.00432740
mov si, word [eax]
lea eax, [esp + 0xb0]
push eax
push edi
call fcn.00455d90
add esp, 0x18
test eax, eax
je 0x45d002
cmp word [esp + 0xa2], 0
jne 0x45d01b
push edi
push 0
push 0x5b
push esi
push ebx
call fcn.0042f060
mov ecx, dword [esp + 0x34]
add esp, 0x14
add ecx, eax
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add ecx, 4
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jne 0x45cfb4
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0xe0]
rep stosd dword es:[edi], eax
mov eax, dword [0x655b44]
test eax, eax
je 0x45d085
mov ax, word [0x655e70]
test ax, ax
jne 0x45d075
lea ecx, [esp + 0xe0]
push ecx
push 3
push ebx
call fcn.0042a100
add esp, 0xc
mov dword [esp + 0xe4], 0
jmp 0x45d090
movsx edx, ax
mov dword [esp + edx*4 + 0xe0], 1
jmp 0x45d090
mov dword [esp + 0xe8], 1
mov eax, 1
mov dword [esp + 0x14], eax
mov ecx, dword [esp + eax*4 + 0xe0]
test ecx, ecx
je 0x45dec6
mov ecx, dword [esp + 0x2c]
mov word [0x655e70], ax
test ecx, ecx
mov dword [esp + 0x1c], 0
jle 0x45dec6
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], 0
test eax, eax
jle 0x45dead
mov eax, dword [ebp + 0x14]
and eax, 2
mov dword [esp + 0x24], eax
mov eax, dword [0x655c46]
test eax, eax
je 0x45d1b4
lea edi, [esp + 0x620]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x3c0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [0x655e92]
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
je 0x45d157
movsx ecx, word [0x655e96]
lea edi, [esp + 0x3c0]
xor eax, eax
mov edx, dword [ecx*4 + 0x5053c4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push edx
push str._nPlate_:__s
lea eax, [esp + ecx + 0x3c8]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
cmp dword [0x655b28], 1
jne 0x45d193
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
inc ecx
lea edi, [esp + 0x3c0]
push ecx
or ecx, 0xffffffff
xor eax, eax
inc edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push edx
push str._nTile_:___d____d_
lea eax, [esp + ecx + 0x3cc]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov edx, dword [0x655c46]
lea ecx, [esp + 0x3c0]
push ecx
push 0x16ae
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [esp + 0x20]
push eax
call fcn.004cecb0
mov eax, dword [esp + 0x28]
add esp, 4
test eax, eax
mov dword [0x655c22], 0
je 0x45d1e7
mov eax, dword [ebx + 0x128]
test eax, eax
jne 0x45d1e7
mov ecx, dword [ebx + 0x10]
push ecx
call dword [sym.imp.GDI32.dll_StartPage]
mov edx, dword [ebx + 0x10]
lea esi, [ebx + 0x260]
push esi
push edx
call fcn.00454980
mov eax, dword [ebx + 0x10]
mov edi, dword [ebp + 0xc]
add esp, 8
mov word [ebx + 0xe], di
mov dword [ebx + 0x240], 0
push eax
call dword [sym.imp.GDI32.dll_SaveDC]
mov eax, dword [0x655b28]
mov dword [esp + 0x10], 0
cmp eax, 1
je 0x45d23a
mov ecx, dword [0x655b3c]
test ecx, ecx
jne 0x45d23a
cmp eax, 3
jne 0x45d2f8
mov cx, word [ebx + 0xc]
mov edx, dword [ebp + 0x18]
push ecx
push edx
call fcn.004017f0
mov ecx, dword [ebp + 0x1c]
mov dword [0x655b20], eax
mov ax, word [ebx + 0xc]
push eax
push ecx
call fcn.004017f0
add esp, 0x10
mov dword [0x655b24], eax
xor eax, eax
lea ecx, [ebx + 0x38e]
push edi
push ebx
mov dword [ebx + 8], eax
mov dword [ebx + 4], eax
call fcn.0042f460
mov dx, word [ebx + 0xc]
mov eax, dword [ebx + 4]
push edx
push eax
call fcn.004017f0
mov ecx, dword [ebx + 4]
mov dx, word [ebx + 0xc]
sub ecx, eax
mov eax, dword [ebx + 8]
push edx
push eax
mov dword [esp + 0x64], ecx
call fcn.004017f0
mov ecx, dword [ebx + 8]
mov dx, word [ebx + 0xc]
sub ecx, eax
mov eax, dword [0x655b34]
push edx
push eax
mov dword [esp + 0x70], ecx
call fcn.004017f0
mov cx, word [ebx + 0xc]
mov edx, dword [0x655b38]
push ecx
push edx
mov dword [esp + 0x7c], eax
call fcn.004017f0
add esp, 0x20
mov dword [esp + 0x60], eax
lea eax, [esp + 0x54]
lea ecx, [esp + 0xd0]
push eax
push ecx
mov ecx, ebx
call fcn.004197f0
lea edx, [esp + 0xd0]
push edx
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x45d4a9
mov eax, dword [ebx + 0x128]
test eax, eax
je 0x45d4a9
cmp dword [0x6544fc], 1
jne 0x45d369
mov eax, dword [ebx + 0x264]
mov ecx, dword [0x654504]
imul eax, dword [0x656154]
mov edx, dword [esi]
sub ecx, eax
imul edx, dword [0x656150]
mov dword [esp + 0xc], ecx
sub esp, 8
fild dword [esp + 0x14]
mov dword [esp + 0x14], edx
sub esp, 8
fmul qword [0x4deb68]
fstp qword [esp + 8]
fild dword [esp + 0x1c]
fmul qword [0x4deb68]
fstp qword [esp]
push str._g__g_translate_n
jmp 0x45d3bc
mov edx, dword [ebx + 0x264]
mov eax, dword [0x654504]
imul edx, dword [0x656154]
mov ecx, dword [esi]
sub eax, edx
imul ecx, dword [0x656150]
mov edx, dword [0x6544e0]
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
sub esp, 8
sub edx, ecx
mov dword [esp + 0x14], edx
sub esp, 8
fmul qword [0x4deb68]
fstp qword [esp + 8]
fild dword [esp + 0x1c]
fmul qword [0x4deb68]
fstp qword [esp]
push str._g__g_translate__90_rotate_n
mov edi, dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [esp + 0x194]
push eax
call edi
add esp, 0x18
lea ecx, [esp + 0x180]
push eax
push ecx
mov ecx, dword [ebx + 0x128]
call fcn.0044dba0
fild dword [ebx + 0x264]
sub esp, 8
lea edx, [esp + 0x188]
sub esp, 8
fmul qword [0x4deb60]
fstp qword [esp + 8]
fild dword [esi]
fmul qword [0x4deb68]
fstp qword [esp]
push str._g__g_scale_n
push edx
call edi
mov ecx, dword [ebx + 0x128]
add esp, 0x18
push eax
lea eax, [esp + 0x184]
push eax
call fcn.0044dba0
mov al, byte [0x654f99]
test al, al
je 0x45d4a9
cmp dword [0x6544fc], 1
jne 0x45d457
mov ecx, dword [0x656150]
fild dword [0x6544e0]
lea edx, [ecx + ecx]
mov dword [esp + 0xc], edx
fidiv dword [esi]
fild dword [esp + 0xc]
jmp 0x45d473
mov eax, dword [0x656154]
fild dword [0x654504]
lea ecx, [eax + eax]
mov dword [esp + 0xc], ecx
fidiv dword [ebx + 0x264]
fild dword [esp + 0xc]
fsubp st(1)
lea ecx, [esp + 0x180]
fstp qword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
push edx
push eax
push str._g_0_translate__1_1_scale_n
push ecx
call edi
mov ecx, dword [ebx + 0x128]
add esp, 0x10
lea edx, [esp + 0x180]
push eax
push edx
call fcn.0044dba0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x45d564
mov ecx, dword [ebx + 0x128]
test ecx, ecx
je 0x45d559
lea eax, [esp + 0x520]
push str.save_newpath_n
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 8
lea ecx, [esp + 0x520]
push eax
push ecx
mov ecx, dword [ebx + 0x128]
call fcn.0044dba0
push 0
push 0
push 1
mov ecx, 0xb
sub esp, 0x30
lea esi, [esp + 0xdc]
mov edi, esp
lea edx, [esp + 0x90]
rep movsd dword es:[edi], dword [esi]
push 1
push 1
push edx
mov ecx, ebx
mov word [ebx + 0x26a], 1
movsw word es:[edi], word [esi]
call fcn.0041ba50
lea eax, [esp + 0x520]
push str.closepath_nclip_n
push eax
mov word [ebx + 0x26a], 0
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 8
lea ecx, [esp + 0x520]
push eax
push ecx
mov ecx, dword [ebx + 0x128]
call fcn.0044dba0
jmp 0x45d564
mov edx, dword [ebx + 0x10]
push eax
push edx
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov eax, dword [0x655b44]
test eax, eax
je 0x45d5e7
mov esi, dword [ebx + 0x322]
test esi, esi
jle 0x45d596
mov eax, dword [ebx + 0x32a]
lea ecx, [esp + 0x4c0]
add eax, 0x26
mov edx, esi
mov edi, dword [eax]
add eax, 0x2e
mov dword [ecx], edi
add ecx, 4
dec edx
jne 0x45d589
xor edi, edi
test esi, esi
jle 0x45d5cd
xor edx, edx
mov eax, dword [ebx + 0x32a]
lea ecx, [edx + eax + 0x26]
mov eax, dword [edx + eax + 0x26]
test eax, eax
jne 0x45d5b9
or eax, 0xff000000
mov dword [ecx], eax
jmp 0x45d5bf
mov dword [ecx], 0xffffff
mov eax, dword [ebx + 0x322]
inc edi
add edx, 0x2e
cmp edi, eax
jl 0x45d59e
mov eax, dword [esp + 0x14]
mov edx, dword [ebx + 0x32a]
lea ecx, [eax + eax*2]
shl ecx, 3
sub ecx, eax
mov dword [edx + ecx*2 + 0x26], 0
mov ax, word [ebx + 0xc]
mov ecx, dword [0x655b34]
push eax
push ecx
call fcn.004017f0
mov ecx, dword [0x655b2c]
mov edi, dword [ebp + 0x18]
sub eax, ecx
imul eax, dword [esp + 0x20]
add eax, edi
mov dword [0x655b20], eax
mov dx, word [ebx + 0xc]
mov eax, dword [0x655b38]
push edx
push eax
call fcn.004017f0
mov edi, dword [0x655b30]
mov esi, dword [ebp + 0x1c]
sub eax, edi
mov edx, dword [0x655b28]
imul eax, dword [esp + 0x2c]
mov ecx, 2
add esp, 0x10
add eax, esi
cmp edx, ecx
mov dword [0x655b24], eax
jne 0x45d6a9
cmp word [ebx + 0xa66], cx
jne 0x45d68a
mov cx, word [ebx + 0xc]
mov edx, dword [ebx + 0xa4e]
push ecx
push edx
call fcn.004021e0
mov esi, dword [ebx + 0x2b2]
mov edx, dword [0x655b34]
mov ecx, dword [0x655b20]
sub eax, esi
sub eax, edx
add esp, 8
add ecx, eax
mov eax, dword [0x655b24]
mov dword [0x655b20], ecx
jmp 0x45d69e
mov ecx, dword [ebx + 0x2b2]
mov edx, dword [0x655b20]
add edx, ecx
mov dword [0x655b20], edx
add eax, dword [ebx + 0x2b6]
mov dword [0x655b24], eax
xor esi, esi
cmp word [ebx + 0x4ea], si
jbe 0x45d6df
mov edx, esi
push 0
and edx, 0xffff
push 0x42f310
mov ax, word [ebx + edx*2 + 0x38e]
push eax
push ebx
call fcn.0045c700
add esp, 0x10
inc esi
cmp si, word [ebx + 0x4ea]
jb 0x45d6b4
push ebx
call fcn.0045c930
mov esi, dword [ebp + 0xc]
lea ecx, [ebx + 0x3b6]
lea eax, [ebx + 0x38e]
push ecx
push eax
push esi
push ebx
call fcn.004307e0
mov edx, dword [ebp + 0x20]
mov word [ebx + 0x4ea], ax
mov eax, esi
add esp, 0x14
and eax, 0xffff
and edx, 0xffff
mov dword [esp + 0x40], eax
inc eax
cmp eax, edx
jl 0x45d729
mov word [ebx + 0x4ea], 1
mov dword [esp + 0xc], 0
mov dword [esp + 0x28], 0
mov esi, dword [ebp + 0xc]
mov edx, dword [esp + 0x28]
sub esi, edx
push 1
push 0x42f310
push esi
push ebx
mov dword [esp + 0x4c], esi
call fcn.0045c700
mov eax, dword [0x6559e0]
push 0
push ebx
call dword [eax + 0x370]
push esi
push ebx
call fcn.00421f10
mov edi, eax
mov dword [esp + 0x58], edi
mov ecx, dword [edi + 2]
push ecx
call fcn.00432740
mov dword [esp + 0x70], eax
mov eax, dword [0x655b7c]
add esp, 0x24
mov dword [esp + 0x34], 1
test eax, eax
jne 0x45d89a
jmp 0x45d79a
mov edi, dword [esp + 0x38]
mov dx, word [esp + 0x34]
cmp dx, word [edi]
jae 0x45d89a
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x4c]
and eax, 0xffff
lea edx, [esp + 0xa0]
push edx
mov word [esp + 0xa4], 0x7e17
mov edi, dword [ecx + eax*4]
push edi
call fcn.00455d90
add esp, 8
test eax, eax
je 0x45d7e6
cmp word [esp + 0xa2], 0
jne 0x45d884
lea eax, [esp + 0xa0]
mov word [esp + 0xa0], 0x7e1d
push eax
push edi
call fcn.00455d90
mov edx, dword [esp + 0x14]
add esp, 8
neg eax
sbb eax, eax
xor ecx, ecx
neg eax
test edx, edx
sete cl
xor eax, ecx
je 0x45d884
push edi
push ebx
call fcn.0042f1e0
push edi
call fcn.00432740
mov si, word [eax]
push edi
push 0
push 0x5b
push esi
push ebx
call fcn.0042f060
and esi, 0xffff
mov dword [0x655c26], eax
mov eax, esi
lea edx, [eax*8]
sub edx, eax
lea ecx, [eax + edx*4]
lea edx, [eax + ecx*2]
mov ecx, dword [esp + 0x30]
push ecx
push edi
lea eax, [eax + edx*2]
mov edx, dword [0x6559e0]
push ebx
call dword [edx + eax*2 + 0xae]
mov eax, dword [0x655c22]
mov edx, dword [0x655c26]
add eax, edx
push eax
mov dword [0x655c22], eax
call fcn.004ceb90
mov esi, dword [esp + 0x6c]
add esp, 0x30
mov ecx, dword [esp + 0x34]
mov eax, dword [0x655b7c]
inc ecx
test eax, eax
mov dword [esp + 0x34], ecx
je 0x45d796
push 0
push 0x42f310
push esi
push ebx
call fcn.0045c700
mov ecx, dword [esp + 0x38]
add esp, 0x10
cmp ecx, 1
je 0x45d8f5
mov ax, word [ebp + 0xc]
sub ax, word [ebx + 0x29c]
inc eax
mov edx, eax
and edx, 0xffff
and edx, reloc.oledlg.dll_OleUIAddVerbMenuA
jns 0x45d8d5
dec edx
or edx, 0xfffffffe
inc edx
je 0x45d8f5
cmp ax, 1
jbe 0x45d8f5
cmp word [ebx + 0xa4a], 1
jne 0x45d8f5
inc ecx
cmp ecx, 2
mov dword [esp + 0x28], ecx
jl 0x45d739
mov eax, dword [esp + 0xc]
inc eax
cmp eax, 2
mov dword [esp + 0xc], eax
jl 0x45d731
push ebx
call fcn.0045c990
xor edi, edi
add esp, 4
xor esi, esi
cmp word [ebx + 0x4ea], di
jbe 0x45d947
mov eax, esi
push 1
and eax, 0xffff
push 0x42f310
mov cx, word [ebx + eax*2 + 0x38e]
push ecx
push ebx
call fcn.0045c700
add esp, 0x10
inc esi
cmp si, word [ebx + 0x4ea]
jb 0x45d91d
mov edx, dword [0x6559e0]
push 1
push ebx
call dword [edx + 0x370]
mov eax, dword [0x655b44]
add esp, 8
cmp eax, edi
je 0x45d996
mov eax, dword [ebx + 0x322]
xor edx, edx
cmp eax, edi
jle 0x45d996
xor ecx, ecx
lea eax, [esp + 0x4c0]
mov esi, dword [ebx + 0x32a]
mov edi, dword [eax]
inc edx
add eax, 4
mov dword [ecx + esi + 0x26], edi
mov esi, dword [ebx + 0x322]
add ecx, 0x2e
cmp edx, esi
jl 0x45d977
xor edi, edi
mov eax, dword [ebx + 0x10]
push 0xffffffffffffffff
push eax
call dword [sym.imp.GDI32.dll_RestoreDC]
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x45d9f0
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebx + 0x128], edi
je 0x45d9e5
lea ecx, [esp + 0x920]
push str.restore__n
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov ecx, dword [ebx + 0x128]
add esp, 8
lea edx, [esp + 0x920]
push eax
push edx
call fcn.0044dba0
jmp 0x45d9f0
mov eax, dword [ebx + 0x10]
push edi
push eax
call dword [sym.imp.GDI32.dll_SelectClipRgn]
cmp dword [0x655b28], 1
je 0x45da05
cmp dword [0x655b3c], edi
je 0x45de4e
mov cx, word [ebx + 0xc]
mov edx, dword [0x655b34]
push ecx
push edx
call fcn.004017f0
mov esi, dword [0x655b2c]
mov edx, dword [ebp + 0x18]
sub eax, esi
mov ecx, dword [0x655b38]
imul eax, dword [esp + 0x20]
add eax, edx
mov dword [0x655b20], eax
mov ax, word [ebx + 0xc]
push eax
push ecx
call fcn.004017f0
mov edx, dword [0x655b30]
mov ecx, dword [ebp + 0x1c]
sub eax, edx
mov edx, dword [ebp + 0xc]
imul eax, dword [esp + 0x2c]
add esp, 0x10
add eax, ecx
mov dword [0x655b24], eax
lea ecx, [ebx + 0x38e]
push edx
push ebx
mov dword [ebx + 8], edi
mov dword [ebx + 4], edi
mov dword [ebx + 0x240], edi
call fcn.0042f460
mov eax, 0x1f4
push edi
cdq
idiv dword [ebx + 0x260]
push eax
push edi
call dword [sym.imp.GDI32.dll_CreatePen]
mov dword [esp + 0x28], eax
push eax
mov eax, dword [ebx + 0x10]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0xc], eax
mov eax, dword [0x655b3c]
cmp eax, edi
je 0x45de03
mov esi, dword [esp + 0x50]
push 1
mov eax, esi
cdq
sub eax, edx
sar eax, 1
mov edi, eax
mov eax, dword [ebx + 0xa52]
cdq
sub eax, edx
sar eax, 1
neg edi
push eax
push edi
push ebx
call fcn.0045c770
mov eax, dword [ebx + 0xa4e]
push 0
cdq
sub eax, edx
push edi
sar eax, 1
push eax
push ebx
call fcn.0045c770
mov eax, esi
push 1
cdq
sub eax, edx
mov edi, eax
mov eax, dword [ebx + 0xa52]
cdq
sub eax, edx
sar eax, 1
sar edi, 1
push eax
mov eax, dword [ebx + 0xa4e]
mov ecx, edi
add ecx, eax
push ecx
push ebx
call fcn.0045c770
mov eax, dword [ebx + 0xa4e]
mov ecx, dword [ebx + 0xa52]
cdq
sub eax, edx
add edi, ecx
push 0
push edi
sar eax, 1
push eax
push ebx
call fcn.0045c770
add esp, 0x40
push ebx
call fcn.0045cc50
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x1c]
add esp, 4
xor edi, edi
mov dword [0x655b20], edx
push ecx
mov dword [0x655b24], eax
push ebx
lea ecx, [ebx + 0x38e]
mov dword [ebx + 8], edi
mov dword [ebx + 4], edi
call fcn.0042f460
mov eax, dword [0x655ff8]
lea edx, [esp + 0x720]
push 0x100
push edx
push 0x18af
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [esp + 0x140]
push 0x40
push ecx
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_GetDateFormatA]
lea edx, [esp + 0x280]
push 0x40
push edx
push edi
push edi
push 2
push edi
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
inc eax
xor edx, edx
mov dx, word [ebx + 0x29c]
push eax
mov eax, dword [ebx + 0x386]
inc ecx
sub eax, edx
mov edx, dword [esp + 0x44]
push ecx
add eax, edx
lea ecx, [esp + 0x288]
push eax
mov eax, dword [ebp + 0x10]
lea edx, [esp + 0x14c]
push ecx
push edx
lea ecx, [esp + 0x734]
push eax
lea edx, [esp + 0x2d8]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, 0x1770
add esp, 0x20
sub eax, esi
add esi, 0x1770
push eax
push esi
mov ecx, ebx
call fcn.004ce760
cmp dword [0x655e92], edi
je 0x45dc49
movsx ecx, word [0x655e96]
lea edi, [esp + 0x2c0]
xor eax, eax
mov edx, dword [ecx*4 + 0x5053c4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push edx
push str._Plate:__s
lea eax, [esp + ecx + 0x2c8]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
mov eax, dword [ebx + 0x128]
test eax, eax
je 0x45dcb4
lea ecx, [esp + 0x2c0]
lea edx, [esp + 0xa20]
push ecx
push edx
call fcn.0045cd80
fild dword [ebx + 0x260]
add esp, 8
lea eax, [esp + 0xa20]
lea ecx, [esp + 0x820]
fdivr qword [0x4dd938]
push eax
sub esp, 8
fstp qword [esp]
push str.1__1_scale__Courier__g_selectfont_1_1_1_1_setcmykcolor___s__show_1__1_scale_n
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov ecx, dword [ebx + 0x128]
add esp, 0x14
lea edx, [esp + 0x820]
push eax
push edx
call fcn.0044dba0
jmp 0x45de03
mov eax, dword [ebx + 0x10]
push 1
push eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ecx, dword [ebx + 0x10]
xor esi, esi
push esi
push ecx
mov dword [esp + 0x40], eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [esp + 0x4c], eax
mov eax, 0xffffd8f0
cdq
idiv dword [0x655b1c]
mov edx, dword [str.Courier_New]
mov ecx, dword [0x5057c0]
mov dword [esp + 0x80], edx
xor edx, edx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x68], esi
mov dword [esp + 0x90], edx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x94], edx
mov dword [esp + 0x70], esi
mov dword [esp + 0x98], edx
mov dword [esp + 0x74], 0x190
mov byte [esp + 0x78], 0
mov byte [esp + 0x79], 0
mov byte [esp + 0x7a], 0
mov byte [esp + 0x7b], 0
mov byte [esp + 0x7c], 0
mov byte [esp + 0x7d], 0
mov byte [esp + 0x7e], 0
mov byte [esp + 0x7f], 0
mov dword [esp + 0x88], ecx
mov dword [esp + 0x9c], edx
mov dword [esp + 0x64], eax
mov eax, dword [0x5057bc]
mov dword [esp + 0x84], eax
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov ecx, dword [ebx + 0x10]
mov esi, eax
push esi
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [ebx + 0x10]
push 1
push edx
mov dword [esp + 0x48], eax
call dword [sym.imp.GDI32.dll_SetTextAlign]
mov dword [esp + 0x3c], eax
lea edi, [esp + 0x2c0]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x2c0]
push ecx
mov ecx, dword [ebx + 0x10]
push eax
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_TextOutA]
mov edx, dword [esp + 0x40]
mov eax, dword [ebx + 0x10]
push edx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x3c]
mov edx, dword [ebx + 0x10]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SetTextAlign]
mov eax, dword [esp + 0x4c]
push eax
mov ecx, dword [ebx + 0x10]
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [esp + 0x38]
mov eax, dword [ebx + 0x10]
push edx
push eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [0x655b40]
test eax, eax
je 0x45de32
cmp dword [0x655b28], 1
jne 0x45de32
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
push ecx
push ebx
call fcn.0045cca0
add esp, 0x14
mov edx, dword [esp + 0xc]
mov eax, dword [ebx + 0x10]
push edx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
xor edi, edi
mov word [ebx + 0xe], di
mov eax, dword [0x655b7c]
cmp eax, edi
jne 0x45df01
test byte [ebp + 0x14], 1
je 0x45de8b
mov ecx, dword [ebx + 0x128]
cmp ecx, edi
je 0x45de7d
push 9
push str.showpage_n
call fcn.0044dba0
jmp 0x45de8b
mov edx, dword [ebx + 0x10]
push edx
call dword [sym.imp.GDI32.dll_EndPage]
test eax, eax
jl 0x45df01
mov eax, dword [esp + 0x20]
push eax
call fcn.004ceb90
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
add esp, 4
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x45d0e0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x45d0c2
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 0x18
mov dword [esp + 0x14], eax
jl 0x45d099
mov edx, dword [0x655c46]
lea ecx, [esp + 0x620]
push ecx
push 0x16ae
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret