Function at 0x403720
Capabilities:
Capture webcam image
Hide graphical window
Identify system language via api

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov edi, dword [0x42c700]
mov ecx, edi
push 0
push 0
push str.CodePage
call fcn.00402460
push eax
mov ecx, edi
call fcn.004027a0
push 0x426cdc
push 0
push str.IDC_BTN_LAUNCH
mov ecx, edi
mov dword [0x430b44], eax
call fcn.00402460
push eax
mov ecx, edi
call fcn.004027e0
mov edx, dword [0x430b44]
mov ecx, eax
call fcn.00401620
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push 0
push 0xc
push 0x3ef
push dword [0x430d70]
call ebp
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call ebx
push str.Create_shortcut...
push 0
push str.IDC_BTN_SHORTCUT
mov ecx, edi
call fcn.00402460
push eax
mov ecx, edi
call fcn.004027e0
mov edx, dword [0x430b44]
mov ecx, eax
call fcn.00401620
push eax
push 0
push 0xc
push 0x3f0
push dword [0x430d70]
call ebp
push eax
call ebx
push str.Create_HD_exe
push 0
push str.IDC_BTN_HDEXE
mov ecx, edi
call fcn.00402460
push eax
mov ecx, edi
call fcn.004027e0
mov edx, dword [0x430b44]
mov ecx, eax
call fcn.00401620
push eax
push 0
push 0xc
push 0x3f1
push dword [0x430d70]
call ebp
push eax
call ebx
push 0x426d3c
push 0
push str.IDC_BTN_EXIT
mov ecx, edi
call fcn.00402460
push eax
mov ecx, edi
call fcn.004027e0
mov edx, dword [0x430b44]
mov ecx, eax
call fcn.00401620
push eax
push 0
push 0xc
push 0x3ea
push dword [0x430d70]
call ebp
push eax
call ebx
push 0x426d54
push 0
push str.IDD_TAB_MAIN
mov ecx, edi
mov dword [esp + 0x1c], 1
call fcn.00402460
push eax
mov ecx, edi
call fcn.004027e0
mov edx, dword [0x430b44]
mov ecx, eax
call fcn.00401620
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
push 0
push 0x133d
push dword [0x430b48]
call ebx
push 0x426d74
push 0
push str.IDD_TAB_INI
mov ecx, edi
call fcn.00402460
push eax
mov ecx, edi
call fcn.004027e0
mov edx, dword [0x430b44]
mov ecx, eax
call fcn.00401620
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
push 1
push 0x133d
push dword [0x430b48]
call ebx
push 0x426d88
push 0
push str.IDD_TAB_OWN_SETTINGS
mov ecx, edi
call fcn.00402460
push eax
mov ecx, edi
call fcn.004027e0
mov edx, dword [0x430b44]
mov ecx, eax
call fcn.00401620
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
push 2
push 0x133d
push dword [0x430b48]
call ebx
push 0x426db4
push 0
push str.IDD_TAB_INFO
mov ecx, edi
call fcn.00402460
push eax
mov ecx, edi
call fcn.004027e0
mov edx, dword [0x430b44]
mov ecx, eax
call fcn.00401620
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
push 3
push 0x133d
push dword [0x430b48]
call ebx
push 0x426dd0
push 0
push str.IDD_TAB_UNINSTALL
mov ecx, edi
call fcn.00402460
push eax
mov ecx, edi
call fcn.004027e0
mov edx, dword [0x430b44]
mov ecx, eax
call fcn.00401620
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
push 4
push 0x133d
push dword [0x430b48]
call ebx
mov ecx, dword [0x42c6fc]
mov eax, dword [0x430db4]
push 5
push str.hota
push dword [eax + ecx*4]
call fcn.00410e9d
add esp, 0xc
test eax, eax
je 0x4039f0
push str.No_CD_DVD
push 0
push str.IDC_CHK_NOCD
mov ecx, edi
call fcn.00402460
push eax
mov ecx, edi
call fcn.004027e0
mov edx, dword [0x430b44]
mov ecx, eax
call fcn.00401620
push eax
push 0
push 0xc
push 0x408
push dword [0x430c54]
call ebp
push eax
call ebx
push str.Check_for_updates_every_time_when_launch_the_game
push 0
push str.IDC_CHK_UPDATE
mov ecx, edi
call fcn.00402460
push eax
mov ecx, edi
call fcn.004027e0
mov edx, dword [0x430b44]
mov ecx, eax
call fcn.00401620
push eax
push 0
push 0xc
push 0x3f9
push dword [0x430c54]
call ebp
push eax
call ebx
push str.Update
push 0
push str.IDC_BTN_UPDATE
mov ecx, edi
call fcn.00402460
push eax
mov ecx, edi
call fcn.004027e0
mov edx, dword [0x430b44]
mov ecx, eax
call fcn.00401620
push eax
push 0
push 0xc
push 0x3fa
push dword [0x430c54]
call ebp
push eax
call ebx
push 0x426e68
push 0
push str.IDC_S_COLORMODE
mov ecx, edi
call fcn.00402460
push eax
mov ecx, edi
call fcn.004027e0
mov edx, dword [0x430b44]
mov ecx, eax
call fcn.00401620
push eax
push 0
push 0xc
push 0x3ee
push dword [0x430c54]
call ebp
push eax
call ebx
push 0x426e84
push 0
push str.IDC_S_FILTER
mov ecx, edi
call fcn.00402460
push eax
mov ecx, edi
call fcn.004027e0
mov edx, dword [0x430b44]
mov ecx, eax
call fcn.00401620
push eax
push 0
push 0xc
push 0x3f3
push dword [0x430c54]
call ebp
push eax
call ebx
push 0x426ea4
push 0
push str.IDC_S_THREADS
mov ecx, edi
call fcn.00402460
push eax
mov ecx, edi
call fcn.004027e0
mov edx, dword [0x430b44]
mov ecx, eax
call fcn.00401620
push eax
push 0
push 0xc
push 0x4b1
push dword [0x430c54]
call ebp
push eax
call ebx
push 0x426ec4
push 0
push str.IDC_S_LANG
mov ecx, edi
call fcn.00402460
push eax
mov ecx, edi
call fcn.004027e0
mov edx, dword [0x430b44]
mov ecx, eax
call fcn.00401620
push eax
push 0
push 0xc
push 0x3f5
push dword [0x430c54]
call ebp
push eax
call ebx
mov ecx, dword [0x42c6fc]
mov eax, dword [0x430db4]
push 5
push str.hota
push dword [eax + ecx*4]
call fcn.00410e9d
add esp, 0xc
test eax, eax
je 0x403bbc
push str.Plugins
push 0
push str.IDC_S_PACKS
mov ecx, edi
call fcn.00402460
push eax
mov ecx, edi
call fcn.004027e0
mov edx, dword [0x430b44]
mov ecx, eax
call fcn.00401620
push eax
push 0
push 0xc
push 0x3fb
push dword [0x430c54]
call ebp
push eax
call ebx
push 0x426ef0
push 0
push str.IDC_S_GRAPHICS
mov ecx, edi
call fcn.00402460
push eax
mov ecx, edi
call fcn.004027e0
mov edx, dword [0x430b44]
mov ecx, eax
call fcn.00401620
push eax
push 0
push 0xc
push 0x412
push dword [0x430c54]
call ebp
push eax
call ebx
mov ecx, dword [0x42c6fc]
mov eax, dword [0x430db4]
push 5
push str.hota
push dword [eax + ecx*4]
call fcn.00410e9d
add esp, 0xc
test eax, eax
je 0x403d12
push 0x426f0c
push 0
push str.IDC_BTN_PACK_ADD
mov ecx, edi
call fcn.00402460
push eax
mov ecx, edi
call fcn.004027e0
mov edx, dword [0x430b44]
mov ecx, eax
call fcn.00401620
push eax
push 0
push 0xc
push 0x3fc
push dword [0x430c54]
call ebp
push eax
call ebx
push str.Remove
push 0
push str.IDC_BTN_PACK_REMOVE
mov ecx, edi
call fcn.00402460
push eax
mov ecx, edi
call fcn.004027e0
mov edx, dword [0x430b44]
mov ecx, eax
call fcn.00401620
push eax
push 0
push 0xc
push 0x3fd
push dword [0x430c54]
call ebp
push eax
call ebx
push 0x426f40
push 0
push str.IDC_BTN_PACK_UP
mov ecx, edi
call fcn.00402460
push eax
mov ecx, edi
call fcn.004027e0
mov edx, dword [0x430b44]
mov ecx, eax
call fcn.00401620
push eax
push 0
push 0xc
push 0x3fe
push dword [0x430c54]
call ebp
push eax
call ebx
push str.Down
push 0
push str.IDC_BTN_PACK_DOWN
mov ecx, edi
call fcn.00402460
push eax
mov ecx, edi
call fcn.004027e0
mov edx, dword [0x430b44]
mov ecx, eax
call fcn.00401620
push eax
push 0
push 0xc
push 0x3ff
push dword [0x430c54]
call ebp
push eax
call ebx
push 0x426f70
push 0
push str.IDC_CHK_SYSCURSORS
mov ecx, edi
call fcn.00402460
push eax
mov ecx, edi
call fcn.004027e0
mov edx, dword [0x430b44]
mov ecx, eax
call fcn.00401620
push eax
push 0
push 0xc
push 0x431
push dword [0x430c54]
call ebp
push eax
call ebx
push 0x426f94
push 0
push str.IDC_CHK_FULLSCREEN
mov ecx, edi
call fcn.00402460
push eax
mov ecx, edi
call fcn.004027e0
mov edx, dword [0x430b44]
mov ecx, eax
call fcn.00401620
push eax
push 0
push 0xc
push 0x415
push dword [0x430c54]
call ebp
push eax
call ebx
push str.Set_recommended_graphics_settings
push 0
push str.IDC_BTN_RECOMMENDED
mov ecx, edi
call fcn.00402460
push eax
mov ecx, edi
call fcn.004027e0
mov edx, dword [0x430b44]
mov ecx, eax
call fcn.00401620
push eax
push 0
push 0xc
push 0x413
push dword [0x430c54]
call ebp
push eax
call ebx
push str.Save_every_day__for_tournaments_
push 0
push str.IDC_CHK_SAVER
mov ecx, edi
call fcn.00402460
push eax
mov ecx, edi
call fcn.004027e0
mov edx, dword [0x430b44]
mov ecx, eax
call fcn.00401620
push eax
push 0
push 0xc
push 0x42f
push dword [0x430c54]
call ebp
push eax
call ebx
push 0x427028
push 0
push str.IDC_CHK_BATTLE_SAVER
mov ecx, edi
call fcn.00402460
push eax
mov ecx, edi
call fcn.004027e0
mov edx, dword [0x430b44]
mov ecx, eax
call fcn.00401620
push eax
push 0
push 0xc
push 0x45b
push dword [0x430c54]
call ebp
push eax
call ebx
mov esi, dword [0x42c700]
mov ecx, esi
push 0x427058
push 0
push str.IDC_BTN_APPLY
call fcn.00402460
push eax
mov ecx, esi
call fcn.004027e0
mov edx, dword [0x430b44]
mov ecx, eax
call fcn.00401620
push eax
push 0
push 0xc
push 0x41a
push dword [0x430c58]
call ebp
push eax
call ebx
mov esi, dword [0x42c700]
mov ecx, esi
push 0x427070
push 0
push str.IDC_BTN_UNDO
call fcn.00402460
push eax
mov ecx, esi
call fcn.004027e0
mov edx, dword [0x430b44]
mov ecx, eax
call fcn.00401620
push eax
push 0
push 0xc
push 0x419
push dword [0x430c58]
call ebp
push eax
call ebx
mov esi, dword [0x42c700]
mov ecx, esi
push 0x427088
push 0
push str.IDC_BTN_DEFAULT
call fcn.00402460
push eax
mov ecx, esi
call fcn.004027e0
mov edx, dword [0x430b44]
mov ecx, eax
call fcn.00401620
push eax
push 0
push 0xc
push 0x402
push dword [0x430c58]
call ebp
push eax
call ebx
mov esi, dword [0x42c700]
mov ecx, esi
push 0x4270a0
push 0
push str.IDC_S_ACHTUNG
call fcn.00402460
push eax
mov ecx, esi
call fcn.004027e0
mov edx, dword [0x430b44]
mov ecx, eax
call fcn.00401620
push eax
push 0
push 0xc
push 0x41b
push dword [0x430c58]
call ebp
push eax
call ebx
mov esi, dword [0x42c700]
mov ecx, esi
push 0x4270cc
push 0
push str.IDC_BTN_FIND
call fcn.00402460
push eax
mov ecx, esi
call fcn.004027e0
mov edx, dword [0x430b44]
mov ecx, eax
call fcn.00401620
push eax
push 0
push 0xc
push 0x42e
push dword [0x430c58]
call ebp
push eax
call ebx
mov ecx, dword [0x42c6fc]
mov eax, dword [0x430db4]
push 5
push str.hota
push dword [eax + ecx*4]
call fcn.00410e9d
add esp, 0xc
test eax, eax
je 0x403ff0
push 0x4270e8
push 0
push str.IDC_CHK_IG
mov ecx, edi
call fcn.00402460
push eax
mov ecx, edi
call fcn.004027e0
mov edx, dword [0x430b44]
mov ecx, eax
call fcn.00401620
push eax
push 0
push 0xc
push 0x40d
push dword [0x430c54]
call ebp
push eax
call ebx
push str.Close_after_launching_the_game
push 0
push str.IDC_CHK_CLOSE
mov ecx, edi
call fcn.00402460
push eax
mov ecx, edi
call fcn.004027e0
mov edx, dword [0x430b44]
mov ecx, eax
call fcn.00401620
push eax
push 0
push 0xc
push dword [0x430b4c]
call ebx
push 0
push dword [0x43092c]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x430de4]
push str.BAD_FOOD_
push 0
push str.IDC_LNK_INFO
mov esi, dword [eax]
mov ecx, esi
call fcn.00402460
push eax
mov ecx, esi
call fcn.004027e0
push eax
push 0
push str.IDC_LNK_INFO
mov ecx, edi
call fcn.00402460
push eax
mov ecx, edi
call fcn.004027e0
mov edx, dword [0x430b44]
mov ecx, eax
call fcn.00401620
push eax
push 0
push 0xc
push dword [0x42c4c8]
call ebx
push str.Donate_to_HoMM3_HD_Project
push 0
push str.IDC_S_DONATE
mov ecx, edi
call fcn.00402460
push eax
mov ecx, edi
call fcn.004027e0
mov edx, dword [0x430b44]
mov ecx, eax
call fcn.00401620
push eax
push 0
push 0xc
push 0x428
push dword [0x430c60]
call ebp
push eax
call ebx
push str.Rollback_last_update
push 0
push str.IDC_BTN_ROLLBACK
mov ecx, edi
call fcn.00402460
push eax
mov ecx, edi
call fcn.004027e0
mov edx, dword [0x430b44]
mov ecx, eax
call fcn.00401620
push eax
push 0
push 0xc
push 0x42a
push dword [0x430c64]
call ebp
push eax
call ebx
push str.Uninstall_HoMM3_HD
push 0
push str.IDC_BTN_UNINSTALL
mov ecx, edi
call fcn.00402460
push eax
mov ecx, edi
call fcn.004027e0
mov edx, dword [0x430b44]
mov ecx, eax
call fcn.00401620
push eax
push 0
push 0xc
push 0x42b
push dword [0x430c64]
call ebp
push eax
call ebx
mov ecx, dword [0x430dcc]
mov eax, dword [0x42c6fc]
push 0xbaadf00d
push 0
push str.Graphics.Mode
mov esi, dword [ecx + eax*4]
mov ecx, esi
call fcn.00402460
push eax
mov ecx, esi
call fcn.004027a0
cmp eax, 3
je 0x404183
cmp eax, 4
jle 0x404175
cmp eax, 6
jle 0x404183
push 0x4271f0
push 0
push str.IDC_S_REZ
jmp 0x40418f
push str.Source_size:
push 0
push str.IDC_S_REZ_2
mov ecx, edi
call fcn.00402460
push eax
mov ecx, edi
call fcn.004027e0
mov edx, dword [0x430b44]
mov ecx, eax
call fcn.00401620
push eax
push 0
push 0xc
push 0x3f2
push dword [0x430c54]
call ebp
push eax
call ebx
add edi, 0xc
push str.ru.ini
push edi
call fcn.004110d3
add esp, 8
test eax, eax
je 0x4041de
call fcn.004014d0
test eax, eax
je 0x404212
push str.en.ini
push edi
call fcn.004110d3
add esp, 8
test eax, eax
je 0x404212
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x430d94]
call esi
push 5
push dword [0x430d80]
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x430d80]
call esi
push 5
push dword [0x430d94]
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret