Function at 0x402c50
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x88
mov edx, dword [esp + 0x8c]
push ebx
push ebp
push esi
push edi
xor eax, eax
xor ecx, ecx
mov word [esp + 0x11], ax
push 0x67
mov word [esp + 0x19], cx
xor esi, esi
push edx
mov byte [esp + 0x18], 0
mov byte [esp + 0x1b], al
mov byte [esp + 0x1c], al
mov byte [esp + 0x1f], cl
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, eax
push ebp
call dword [sym.imp.USER32.dll_GetDC]
push esi
mov edi, eax
push ebp
mov dword [esp + 0x2c], edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov ebx, dword [esp + 0xa0]
mov eax, dword [ebx]
cmp dword [eax], esi
mov dword [esp + 0x18], esi
jbe 0x402ad2
nop
imul esi, esi, 0x16
lea ecx, [esi + eax + 4]
mov eax, ecx
lea ebx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x402a40
push 0
push 0
sub eax, ebx
mov ebx, dword [sym.imp.USER32.dll_GetTabbedTextExtentA]
push eax
push ecx
push edi
call ebx
cmp word [esp + 0x20], ax
jae 0x402a63
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0xa0]
mov edx, dword [ecx]
push 0xa
lea eax, [esp + 0x14]
push eax
mov eax, dword [esi + edx + 0x16]
shr eax, 8
push eax
call fcn.00404fc8
lea eax, [esp + 0x1c]
add esp, 0xc
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402a90
push 0
push 0
sub eax, edx
push eax
lea ecx, [esp + 0x1c]
push ecx
push edi
call ebx
cmp word [esp + 0x1c], ax
jae 0x402ab1
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xa0]
mov eax, dword [edx]
inc ecx
movzx esi, cx
mov dword [esp + 0x18], ecx
cmp esi, dword [eax]
jb 0x402a30
mov ebx, edx
xor esi, esi
push esi
push esi
mov esi, dword [sym.imp.USER32.dll_GetTabbedTextExtentA]
push 8
push str.
push edi
call esi
push 0
push 0
push 1
push 0x40ec44
push edi
call esi
mov ecx, dword [ebx + 8]
push 0xa
lea eax, [esp + 0x14]
push eax
shr ecx, 8
push ecx
call fcn.00404fc8
mov eax, dword [ebx + 8]
push 0xa
lea edx, [esp + 0x24]
push edx
and eax, 0xff
push eax
call fcn.00404fc8
lea eax, [esp + 0x28]
add esp, 0x18
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x402b23
mov edi, 0x412030
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x402b34
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, 0x40ec48
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x402b51
mov edi, 0x412030
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x402b62
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x14]
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x402b80
mov edi, 0x412030
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x402b91
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0xb
mov esi, str.HASP_SRM_Run_time_Environment_Installer__v.
mov edi, 0x412030
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov edx, dword [ebx + 8]
push 0xa
lea ecx, [esp + 0x14]
push ecx
shr edx, 8
push edx
call fcn.00404fc8
mov ecx, dword [ebx + 8]
push 0xa
lea eax, [esp + 0x24]
push eax
and ecx, 0xff
push ecx
call fcn.00404fc8
lea eax, [esp + 0x28]
add esp, 0x18
mov ecx, eax
jmp 0x402bf0
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x402bf0
mov edi, 0x412030
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x402c01
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, 0x40ec7c
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x402c20
mov edi, 0x412030
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x402c31
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x14]
rep movsb byte es:[edi], byte [esi]
mov esi, eax
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402c50
mov edi, 0x412030
sub eax, esi
dec edi
nop
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x402c60
mov edx, dword [esp + 0x9c]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x412030
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0x412854
push 0
push 0x180
push ebp
call ebx
push 0x412030
push 0
push 0x180
mov ecx, 5
mov esi, str._Installed_Drivers:
mov edi, 0x412030
push ebp
rep movsd dword es:[edi], dword [esi]
call ebx
push 0x412855
push 0
push 0x180
push ebp
call ebx
mov edi, dword [esp + 0xa0]
mov eax, dword [edi]
mov ecx, dword [eax]
xor esi, esi
test ecx, ecx
jbe 0x402d26
xor ecx, ecx
imul ecx, ecx, 0x16
add ecx, eax
mov eax, dword [ecx + 0x12]
mov edx, eax
and edx, 0xff
push edx
shr eax, 8
push eax
add ecx, 4
push ecx
push 0x40ec94
push 0x412030
call fcn.004044ad
add esp, 0x14
push 0x412030
push 0
push 0x180
push ebp
call ebx
mov eax, dword [edi]
mov edx, dword [eax]
inc esi
movzx ecx, si
cmp ecx, edx
jb 0x402ce0
push 0x412856
push 0
push 0x180
mov ecx, 7
mov esi, str._Installer_Package_Drivers:
mov edi, 0x412030
push ebp
rep movsd dword es:[edi], dword [esi]
call ebx
push 0x412030
push 0
push 0x180
push ebp
call ebx
push 0x412857
push 0
push 0x180
push ebp
call ebx
mov edi, dword [esp + 0xa0]
mov eax, dword [edi]
mov ecx, dword [eax]
xor esi, esi
test ecx, ecx
jbe 0x402dbd
xor ecx, ecx
imul ecx, ecx, 0x16
add ecx, eax
mov eax, dword [ecx + 0x16]
mov edx, eax
and edx, 0xff
push edx
shr eax, 8
push eax
add ecx, 4
push ecx
push 0x40ecc8
push 0x412030
call fcn.004044ad
add esp, 0x14
push 0x412030
push 0
push 0x180
push ebp
call ebx
mov eax, dword [edi]
mov edx, dword [eax]
inc esi
movzx ecx, si
cmp ecx, edx
jb 0x402d77
push 0x412858
push 0
push 0x180
push ebp
call ebx
mov eax, dword [edi + 4]
test eax, eax
je 0x402f10
mov ecx, 8
mov esi, str._Installer_Package_Vendor_Files:
mov edi, 0x412030
rep movsd dword es:[edi], dword [esi]
push 0x412030
push 0
push 0x180
push ebp
movsb byte es:[edi], byte [esi]
call ebx
push 0x412859
push 0
push 0x180
push ebp
call ebx
mov eax, dword [esp + 0xa0]
mov eax, dword [eax + 4]
cmp dword [eax], 0
mov dword [esp + 0x18], 0
jbe 0x402f10
xor ecx, ecx
jmp 0x402e30
imul ecx, ecx, 0x84
mov dword [esp + 0x1c], ecx
lea ecx, [ecx + eax + 4]
push 0x2e
push ecx
mov edi, str..dll
call fcn.00404480
add esp, 8
mov esi, eax
mov dl, byte [esi]
mov cl, byte [edi]
mov al, dl
cmp dl, cl
jne 0x402e78
test al, al
je 0x402e74
mov cl, byte [esi + 1]
mov dl, byte [edi + 1]
mov al, cl
cmp cl, dl
jne 0x402e78
add esi, 2
add edi, 2
test al, al
jne 0x402e50
xor eax, eax
jmp 0x402e7d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x402ebc
mov edx, dword [esp + 0xa0]
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x1c]
add ecx, eax
mov eax, dword [ecx + 0x84]
mov edx, eax
and edx, 0xff
push edx
shr eax, 8
push eax
add ecx, 4
push ecx
push str.__________16s__5d._d
push 0x412030
call fcn.004044ad
add esp, 0x14
jmp 0x402ee1
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x1c]
lea eax, [edx + ecx + 4]
push eax
push str.__________16s
push 0x412030
call fcn.004044ad
add esp, 0xc
push 0x412030
push 0
push 0x180
push ebp
call ebx
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xa0]
mov eax, dword [edx + 4]
mov edx, dword [eax]
inc ecx
mov dword [esp + 0x18], ecx
movzx ecx, cx
cmp ecx, edx
jb 0x402e30
mov eax, dword [esp + 0x24]
push eax
push ebp
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [esp + 0x68]
push ecx
push 0
push 0x198
push ebp
call ebx
lea edx, [esp + 0x68]
push edx
push 0
push 0x18b
push ebp
call ebx
mov esi, dword [esp + 0x74]
mov ecx, dword [esp + 0x6c]
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
sub esi, ecx
imul esi, eax
lea eax, [esp + 0x38]
push eax
push ebp
call edi
mov ebx, dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 0x58]
push ecx
push ebp
call ebx
mov eax, dword [esp + 0x9c]
lea edx, [esp + 0x28]
push edx
push eax
call edi
mov edx, dword [esp + 0x9c]
lea ecx, [esp + 0x48]
push ecx
push edx
call ebx
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x60]
push 1
movzx eax, si
add eax, 0x14
push eax
sub edx, dword [esp + 0x34]
mov eax, dword [esp + 0x58]
push ecx
sub eax, ecx
push edx
cdq
sub eax, edx
sar eax, 1
push eax
push ebp
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [esp + 0x9c]
push 0x66
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [esp + 0x78]
mov esi, eax
push ecx
push esi
call ebx
lea edx, [esp + 0x38]
push edx
push ebp
call edi
lea eax, [esp + 0x58]
push eax
push ebp
call ebx
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x64]
push 1
push ecx
mov ecx, dword [esp + 0x88]
push ecx
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x48]
mov ebx, dword [sym.imp.USER32.dll_MoveWindow]
sub edx, ebp
lea edx, [edx + eax + 0x14]
mov eax, dword [esp + 0x5c]
sub eax, ecx
push edx
cdq
sub eax, edx
sar eax, 1
push eax
push esi
call ebx
lea eax, [esp + 0x88]
push eax
push esi
call edi
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x50]
push 1
sub ecx, eax
add ecx, 0x28
push ecx
mov ecx, dword [esp + 0xa4]
push edx
push eax
mov eax, dword [esp + 0x38]
push eax
push ecx
call ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret