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

Disassembly:
sub esp, 0x16c
push ebx
push ebp
push esi
mov esi, eax
mov eax, dword [0x497720]
test eax, eax
push edi
mov eax, 0x470fa0
jne 0x411e7f
mov eax, 0x470f94
push eax
push 1
push esi
call dword [sym.imp.user32.dll_SetDlgItemTextA]
push 0x3e8
push esi
call dword [sym.imp.user32.dll_GetDlgItem]
push 0x470844
push 0x31
push 0
push 0
push 0
push 0x80
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov esi, eax
push 0x10
mov dword [esp + 0x4c], esi
call dword [sym.imp.gdi32.dll_CreateFontA]
test eax, eax
mov dword [0x496390], eax
je 0x411ed8
push 1
push eax
push 0x30
push esi
call dword [sym.imp.user32.dll_SendMessageA]
push 0x493e50
call dword [sym.imp.kernel32.dll_lstrlenA]
mov esi, eax
push 0x493e50
lea eax, [esp + 0x7c]
push eax
call dword [sym.imp.kernel32.dll_lstrcpyA]
mov ebx, dword [sym.imp.user32.dll_wsprintfA]
lea ecx, [esp + esi + 0x78]
mov esi, 1
sub esi, 0x497724
mov dword [esp + 0x10], 0
mov dword [esp + 0x24], ecx
mov ebp, 0x4963b0
mov dword [esp + 0x20], esi
jmp 0x411f30
mov esi, dword [esp + 0x20]
jmp 0x411f30
mov edx, dword [esp + 0x10]
mov eax, dword [0x481800]
mov ecx, dword [esp + 0x24]
lea esi, [esi + edx + 0x497724]
push esi
push eax
push ecx
mov dword [esp + 0x28], esi
call ebx
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea edx, [esp + 0x90]
push edx
call dword [sym.imp.kernel32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x18], edi
jne 0x411f8b
mov eax, dword [esp + 0x10]
mov byte [eax + 0x497724], 0
jmp 0x41207a
push esi
lea ecx, [esp + 0x3c]
push 0x470f8c
push ecx
call ebx
lea edx, [ebp - 0x18]
push edx
push edi
call fcn.00410bc0
add esp, 0x14
test al, al
je 0x412068
lea eax, [esp + 0x28]
push eax
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.kernel32.dll_FileTimeToSystemTime]
mov eax, dword [ebp - 4]
test eax, eax
mov eax, dword [0x481e00]
je 0x411fcd
mov eax, dword [0x481dfc]
push ebp
push eax
lea edx, [esp + 0x43]
push 0x470f84
push edx
call ebx
lea eax, [esp + 0x48]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411fe5
sub eax, edx
mov edx, eax
cmp edx, 0x2b
jge 0x412025
mov esi, 0x2b
sub esi, edx
mov ecx, esi
mov ebx, ecx
shr ecx, 2
lea edi, [esp + edx + 0x38]
mov eax, 0x20202020
rep stosd dword es:[edi], eax
mov ecx, ebx
mov ebx, dword [sym.imp.user32.dll_wsprintfA]
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x18]
add edx, esi
mov esi, dword [esp + 0x1c]
movzx eax, word [esp + 0x34]
movzx ecx, word [esp + 0x32]
push eax
movzx eax, word [esp + 0x34]
push ecx
movzx ecx, word [esp + 0x36]
push eax
movzx eax, word [esp + 0x36]
push ecx
movzx ecx, word [esp + 0x38]
push eax
push ecx
lea edx, [esp + edx + 0x50]
push 0x470f6c
push edx
mov byte [edx], 0
call ebx
mov edx, dword [esp + 0x30]
add esp, 0x20
mov byte [edx + 0x497724], 1
jmp 0x412073
mov eax, dword [esp + 0x10]
mov byte [eax + 0x497724], 0
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ecx, dword [esp + 0x10]
mov al, byte [ecx + 0x497724]
test al, al
jne 0x4120ca
mov edx, dword [0x481804]
mov eax, dword [0x481e00]
push edx
push eax
push esi
lea ecx, [esp + 0x44]
push 0x470f60
push ecx
call ebx
xor eax, eax
mov ecx, 0x19
lea edi, [ebp - 0x18]
rep stosd dword es:[edi], eax
mov eax, dword [0x481804]
mov edx, ebp
add esp, 0x14
sub edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4120c0
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x38]
push edx
push 0
push 0x180
push eax
call dword [sym.imp.user32.dll_SendMessageA]
mov edx, dword [esp + 0x10]
inc edx
add ebp, 0x64
cmp ebp, 0x497738
mov dword [esp + 0x10], edx
jl 0x411f21
call fcn.00412f50
mov esi, eax
mov edi, dword [esp + 0x14]
mov ebx, dword [sym.imp.user32.dll_SendMessageA]
mov eax, 0x66666667
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push 0
lea ecx, [eax + eax*4]
shl ecx, 1
push ecx
push 0x197
push edi
call ebx
push 0
push esi
push 0x186
push edi
call ebx
push edi
call dword [sym.imp.user32.dll_SetFocus]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x16c
ret