Function at 0x40312c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x91c
push ebx
push esi
push edi
mov edi, ecx
push 6
push dword [edi + 4]
lea esi, [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x41f8f0]
mov ebx, dword [sym.imp.USER32.dll_LoadImageA]
push 0x8000
push 0x10
push 0x10
push 1
push 0x64
push eax
call ebx
push eax
push 0
push 0x80
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x41f8f0]
push 0x8000
push 0x20
push 0x20
push 1
push 0x64
push eax
call ebx
push eax
push 1
push 0x80
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov ecx, esi
call fcn.00406657
push 0
push 0
push 0x31
push 0xdc
push dword [esi]
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
lea ecx, [ebp - 0xc8]
push ecx
push 0x3c
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
lea eax, [ebp - 0xac]
push 0x20
push eax
push 0x76
push dword [0x41f8f0]
mov dword [ebp - 0xb8], 0x2bc
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0xc8]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
cmp dword [edi + 0x60], eax
lea ecx, [edi + 0x60]
mov dword [ebp - 4], eax
je 0x403208
call fcn.00405938
mov eax, dword [ebp - 4]
mov dword [edi + 0x60], eax
push 0
push 0
push 0x31
push 0xdc
push dword [esi]
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
lea ecx, [ebp - 0xc8]
push ecx
push 0x3c
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
lea eax, [ebp - 0xc8]
mov byte [ebp - 0xb3], 1
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
cmp dword [edi + 0x68], eax
lea ecx, [edi + 0x68]
mov dword [ebp - 4], eax
je 0x403255
call fcn.00405938
mov eax, dword [ebp - 4]
mov dword [edi + 0x68], eax
push 1
push dword [edi + 0x60]
push 0x30
push 0xdc
push dword [esi]
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov eax, dword [0x41f8f0]
xor ecx, ecx
push 0x60
push ecx
push ecx
push ecx
push 0xd3
push eax
call ebx
cmp dword [edi + 0x64], eax
lea ebx, [edi + 0x64]
mov dword [ebp - 4], eax
je 0x403294
mov ecx, ebx
call fcn.00405938
mov eax, dword [ebp - 4]
mov dword [ebx], eax
push dword [ebx]
push 0
push 0x172
push 0xe0
push dword [esi]
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push 0xc
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0xfffffffffffffff4
mov dword [edi + 0x58], 0xff0000
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push 0xdd
mov dword [edi + 0x34], eax
push dword [0x41f8f0]
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [edi + 0x38], eax
mov ebx, 0x400
lea eax, [ebp - 0x51c]
push ebx
push eax
push 0xa3
push dword [0x41f8f0]
call dword [sym.imp.USER32.dll_LoadStringA]
push 0
lea eax, [ebp - 0x51c]
push 0
push eax
lea eax, [ebp - 0x91c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x91c]
push eax
push 0xdc
push dword [esi]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
lea eax, [ebp - 0x91c]
push ebx
push eax
push 0xa1
push dword [0x41f8f0]
call dword [sym.imp.USER32.dll_LoadStringA]
push 0
lea eax, [ebp - 0x91c]
push 0
push eax
lea eax, [ebp - 0x51c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x51c]
push eax
push 0x33
push dword [esi]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
lea eax, [ebp - 0x91c]
push ebx
push eax
push 0x9c
push dword [0x41f8f0]
call dword [sym.imp.USER32.dll_LoadStringA]
push 0
lea eax, [ebp - 0x91c]
push 0
push eax
lea eax, [ebp - 0x51c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x51c]
push eax
push 0xe8
push dword [esi]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0xec
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 1
mov dword [edi + 0x30], eax
push dword [edi + 0x68]
push 0x30
push 0xec
push dword [esi]
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push 1
lea ecx, [ebp - 0x28]
call fcn.004051cd
lea eax, [ebp - 0x38]
mov dword [ebp - 8], 1
push eax
lea eax, [ebp - 8]
push eax
push dword [edi + 0x28]
call dword [sym.imp.OLEAUT32.dll_SafeArrayPutElement]
mov eax, dword [ebp - 0x38]
push dword [ebp - 0x18]
mov dword [ebp - 4], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 4]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
call fcn.004024bf
mov eax, dword [ebp - 0x24]
push ebx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x91c]
push eax
push 0xa0
push dword [0x41f8f0]
call dword [sym.imp.USER32.dll_LoadStringA]
push 0
lea eax, [ebp - 0x91c]
push dword [ebp - 4]
push eax
lea eax, [ebp - 0x51c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x51c]
push eax
push 0xdc
push dword [esi]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
lea eax, [ebp - 0x34]
mov dword [ebp - 8], 2
push eax
lea eax, [ebp - 8]
push eax
push dword [edi + 0x28]
call dword [sym.imp.OLEAUT32.dll_SafeArrayPutElement]
mov eax, dword [ebp - 0x34]
push dword [ebp - 0x18]
mov dword [ebp - 4], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 4]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
call fcn.004024bf
mov eax, dword [ebp - 0x24]
push ebx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x91c]
push eax
push 0x9f
push dword [0x41f8f0]
call dword [sym.imp.USER32.dll_LoadStringA]
push 0
lea eax, [ebp - 0x91c]
push dword [ebp - 4]
push eax
lea eax, [ebp - 0x51c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x51c]
push eax
push 0xe9
push dword [esi]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
lea eax, [ebp - 0x30]
mov dword [ebp - 8], 3
push eax
lea eax, [ebp - 8]
push eax
push dword [edi + 0x28]
call dword [sym.imp.OLEAUT32.dll_SafeArrayPutElement]
mov eax, dword [ebp - 0x30]
push dword [ebp - 0x18]
mov dword [ebp - 4], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 4]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
call fcn.004024bf
push dword [ebp - 0x24]
call fcn.004194d8
cmp dword [ebp - 0x18], 0
pop ecx
mov dword [ebp - 4], eax
je 0x40375f
push dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x40375f
cmp dword [ebp - 4], 0
jle 0x40375f
push 1
lea ecx, [ebp - 0x54]
call fcn.004051cd
mov eax, dword [0x41f8d0]
cmp dword [ebp - 4], 0x3ff
push 0x80
lea ecx, [ebp - 0x44]
push dword [eax + 8]
jle 0x4035b2
call fcn.004038f0
push dword [ebp - 0x44]
lea eax, [ebp - 0xe8]
push dword [ebp - 4]
push str._i__S
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x4035f2
call fcn.004038f0
push 0x20
lea ecx, [ebp - 0x28]
call fcn.00405493
mov eax, dword [ebp - 0x44]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
lea ecx, [ebp - 0x18]
push dword [ebp - 0xc]
call fcn.0040387c
push dword [ebp - 0x18]
lea eax, [ebp - 0xe8]
push 0x41e18c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x91c]
push ebx
push eax
push 0x9e
push dword [0x41f8f0]
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0xe8]
push 0
push eax
lea eax, [ebp - 0x91c]
push eax
lea eax, [ebp - 0x51c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x51c]
push eax
push 0xeb
push dword [esi]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0xeb
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
lea ecx, [ebp - 0x70]
call fcn.004051cd
push 1
lea ecx, [ebp - 0x8c]
call fcn.004051cd
mov eax, dword [0x41f8d0]
push 0x78
lea ecx, [ebp - 0x60]
push dword [eax + 8]
call fcn.004038f0
mov eax, dword [0x41f8d0]
push 0x79
lea ecx, [ebp - 0x7c]
push dword [eax + 8]
call fcn.004038f0
mov eax, dword [ebp - 4]
cmp eax, ebx
jge 0x4036b1
push dword [ebp - 0x60]
lea eax, [ebp - 0x11c]
push str.__1__S
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x4036e1
cdq
mov ecx, ebx
push dword [ebp - 0x7c]
idiv ecx
mov eax, edx
imul eax, eax, 0x3c
cdq
idiv ecx
push eax
mov eax, dword [ebp - 4]
cdq
idiv ecx
push dword [ebp - 0x60]
push eax
lea eax, [ebp - 0x11c]
push str._i__S__i__S
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 0x91c]
push ebx
push eax
push 0xa2
push dword [0x41f8f0]
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x11c]
push 0
push eax
lea eax, [ebp - 0x91c]
push eax
lea eax, [ebp - 0x51c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x51c]
push eax
push 0xed
push dword [esi]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0xed
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x8c]
call fcn.0040539b
lea ecx, [ebp - 0x70]
call fcn.0040539b
lea ecx, [ebp - 0x54]
call fcn.0040539b
lea eax, [ebp - 0x2c]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 8]
push eax
push dword [edi + 0x28]
call dword [sym.imp.OLEAUT32.dll_SafeArrayPutElement]
mov eax, dword [ebp - 0x2c]
push dword [edi + 0x4c]
mov dword [ebp - 0xc], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0xc]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi + 0x4c], eax
mov edi, eax
test edi, edi
je 0x403860
push edi
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x403860
lea eax, [ebp - 0x91c]
push ebx
push eax
push 0xa4
push dword [0x41f8f0]
call dword [sym.imp.USER32.dll_LoadStringA]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push 0
lea eax, [ebp - 0x91c]
push 0
push eax
lea eax, [ebp - 0x51c]
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x51c]
push eax
push 0xea
push dword [esi]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
lea eax, [ebp - 0x91c]
push ebx
push eax
push 0xa5
push dword [0x41f8f0]
call dword [sym.imp.USER32.dll_LoadStringA]
push 0
lea eax, [ebp - 0x91c]
push 0
push eax
lea eax, [ebp - 0x51c]
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x51c]
mov ebx, 0xec
push eax
push ebx
push dword [esi]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0xea
push dword [esi]
call edi
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push dword [esi]
call edi
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 9
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x28]
call fcn.0040539b
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x10