Function at 0x45dd0e
Capabilities:
Get graphical window text
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [eax], edi
mov eax, dword [0x4af550]
mov dword [ebp + 0x14], eax
mov eax, dword [esi + 0x20]
test al, 0xf0
mov dword [ebp - 0x14], esi
push eax
jne 0x45dd49
call fcn.0045e36f
movzx eax, ax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
jmp 0x45dd53
call fcn.0045e36f
movzx eax, ax
push eax
push edi
call dword [sym.imp.USER32.dll_LoadIconW]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
lea ebx, [esi + 4]
push 0x3fa
mov dword [esi + 0x24], eax
push dword [ebx]
call edi
push 0x3fa
mov dword [esi + 0x54], eax
push dword [ebx]
call edi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push 0x47
push eax
call fcn.00461337
pop ecx
pop ecx
push eax
lea ecx, [ebp + 0x14]
call fcn.00403a8c
lea ecx, [ebp - 4]
call fcn.004038fb
push dword [ebp + 0x14]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x14a
push dword [esi + 0x54]
call edi
lea eax, [ebp - 4]
push 0x48
push eax
call fcn.00461337
mov eax, dword [eax]
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 4]
call fcn.004038fb
push dword [ebp - 0x10]
push 0
push 0x143
push dword [ebp - 0xc]
call edi
lea eax, [ebp - 4]
push 0x49
push eax
call fcn.00461337
pop ecx
pop ecx
push eax
lea ecx, [ebp + 0x14]
call fcn.00403a8c
lea ecx, [ebp - 4]
call fcn.004038fb
push dword [ebp + 0x14]
push 2
push 0x14a
push dword [esi + 0x54]
call edi
lea eax, [ebp - 4]
push 0x4a
push eax
call fcn.00461337
pop ecx
pop ecx
push eax
lea ecx, [ebp + 0x14]
call fcn.00403a8c
lea ecx, [ebp - 4]
call fcn.004038fb
push dword [ebp + 0x14]
push 3
push 0x14a
push dword [esi + 0x54]
call edi
push 0
push 0
push 0x14e
push dword [esi + 0x54]
call edi
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push 1
push eax
push 0x30
mov dword [ebp - 4], eax
push dword [esi + 0x54]
call edi
mov eax, dword [esi + 0x30]
test eax, eax
jle 0x45de77
push 0
push eax
push 0x14e
push dword [esi + 0x54]
call edi
push 0
push eax
push 0x14e
push dword [esi + 0x54]
call edi
push dword [ebp + 0x14]
push dword [esi + 0x54]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esi + 0x20]
and eax, 0xf
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x7c]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x8c]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x3fa
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0xfa0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 1
mov dword [ebp - 0xc], eax
push dword [ebp - 4]
push 0x30
push eax
call edi
push dword [esi + 0x68]
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [esi + 0x6c]
lea edi, [esi + 0x6c]
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push ecx
mov ecx, esp
push edi
call fcn.004038b5
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call fcn.0045dc0a
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
add dword [ebp - 0x44], 5
add dword [ebp - 0x40], 5
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0xc]
call edi
add esi, 0x58
push esi
push 0x7d1
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call edi
mov edi, dword [sym.imp.USER32.dll_ScreenToClient]
push esi
push dword [ebx]
call edi
test eax, eax
je 0x45df3e
add esi, 8
push esi
push dword [ebx]
call edi
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x68]
sub eax, dword [ebp - 0x64]
sub ecx, dword [ebp - 0x60]
add eax, dword [ebp - 0x44]
add ecx, dword [ebp - 0x40]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], ecx
jns 0x45df5c
and dword [ebp - 8], 0
test eax, eax
jge 0x45df64
and dword [ebp - 0x10], 0
lea esi, [ebp - 0x8c]
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x14]
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [edi + 0x38], esi
jne 0x45dfbd
lea eax, [ebp - 0x5c]
push eax
push 0x1770
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x4c]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x70]
push esi
sub eax, dword [ebp - 0x78]
sub eax, dword [ebp - 0x48]
mov dword [ebp - 4], eax
jmp 0x45dfbf
push 1
mov ecx, edi
call fcn.0045e48f
mov ecx, dword [ebp - 0x10]
cmp ecx, esi
jg 0x45dfd2
cmp dword [ebp - 8], esi
jle 0x45e042
mov eax, dword [ebp - 8]
add dword [ebp - 0x1c], ecx
add dword [ebp - 0x18], eax
lea esi, [ebp - 0x24]
lea edi, [ebp - 0x8c]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ecx
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0xc]
movsd dword es:[edi], dword [esi]
call fcn.0045e3ea
push 0
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push dword [ebp - 0x10]
mov edi, 0x1770
push edi
push dword [ebx]
call esi
mov ecx, dword [ebp - 0x14]
push eax
call fcn.0045e3ea
push dword [ebp - 8]
push 0
push edi
push dword [ebx]
call esi
mov ecx, dword [ebp - 0x14]
push eax
call fcn.0045e42e
push dword [ebp - 8]
push 0
push 0x3fa
push dword [ebx]
call esi
mov ecx, dword [ebp - 0x14]
push eax
call fcn.0045e42e
mov edi, dword [ebp - 0x14]
xor esi, esi
mov eax, dword [ebp - 0x18]
push esi
sub eax, dword [ebp - 4]
sub eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push esi
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [edi + 0x68]
lea ecx, [edi + 0x68]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
cmp dword [eax - 8], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], ecx
jne 0x45e087
push str.Achtung__
call fcn.00403adc
mov edx, dword [ebp - 0x28]
push 4
pop eax
cmp edx, eax
jne 0x45e0ae
cmp dword [edi + 0x28], esi
push 7
pop eax
jne 0x45e09c
mov dword [edi + 0x28], eax
mov dword [ebp - 0x3c], 6
mov dword [ebp - 0x38], eax
push 2
pop esi
jmp 0x45e139
cmp edx, 3
jne 0x45e0d6
cmp dword [edi + 0x28], esi
jne 0x45e0bf
mov dword [edi + 0x28], 2
mov dword [ebp - 0x3c], 6
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x34], 2
jmp 0x45e125
cmp edx, 5
jne 0x45e0ee
cmp dword [edi + 0x28], esi
push 2
pop esi
jne 0x45e0e6
mov dword [edi + 0x28], esi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], esi
jmp 0x45e139
push 1
pop ecx
cmp edx, ecx
jne 0x45e105
cmp dword [edi + 0x28], esi
push 2
pop esi
jne 0x45e100
mov dword [edi + 0x28], esi
mov dword [ebp - 0x3c], ecx
jmp 0x45e0e9
push 2
pop eax
cmp edx, eax
jne 0x45e12c
cmp dword [edi + 0x28], esi
jne 0x45e114
mov dword [edi + 0x28], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 4
mov dword [ebp - 0x34], 5
push 3
jmp 0x45e0a8
cmp dword [edi + 0x28], esi
jne 0x45e134
mov dword [edi + 0x28], ecx
mov dword [ebp - 0x3c], ecx
mov esi, ecx
cmp dword [edi + 0x2c], 0
je 0x45e148
mov dword [ebp + esi*4 - 0x3c], 9
inc esi
mov eax, dword [ebp - 4]
push dword [eax]
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [ebp - 0x5c]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x54]
add eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x24]
push eax
push 1
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x24]
push eax
push dword [ebx]
call edi
test eax, eax
je 0x45e1a0
lea eax, [ebp - 0x1c]
push eax
push dword [ebx]
call edi
mov eax, dword [ebp - 0x1c]
lea ecx, [esi - 1]
mov edi, eax
mov dword [ebp - 0xc], ecx
sub edi, dword [ebp - 0x24]
add edi, 5
imul edi, esi
sar edi, 1
test ecx, ecx
mov esi, 0x400
jl 0x45e257
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 8]
add ecx, edx
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0xc]
lea ecx, [ebp + ecx*4 - 0x3c]
mov dword [ebp - 8], ecx
jmp 0x45e1dd
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
xor edx, edx
push 0x51
push edx
add eax, 5
push edx
imul eax, dword [ebp - 0xc]
push dword [ebp - 0x28]
sub eax, edi
add eax, dword [ebp - 0x4c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push dword [ebp - 4]
mov ecx, dword [eax]
push edx
push ecx
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [0x4af550]
push esi
push esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], eax
call fcn.00403c58
push eax
mov eax, dword [ebp - 8]
push dword [eax]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00403cd2
lea ecx, [ebp - 0x10]
call fcn.004038fb
dec dword [ebp - 0xc]
sub dword [ebp - 8], 4
cmp dword [ebp - 0xc], 0
jge 0x45e1da
mov edi, dword [ebp - 0x14]
mov eax, dword [edi + 0x28]
test eax, eax
jle 0x45e271
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [edi + 0x28], 0
jle 0x45e29e
push esi
lea ecx, [edi + 0x70]
push esi
call fcn.00403c58
push eax
push dword [edi + 0x28]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [edi + 0x70]
call fcn.00403cd2
cmp dword [edi + 0x34], 1
jle 0x45e2b8
push 0
push 0x3e8
push 0x4d2
push dword [ebx]
call dword [sym.imp.USER32.dll_SetTimer]
push 0
mov ecx, ebx
call fcn.004035ec
lea ecx, [ebp + 0x14]
call fcn.004038fb
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10