Function at 0x436520
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x4b3d48
call fcn.0049dfc4
sub esp, 0x1d8
push ebx
push esi
xor ebx, ebx
push edi
push ebx
push ebx
push 0x13b4
mov esi, ecx
push 0x333a
call fcn.00436c59
push ebx
push ebx
push 0x139c
push 0x36b3
mov ecx, esi
call fcn.00436c59
push ebx
push ebx
push 0x13b5
push 2
mov ecx, esi
call fcn.00436c59
mov eax, dword [0x4f1f40]
push 0x8000
push 0x10
push 0x10
push 1
push 0x333c
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
push eax
lea edi, [esi + 4]
push ebx
push 0x80
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x4f1f40]
push 0x8000
push 0x20
push 0x20
push 1
push 0x333c
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
push eax
push 1
push 0x80
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push dword [edi]
call dword [sym.imp.USER32.dll_GetSystemMenu]
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x4365f9
push 0x4f1ef8
push 1
push 0x800
push eax
call dword [sym.imp.USER32.dll_AppendMenuA]
push str.About...
push 0x10
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_AppendMenuA]
push ebx
mov ecx, edi
call fcn.004052f7
push ebx
push ebx
push 0x31
push 0xd2
push dword [edi]
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
lea ecx, [ebp - 0xb0]
push ecx
push 0x3c
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [0x4f1f40]
lea ecx, [ebp - 0x94]
push 0x20
push ecx
push 0x36b6
push eax
mov dword [ebp - 0xa0], 0x2bc
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0xa0]
cmp eax, dword [ebp - 0x10]
je 0x43667b
cmp eax, ebx
je 0x436672
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0xa0], ebx
mov eax, dword [ebp - 0x10]
mov dword [esi + 0xa0], eax
push ebx
push ebx
push 0x31
push 0xd2
push dword [edi]
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
lea ecx, [ebp - 0xb0]
push ecx
push 0x3c
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
lea eax, [ebp - 0xb0]
mov byte [ebp - 0x9b], 1
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0xa4]
cmp eax, dword [ebp - 0x10]
je 0x4366d8
cmp eax, ebx
je 0x4366cf
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0xa4], ebx
mov eax, dword [ebp - 0x10]
mov dword [esi + 0xa4], eax
mov eax, dword [esi + 0xa0]
push 1
push eax
push 0x30
push 0xd2
push dword [edi]
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push 0x333a
push dword [edi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0xfffffffffffffff4
mov dword [esi + 0x94], 0xff0000
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push 0xff6
mov dword [esi + 0x7c], eax
push dword [0x4f1f40]
call dword [sym.imp.USER32.dll_LoadCursorA]
push ebx
push ebx
push 0x1393
push 0xd2
mov ecx, esi
mov dword [esi + 0x80], eax
call fcn.00436c59
push ebx
push ebx
push 0x1391
push 0xd1
mov ecx, esi
call fcn.00436c59
push ebx
push ebx
push 0x138c
push 0xfff
mov ecx, esi
call fcn.00436c59
push 0x1002
push dword [edi]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0xa4]
push 1
push eax
push 0x30
push 0x1002
push dword [edi]
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], vtable._zstring_class_ztraits_0__.0
lea eax, [ebp - 0x34]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], 1
push dword [esi + 0x70]
call dword [sym.imp.OLEAUT32.dll_SafeArrayPutElement]
mov eax, dword [ebp - 0x34]
push dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp word [0x4e9204], bx
mov dword [ebp - 0x18], eax
mov eax, 0x4e9204
mov ecx, eax
je 0x4367f1
inc ecx
inc ecx
cmp word [ecx], bx
jne 0x4367ea
push ebx
sub ecx, eax
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.00401db4
cmp eax, dword [0x4be690]
mov dword [ebp - 0x10], eax
je 0x436853
cmp word [0x4e9204], bx
mov eax, 0x4e9204
mov ecx, eax
je 0x436822
inc ecx
inc ecx
cmp word [ecx], bx
jne 0x43681b
sub ecx, eax
sar ecx, 1
push ecx
push eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
call fcn.00416b30
cmp word [0x4e9204], bx
mov eax, 0x4e9204
mov ecx, eax
je 0x43684a
inc ecx
inc ecx
cmp word [ecx], bx
jne 0x436843
mov edx, dword [ebp - 0x10]
add edx, 2
push edx
jmp 0x4367f2
lea ecx, [ebp - 0x24]
call fcn.00402f35
push ebx
mov ecx, esi
push dword [ebp - 0x20]
push 0x1390
push 0xd2
call fcn.00436c59
lea eax, [ebp - 0x30]
mov dword [ebp - 0x14], 2
push eax
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0x70]
call dword [sym.imp.OLEAUT32.dll_SafeArrayPutElement]
mov eax, dword [ebp - 0x30]
push dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp word [0x4e9204], bx
mov ecx, 0x4e9204
mov dword [ebp - 0x18], eax
mov eax, ecx
je 0x4368ba
inc eax
inc eax
cmp word [eax], bx
jne 0x4368b3
sub eax, ecx
push ebx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x24]
call fcn.00401db4
cmp eax, dword [0x4be690]
mov dword [ebp - 0x10], eax
je 0x436922
cmp word [0x4e9204], bx
mov eax, 0x4e9204
mov ecx, eax
je 0x4368eb
inc ecx
inc ecx
cmp word [ecx], bx
jne 0x4368e4
sub ecx, eax
sar ecx, 1
push ecx
push eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
call fcn.00416b30
cmp word [0x4e9204], bx
mov eax, 0x4e9204
mov ecx, eax
je 0x436913
inc ecx
inc ecx
cmp word [ecx], bx
jne 0x43690c
mov edx, dword [ebp - 0x10]
sub ecx, eax
add edx, 2
sar ecx, 1
push edx
push ecx
push eax
jmp 0x4368c1
lea ecx, [ebp - 0x24]
call fcn.00402f35
push ebx
mov ecx, esi
push dword [ebp - 0x20]
push 0x138f
push 0x1000
call fcn.00436c59
lea eax, [ebp - 0x38]
mov dword [ebp - 0x14], 3
push eax
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0x70]
call dword [sym.imp.OLEAUT32.dll_SafeArrayPutElement]
mov eax, dword [ebp - 0x38]
push dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x18], eax
call fcn.00402f35
push dword [ebp - 0x20]
call fcn.0049f42c
cmp dword [ebp - 0x18], ebx
pop ecx
mov dword [ebp - 0x10], eax
je 0x436b2c
push dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x436b2c
cmp dword [ebp - 0x10], ebx
jle 0x436b2c
mov dword [ebp - 0x40], ebx
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.00401e1e
mov dword [ebp - 0x4c], 0x4be6cc
push dword [esi + 0x9c]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
push 0x13ab
call fcn.0041102b
lea ecx, [ebp - 0x4c]
call fcn.00402f35
push dword [ebp - 0x48]
lea eax, [ebp - 0x1e4]
push dword [ebp - 0x10]
push str._i__s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x1e4]
mov ecx, esi
push ebx
push eax
push 0x138e
push 0x1003
call fcn.00436c59
push 0x1003
push dword [edi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 0x54], ebx
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 3
call fcn.00401e1e
mov dword [ebp - 0x60], 0x4be6cc
mov dword [ebp - 0x68], ebx
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 5
call fcn.00401e1e
mov dword [ebp - 0x74], 0x4be6cc
push dword [esi + 0x9c]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 6
push 0x13af
call fcn.0041102b
push dword [esi + 0x9c]
lea ecx, [ebp - 0x74]
push 0x13b0
call fcn.0041102b
mov eax, dword [ebp - 0x10]
cmp eax, 0x19b
jge 0x436aa2
push dword [ebp - 0x54]
lea eax, [ebp - 0xe4]
push str.__1__S
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x436ada
cdq
mov ecx, 0x19b
push dword [ebp - 0x68]
idiv ecx
mov eax, edx
imul eax, eax, 0x3c
cdq
idiv ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
cdq
idiv ecx
push dword [ebp - 0x28]
push dword [ebp - 0x54]
push eax
lea eax, [ebp - 0xe4]
push str._i__S__i__S
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 0xe4]
push ebx
push eax
push 0x1392
push 0x1005
mov ecx, esi
call fcn.00436c59
push 0x1005
push dword [edi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 4
call fcn.004012b4
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call fcn.004012b4
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.004012b4
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x14], 4
push eax
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0x70]
call dword [sym.imp.OLEAUT32.dll_SafeArrayPutElement]
mov eax, dword [ebp - 0x2c]
push dword [esi + 0x90]
mov dword [ebp - 0x28], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x28]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, ebx
mov dword [esi + 0x90], eax
je 0x436b9d
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x436b9d
push ebx
push ebx
push 0x1394
push 0x1002
mov ecx, esi
call fcn.00436c59
push 0x1002
push dword [edi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 6
push dword [edi]
call esi
push 9
push dword [edi]
call esi
mov eax, dword [ebp + 0x14]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
mov dword [eax], ebx
call fcn.004012b4
mov ecx, dword [ebp - 0xc]
push 1
pop eax
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10