Function at 0x403210
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push edi
mov eax, dword [ebp + 8]
mov dword [0x472838], eax
push 0x10e
push 0x140
mov ecx, dword [ebp + 8]
push ecx
call fcn.00402ef0
add esp, 0xc
mov edx, dword [0x47246c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0
push 0
push 0xffffffffffffffff
push 0x1c
push 0x122
push 0xb
push 0xb
push str.S.E.A.__GmbH___Firmware_Update
push str.STATIC
mov ecx, dword [ebp + 8]
push ecx
call fcn.00402e80
add esp, 0x28
push 0
push 0
push 0xffffffffffffffff
push 0x1c
push 0x32
push 0x1f
push 0xb
push str.Firmware:
push str.STATIC
mov edx, dword [ebp + 8]
push edx
call fcn.00402e80
add esp, 0x28
push 0
push 0
push 0x78
push 0x1c
push 0xdc
push 0x1f
push 0x3d
push 0x47239c
push str.STATIC
mov eax, dword [ebp + 8]
push eax
call fcn.00402e80
add esp, 0x28
push 0
push 0xe
push 0x64
push 0x64
push 0x64
push 0x3d
push 0xb
push 0x47239c
push str.STATIC
mov ecx, dword [ebp + 8]
push ecx
call fcn.00402e80
add esp, 0x28
push 0
push 0
push 0
push 0xf
push 0x41
push 0x41
push 0xee
push str.COM_port:
push str.STATIC
mov edx, dword [ebp + 8]
push edx
call fcn.00402e80
add esp, 0x28
push 0x200
push 0x210003
push 0x32
push 0x64
push 0x41
push 0x58
push 0xeb
push 0
push str.COMBOBOX
mov eax, dword [ebp + 8]
push eax
call fcn.00402e80
add esp, 0x28
push 0
push 1
push 0x68
push 0x1c
push 0x122
push 0x8c
push 0xb
push 0x47239c
push str.STATIC
mov ecx, dword [ebp + 8]
push ecx
call fcn.00402e80
add esp, 0x28
push 0
push 1
push 0x67
push 0xe
push 0x122
push 0xa0
push 0xb
push 0x40c214
push str.STATIC
mov edx, dword [ebp + 8]
push edx
call fcn.00402e80
add esp, 0x28
push 0
push 1
push 0x66
push 0x14
push 0x122
push 0xb4
push 0xb
push 0
push str.msctls_progress32
mov eax, dword [ebp + 8]
push eax
call fcn.00402e80
add esp, 0x28
push 0
push 0x10001
push 0x65
push 0x17
push 0x78
push 0xd7
push 0x64
push str.Start
push str.BUTTON
mov ecx, dword [ebp + 8]
push ecx
call fcn.00402e80
add esp, 0x28
push 0
push 0x10001
push 0x69
push 0x17
push 0x78
push 0xd7
push 0x64
push str.Cancel
push str.BUTTON
mov edx, dword [ebp + 8]
push edx
call fcn.00402e80
add esp, 0x28
push 0
push 0x69
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.00403b80
push str.ALMO1_v2.07R_Hardware_V4
push 0x78
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 1
mov edx, dword [0x47283c]
push edx
call dword [sym.imp.USER32.dll_LoadBitmapA]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0x172
push 0x64
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x32
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
jmp 0x40347f
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [0x472470]
jge 0x4034ef
mov byte [ebp - 0x48], 0
mov ecx, 0xc
xor eax, eax
lea edi, [ebp - 0x47]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov edx, dword [ebp - 0x14]
mov eax, dword [edx*4 + 0x47247c]
add eax, 1
push eax
push str.COM_d
lea ecx, [ebp - 0x48]
push ecx
call fcn.004056de
add esp, 0xc
lea edx, [ebp - 0x48]
push edx
push 0
push 0x143
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx*4 + 0x47247c]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0x151
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x403476
call fcn.004014c0
push 0
push 0
push 0x14e
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 8], 0xe100
mov byte [ebp - 2], 1
mov byte [ebp - 1], 0
mov byte [ebp - 3], 8
mov al, byte [0x47247c]
mov byte [ebp - 4], al
lea ecx, [ebp - 8]
push ecx
call fcn.00401370
add esp, 4
cmp dword [0x472470], 1
jne 0x403561
push 0
push 0x32
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x65
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x403574
push 0x32
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
mov esp, ebp
pop ebp
ret