Function at 0x503da7
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
lea ecx, [ebp + 8]
mov eax, dword [ecx]
push edi
push 1
mov dword [esp + 0x18], ecx
call dword [eax + 0x50]
xor eax, eax
push ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov eax, esp
mov dword [esp + 0x30], esp
push ecx
mov dword [eax], 0x46c
mov eax, esp
lea ecx, [esp + 0x20]
mov dword [eax], ecx
mov dword [esp + 0x34], esp
push dword [ebp + 0x10]
lea eax, [ebp + 0x2b4]
call fcn.00417218
lea eax, [ebp + 0xa4]
mov dword [ebp + 0x31c], eax
call fcn.00417297
mov esi, eax
fld qword [esi + 0xb8]
fmul qword [0x54a310]
call fcn.0050f340
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp + 0x2fc], eax
mov eax, dword [esi + 0x74]
mov ecx, dword [esi + 0x3c]
push 0x42c
push dword [ebp + 0x10]
lea eax, [ecx + eax*2]
mov dword [ebp + 0x320], eax
call ebx
lea esi, [ebp + 0x1cc]
mov dword [esp + 0x2c], eax
mov eax, dword [esi]
push esi
mov ecx, esi
call dword [eax + 8]
lea edi, [esi + 8]
call fcn.00410dbc
test eax, eax
je 0x503e82
push dword [esi + 0x14]
mov edi, dword [esp + 0x30]
push 0xfffffffffffffffc
push edi
call dword [0x574f0c]
test eax, eax
je 0x503e82
mov dword [esi + 0x20], eax
mov eax, esi
mov dword [esi + 4], edi
call fcn.004621e1
push 0x3fe
push dword [ebp + 0x10]
call ebx
lea esi, [ebp + 0x228]
mov dword [esp + 0x2c], eax
mov eax, dword [esi]
push esi
mov ecx, esi
call dword [eax + 8]
lea edi, [esi + 8]
call fcn.00410dbc
test eax, eax
je 0x503ecb
push dword [esi + 0x14]
mov edi, dword [esp + 0x30]
push 0xfffffffffffffffc
push edi
call dword [0x574f0c]
test eax, eax
je 0x503ecb
mov dword [esi + 0x20], eax
mov eax, esi
mov dword [esi + 4], edi
call fcn.004621e1
mov ecx, ebp
call fcn.00502539
push 0x3ed
push dword [ebp + 0x10]
call ebx
lea esi, [ebp + 0x134]
mov ebx, eax
call fcn.00428111
mov eax, dword [0x5768f8]
mov eax, dword [eax + 0x14]
mov ecx, dword [eax]
push 0xc9
lea edx, [esp + 0x30]
push edx
push eax
call dword [ecx + 0x34]
add esp, 0xc
push dword [eax]
xor esi, esi
push esi
lea edi, [ebp + 0x138]
push edi
call fcn.004164f5
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
call fcn.00410d34
mov eax, dword [0x5768f8]
mov eax, dword [eax + 0x14]
mov ecx, dword [eax]
push 0xca
lea edx, [esp + 0x30]
push edx
push eax
call dword [ecx + 0x34]
add esp, 0xc
push dword [eax]
push 1
push edi
call fcn.004164f5
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
call fcn.00410d34
push esi
push esi
push 0x130c
push dword [edi]
call dword [0x574f08]
mov ebx, 0x4000000
push ebx
xor eax, eax
xor ecx, ecx
call fcn.0041110e
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3fc
push dword [ebp + 0x10]
call esi
mov edi, dword [0x574ed8]
push 0xfffffffffffffff0
push eax
mov dword [esp + 0x34], eax
call edi
mov ecx, eax
or ecx, ebx
cmp eax, ecx
je 0x503fa3
push ecx
push dword [esp + 0x30]
call fcn.00500479
pop ecx
pop ecx
push 0x3fd
push dword [ebp + 0x10]
call esi
push 0xfffffffffffffff0
push eax
mov dword [esp + 0x34], eax
call edi
mov ecx, eax
or ecx, ebx
cmp eax, ecx
je 0x503fca
push ecx
push dword [esp + 0x30]
call fcn.00500479
pop ecx
pop ecx
push 0x3ef
push dword [ebp + 0x10]
call esi
lea esi, [ebp + 0x284]
mov ebx, eax
call fcn.0041569c
push 0x640000
push 0
push 0x401
lea edi, [ebp + 0x288]
push dword [edi]
call dword [0x574f08]
lea eax, [ebp + 0x2a8]
call fcn.00416635
push 0x4000000
xor eax, eax
xor ecx, ecx
call fcn.0041110e
push 0x434
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_GetDlgItem]
lea esi, [ebp + 0xb8]
mov ebx, eax
call fcn.00428111
lea edi, [ebp + 0xbc]
push 0x4000000
xor eax, eax
xor ecx, ecx
call fcn.0041110e
call fcn.004e6622
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi]
mov byte [ebp + 0x124], 1
call ebx
push 0x3ec
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp + 0x15c]
mov edx, eax
call fcn.00415e23
lea esi, [ebp + 0x180]
mov eax, dword [esi]
push 0xffffff
mov ecx, esi
call dword [eax + 0x18]
mov edi, dword [esi]
push 2
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
mov ecx, esi
call dword [edi + 0x20]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 8]
lea edi, [ebp + 0x160]
push 0x4000000
xor eax, eax
xor ecx, ecx
call fcn.0041110e
push 5
push dword [edi]
call ebx
lea eax, [ebp + 0x2c]
call fcn.00416ac0
push dword [ebp + 0x138]
call dword [sym.imp.USER32.dll_SetFocus]
push 0x3ef
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call ebx
mov esi, dword [esp + 0x14]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
pop edi
pop esi
xor eax, eax
pop ebp
inc eax
pop ebx
add esp, 0x18
ret 4