Function at 0x401a30
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
sub esp, 0x240
push ebx
mov ebx, dword [esp + 0x248]
push ebp
push esi
push edi
push ebx
call fcn.00402950
mov esi, dword [esp + 0x25c]
add esp, 4
mov eax, dword [esi*4 + 0x40f440]
push eax
push 0x404
push 0x3eb
push ebx
call dword [sym.imp.USER32.dll_CheckRadioButton]
cmp esi, 7
mov dword [0x40d860], esi
ja case.default.0x401a79
jmp dword [esi*4 + 0x4025e8]
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3fc
push ebx
call ebp
mov edx, dword [0x40e224]
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [esp + 0x18]
push 0x30
push ecx
push 0x1f
push edx
mov edi, eax
call esi
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 5
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
call edi
push 0x3f2
push ebx
call ebp
mov ebp, eax
push 5
push ebp
call edi
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esp + 0x25c]
test eax, eax
jne 0x401af5
push str.Default_Conf_Struct
push ebx
call dword [sym.imp.USER32.dll_GetPropA]
add eax, 0x120
jmp 0x401b5c
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x48]
lea edx, [esp + 0x48]
rep stosd dword es:[edi], eax
mov ecx, dword [0x40b060]
push 0x102
stosw word es:[edi], ax
mov eax, dword [0x40e224]
push edx
push 0xb
push eax
mov dword [esp + 0x15c], ecx
call esi
lea edi, [esp + 0x48]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x14c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
push ebp
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov dword [0x40f488], 0
jmp case.default.0x401a79
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3fc
push ebx
call ebp
mov edx, dword [0x40e224]
lea ecx, [esp + 0x18]
push 0x30
push ecx
push 0x1e
push edx
mov edi, eax
call dword [sym.imp.USER32.dll_LoadStringA]
mov esi, dword [sym.imp.USER32.dll_SetWindowTextA]
lea eax, [esp + 0x18]
push eax
push edi
call esi
push 5
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
call edi
push 0x3f2
push ebx
call ebp
push 0x40d874
push eax
mov dword [esp + 0x18], eax
call esi
mov ecx, dword [esp + 0x10]
push 5
push ecx
call edi
mov edx, dword [esp + 0x10]
push 0
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x3fd
push ebx
call ebp
mov ecx, dword [0x40e224]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x18]
push 0x30
push eax
push 0x20
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push eax
call esi
mov ecx, dword [esp + 0x10]
push 5
push ecx
call edi
push 0x3f3
push ebx
call ebp
push str.1433
push eax
mov dword [esp + 0x18], eax
call esi
mov edx, dword [esp + 0x10]
push 5
push edx
call edi
mov eax, dword [esp + 0x10]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, dword [esp + 0x10]
or ah, 0x20
push eax
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0x3fe
push ebx
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [0x40e224]
lea edx, [esp + 0x18]
push 0x30
push edx
push 0x63
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
push edx
call esi
mov eax, dword [esp + 0x10]
push 5
push eax
call edi
push 0x3f4
push ebx
call ebp
push 0x40d874
push eax
mov dword [esp + 0x18], eax
call esi
mov ecx, dword [esp + 0x10]
push 5
push ecx
call edi
cmp dword [esp + 0x25c], 1
jne 0x401dc3
push str.Default_Conf_Struct
push ebx
mov dword [0x40f488], 0
call dword [sym.imp.USER32.dll_GetPropA]
mov edx, eax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x48]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
lea esi, [esp + 0x48]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], edx
mov edx, ecx
mov esi, edi
mov edi, eax
xor eax, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x48]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x40b054
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, dword [esp + 0x10]
and ecx, 3
lea edx, [esp + 0x48]
rep movsb byte es:[edi], byte [esi]
lea edi, [eax + 0x120]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x14], edi
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov al, byte [esp + 0x48]
test al, al
je 0x401d86
lea eax, [esp + 0x48]
cmp byte [eax], 0x2c
jne 0x401d80
mov byte [eax], 0
jmp 0x401d81
inc eax
cmp byte [eax], 0
jne 0x401d76
mov edi, dword [esp + 0x10]
push edi
push 0x3f2
push ebx
call ebp
mov esi, dword [sym.imp.USER32.dll_SetWindowTextA]
push eax
call esi
mov eax, dword [esp + 0x14]
push eax
push 0x3f3
push ebx
call ebp
push eax
call esi
add edi, 0x220
push edi
push 0x3f4
push ebx
call ebp
push eax
call esi
jmp case.default.0x401a79
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x48]
push 0x102
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x4c]
push ecx
push 0x3ea
push ebx
stosw word es:[edi], ax
call ebp
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edi, [esp + 0x48]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x401fca
lea edx, [esp + 0x48]
mov dword [0x40f488], eax
push edx
push 0x3f2
push ebx
call ebp
push eax
call esi
jmp case.default.0x401a79
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3fc
push ebx
call ebp
mov ecx, dword [0x40e224]
mov esi, eax
lea eax, [esp + 0x18]
push 0x30
push eax
push 0x1e
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
lea edx, [esp + 0x18]
push edx
push esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push esi
call edi
push 0x3f2
push ebx
call ebp
mov esi, eax
push 0x40d874
push esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 5
push esi
call edi
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x409
push ebx
call ebp
mov ecx, dword [0x40e224]
mov esi, eax
lea eax, [esp + 0x18]
push 0x30
push eax
push 0x62
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
lea edx, [esp + 0x18]
push edx
push esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 5
push esi
call edi
mov eax, dword [0x40b23c]
test eax, eax
je 0x401ec5
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
cmp eax, 0x40c
je 0x401ec5
push 1
jmp 0x401ec7
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [esp + 0x25c], 2
jne 0x401f7b
push str.Default_Conf_Struct
push ebx
mov dword [0x40f488], 0
call dword [sym.imp.USER32.dll_GetPropA]
mov edx, eax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x48]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edi, [edx + 0x120]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x10], edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x48]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov al, byte [esp + 0x48]
test al, al
je 0x401f4a
lea eax, [esp + 0x48]
cmp byte [eax], 0x2c
jne 0x401f44
mov byte [eax], 0
jmp 0x401f45
inc eax
cmp byte [eax], 0
jne 0x401f3a
lea ecx, [esp + 0x48]
push ecx
push 0x3f2
push ebx
call ebp
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edx, dword [esp + 0x10]
movsx eax, word [edx + 0x320]
push eax
push 0x409
push ebx
call dword [sym.imp.USER32.dll_CheckDlgButton]
jmp case.default.0x401a79
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x48]
push 0x102
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x4c]
push ecx
push 0x3ea
push ebx
stosw word es:[edi], ax
call ebp
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edi, [esp + 0x48]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x401fca
lea edx, [esp + 0x48]
mov dword [0x40f488], eax
push edx
push 0x3f2
push ebx
call ebp
jmp 0x4025c6
mov dword [0x40f488], 1
jmp case.default.0x401a79
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3fc
push ebx
call esi
mov ebp, dword [sym.imp.USER32.dll_SetWindowTextA]
push 0x40d874
push eax
call ebp
push 0x3ff
push ebx
call esi
mov ecx, dword [0x40e224]
mov edi, eax
lea eax, [esp + 0x18]
push 0x30
push eax
push 0x21
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
lea edx, [esp + 0x18]
push edx
push edi
call ebp
push 5
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
call edi
push 0x400
push ebx
call esi
push 1
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esp + 0x10]
push 5
push eax
call edi
push 0x401
push ebx
call esi
push 1
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [esp + 0x10]
push 5
push ecx
call edi
push 0x3fe
push ebx
call esi
push 5
push eax
call edi
push 0x3f4
push ebx
call esi
mov esi, eax
push 0x40f420
push esi
call ebp
push 5
push esi
call edi
cmp dword [esp + 0x25c], 3
jne 0x402107
push str.Default_Conf_Struct
push ebx
call dword [sym.imp.USER32.dll_GetPropA]
mov edx, eax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x48]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edi, [edx + 0x120]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x48]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
xor edx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov al, byte [esp + 0x48]
test al, al
je 0x4020f1
lea ecx, [esp + 0x48]
cmp al, 0x2c
jne 0x4020e9
inc edx
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x4020e4
test edx, edx
push 0
jle 0x402109
push 1
push ebx
call fcn.00402610
add esp, 0xc
jmp case.default.0x401a79
push 1
push 0
push ebx
call fcn.00402610
add esp, 0xc
jmp case.default.0x401a79
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3fc
push ebx
call ebp
mov edx, dword [0x40e224]
lea ecx, [esp + 0x18]
push 0x30
push ecx
push 0x29
push edx
mov esi, eax
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push esi
call edi
push 0x3f2
push ebx
call ebp
mov esi, eax
push 0x40f420
push esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 5
push esi
call edi
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x3fd
push ebx
call ebp
mov edx, dword [0x40e224]
lea ecx, [esp + 0x18]
push 0x30
push ecx
push 0x2a
push edx
mov esi, eax
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 5
push esi
call edi
push 0x3f3
push ebx
call ebp
mov esi, eax
push 0x40d874
push esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 5
push esi
call edi
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
and ah, 0xdf
push eax
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
cmp dword [esp + 0x25c], 4
jne case.default.0x401a79
push str.Default_Conf_Struct
push ebx
call dword [sym.imp.USER32.dll_GetPropA]
mov edx, eax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x48]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edi, [edx + 0x120]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x48]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov al, byte [esp + 0x48]
xor esi, esi
test al, al
je 0x40257b
cmp byte [esp + esi + 0x48], 0x40
jne 0x40224a
mov byte [esp + esi + 0x48], 0
jmp 0x40224b
inc esi
mov al, byte [esp + esi + 0x48]
test al, al
jne 0x40223c
jmp 0x40257b
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3fc
push ebx
call ebp
lea edx, [esp + 0x18]
mov esi, eax
mov eax, dword [0x40e224]
push 0x30
push edx
push 0x2b
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [esp + 0x18]
push ecx
push esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 5
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
call esi
push 0x3f2
push ebx
call ebp
mov edi, eax
push 0x40f420
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 5
push edi
call esi
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x3fd
push ebx
call ebp
lea edx, [esp + 0x18]
mov edi, eax
mov eax, dword [0x40e224]
push 0x30
push edx
push 0x2c
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [esp + 0x18]
push ecx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 5
push edi
call esi
push 0x3f3
push ebx
call ebp
mov edi, eax
push str.MSSQL
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 5
push edi
call esi
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
and ah, 0xdf
push eax
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0x3fe
push ebx
call ebp
lea edx, [esp + 0x18]
mov edi, eax
mov eax, dword [0x40e224]
push 0x30
push edx
push 0x2d
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [esp + 0x18]
push ecx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 5
push edi
call esi
push 0x3f4
push ebx
call ebp
mov edi, eax
push 0x40d874
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 5
push edi
call esi
cmp dword [esp + 0x25c], 5
jne case.default.0x401a79
push str.Default_Conf_Struct
push ebx
call dword [sym.imp.USER32.dll_GetPropA]
mov edx, eax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x48]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edi, [edx + 0x120]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x48]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, 1
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x48]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor edi, edi
xor esi, esi
xor ecx, ecx
sub edx, eax
mov al, byte [esp + edi + 0x48]
test al, al
je 0x4023ee
cmp al, 0x40
jne 0x4023e9
test esi, esi
mov byte [esp + edi + 0x48], 0
jne 0x4023e4
lea esi, [esp + edi + 0x48]
add esi, edx
jmp 0x4023e9
mov ecx, 1
inc edi
test ecx, ecx
je 0x4023c7
lea ecx, [esp + 0x48]
push ecx
push 0x3f2
push ebx
call ebp
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
test esi, esi
jle 0x402415
mov cl, byte [esp + esi + 0x48]
lea eax, [esp + esi + 0x48]
test cl, cl
je 0x402415
push eax
jmp 0x40241a
push 0x40d874
push 0x3f3
push ebx
call ebp
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov al, byte [esp + edi + 0x48]
lea edi, [esp + edi + 0x48]
test al, al
je case.default.0x401a79
push edi
push 0x3f4
push ebx
call ebp
jmp 0x4025c6
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3fc
push ebx
call ebp
lea edx, [esp + 0x18]
mov esi, eax
mov eax, dword [0x40e224]
push 0x30
push edx
push 0x27
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [esp + 0x18]
push ecx
push esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push esi
call edi
push 0x3f2
push ebx
call ebp
mov esi, eax
push 0x40f420
push esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 5
push esi
call edi
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x3fd
push ebx
call ebp
lea edx, [esp + 0x18]
mov esi, eax
mov eax, dword [0x40e224]
push 0x30
push edx
push 0x28
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [esp + 0x18]
push ecx
push esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 5
push esi
call edi
push 0x3f3
push ebx
call ebp
mov esi, eax
push 0x40b048
push esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 5
push esi
call edi
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
and ah, 0xdf
push eax
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
cmp dword [esp + 0x25c], 7
jne case.default.0x401a79
push str.Default_Conf_Struct
push ebx
call dword [sym.imp.USER32.dll_GetPropA]
mov edx, eax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x48]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edi, [edx + 0x120]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x48]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov al, byte [esp + 0x48]
xor esi, esi
test al, al
je 0x40257b
cmp byte [esp + esi + 0x48], 0x2c
jne 0x402572
mov byte [esp + esi + 0x48], 0
jmp 0x402573
inc esi
mov al, byte [esp + esi + 0x48]
test al, al
jne 0x402564
lea ecx, [esp + 0x48]
inc esi
push ecx
push 0x3f2
push ebx
call ebp
mov edi, dword [sym.imp.USER32.dll_SetWindowTextA]
push eax
call edi
mov cl, byte [esp + esi + 0x48]
lea eax, [esp + esi + 0x48]
test cl, cl
je case.default.0x401a79
push eax
push 0x3f3
push ebx
call ebp
push eax
call edi
jmp case.default.0x401a79
push ebx
call fcn.00402950
add esp, 4
push 0x3f2
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x40d874
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edx, dword [0x40d860]
push edx
push ebx
call fcn.00403670
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x240
ret