Function at 0x10012160
Capabilities:
Get graphical window text
Get session user name

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb0c
mov eax, dword [0x1003f6e4]
xor eax, esp
mov dword [esp + 0xb08], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [esp + 0xc], ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x20], edi
cmp eax, 0x7b
ja 0x10012223
je 0x10013b6a
sub eax, 2
je 0x100121c6
sub eax, 0x51
je 0x10013b6a
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb08]
xor ecx, esp
call fcn.1003a1d0
mov esp, ebp
pop ebp
ret 0x10
push 8
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov esi, eax
test esi, esi
je 0x1001220a
mov eax, dword [esi + 0x28]
test eax, eax
je 0x100121f6
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x30], 0
jne 0x100121f6
push eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
mov dword [esi + 0x28], 0
cmp word [esi + 0x24], 0
jbe 0x1001220a
push 0
push 0x12
xor edx, edx
xor ecx, ecx
call fcn.10039807
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb08]
xor ecx, esp
call fcn.1003a1d0
mov esp, ebp
pop ebp
ret 0x10
sub eax, 0x110
je 0x10013391
sub eax, 1
jne 0x1001220a
push 8
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ebx, eax
test ebx, ebx
je 0x1001220a
mov edx, dword [ebp + 0x10]
mov esi, dword [ebx + 4]
movzx eax, dx
mov ecx, eax
cmp eax, 0x3e8
ja 0x10012981
je case.0x100129a8.1006
dec ecx
cmp ecx, 0xa0
ja case.0x100129a8.1008
movzx eax, byte [ecx + 0x10013bc0]
jmp dword [eax*4 + 0x10013b88]
push 0x64
push edi
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x100132c9
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
cmp byte [esi + 0xa8], 0x1b
mov dword [esp + 0x10], eax
jne 0x100122b1
mov edx, esi
mov ecx, edi
call fcn.10017db0
mov edx, ebx
mov ecx, edi
call fcn.100114a0
movzx eax, ax
mov dword [esp + 0x18], eax
test ax, ax
je 0x100122f5
cmp ax, 1
je 0x100122f5
push 0x104
lea edx, [esp + 0x6b4]
mov ecx, 0xadda
call fcn.10032350
push 0x10
push 0
lea eax, [esp + 0x6b8]
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
test byte [ebx + 0x16], 2
jne 0x100123c8
cmp word [ebx + 0x18], 0
jne 0x100123c8
mov eax, dword [esi + 0x1c]
mov ecx, 0x10004918
mov dword [esp + 0x1c], eax
call fcn.100399af
mov esi, eax
test esi, esi
je 0x10012337
push dword [esp + 0x1c]
mov ecx, esi
call dword [0x10042350]
call esi
test eax, eax
jne 0x100123c8
push 0x104
lea edx, [esp + 0x4ac]
mov ecx, 0xadd9
call fcn.10032350
mov eax, dword [ebx + 4]
lea edx, [esp + 0x6b0]
push 0x104
mov ecx, dword [eax + 0xac]
mov ecx, dword [ecx + 8]
call fcn.10032350
lea eax, [esp + 0x6b0]
push eax
lea eax, [esp + 0x4ac]
push eax
lea eax, [esp + 0x50]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_swprintf_s]
add esp, 0x10
lea edx, [esp + 0x6b0]
mov ecx, 0xadec
push 0x104
call fcn.10032350
push 0x30
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x6b8]
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x100132c9
mov edx, ebx
mov ecx, edi
call fcn.10018200
push dword [esp + 0x10]
test eax, eax
jne 0x100123e4
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x100132c9
call dword [sym.imp.USER32.dll_SetCursor]
mov ecx, dword [esp + 0x18]
movsx eax, cx
push eax
push edi
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x100132c9
mov edx, ebx
mov ecx, edi
call fcn.100114a0
push 0x86
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x1001242c
push 0
push 0x86
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push ebx
mov edx, 1
mov ecx, edi
call fcn.100186c0
push ebx
push edi
call sym.odbcjt32.dll_InitDialogAgain
mov cl, byte [esi + 0xa8]
xor eax, eax
mov dword [esp + 0x14], eax
cmp cl, 0x19
jne 0x10012460
push 0x76
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x14], eax
jmp 0x100124cb
cmp cl, 0x15
je 0x100124b8
cmp cl, 0x18
je 0x100124b8
cmp cl, 0x1a
je 0x100124b8
cmp cl, 0x1b
jne 0x100124a1
push 0xa0
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x100124c7
push 0xa1
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x14], eax
jmp 0x100124cb
cmp cl, 0x16
jne 0x100124cb
push 0x81
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x14], eax
jmp 0x100124cb
push 0x75
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x14], eax
jmp 0x100124cb
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov al, byte [esi + 0xa8]
cmp al, 0x19
je 0x100124e4
cmp al, 0x16
jne 0x100132c9
push 0xffff0000
push 0
push 0xb1
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x100132c9
mov edx, ebx
mov ecx, edi
call fcn.100114a0
push 0x7b
mov edx, ebx
mov ecx, edi
call fcn.10013ef0
push ebx
push edi
call sym.odbcjt32.dll_InitDialogAgain
mov edx, ebx
mov ecx, edi
call fcn.10017f90
jmp 0x100132c9
mov edx, ebx
mov ecx, edi
call fcn.100114a0
cmp byte [esi + 0xa8], 0x16
jne 0x10012555
mov al, byte [esi + 0xa9]
test al, al
je 0x10012548
cmp al, 3
jne 0x10012555
push 0x77
mov edx, ebx
mov ecx, edi
call fcn.10013ef0
jmp 0x10012565
mov ecx, dword [ebp + 0x10]
mov edx, ebx
movzx eax, cx
mov ecx, edi
push eax
call fcn.10015910
push ebx
push edi
movzx esi, ax
call sym.odbcjt32.dll_InitDialogAgain
mov edx, ebx
mov ecx, edi
call fcn.10011f70
mov edx, ebx
mov ecx, edi
call fcn.10017f90
test si, si
jne 0x100132c9
mov edx, ebx
mov ecx, edi
call fcn.10011d10
jmp 0x100132c9
mov edx, ebx
mov ecx, edi
call fcn.100114a0
mov edx, ebx
mov ecx, edi
call fcn.10015cc0
jmp 0x10012513
mov edx, ebx
mov ecx, edi
call fcn.100114a0
push 0x7b
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x100125d7
push 0
push 0x7b
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [esi + 0x24], 0
je 0x10012513
push 0x104
lea edx, [esp + 0x4ac]
mov ecx, 0xae11
call fcn.10032350
lea eax, [esp + 0x4a8]
push eax
push 0
push 0xc
push 0x426
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x10041388
push 0
push 0xc
push 0xa5
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x24]
test eax, eax
je 0x10012643
push eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
mov dword [esi + 0x24], 0
jmp 0x10012513
mov edx, ebx
mov ecx, edi
call fcn.100114a0
push 0x7b
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x100132c9
push 1
push 0x7b
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x100132c9
mov edx, ebx
mov ecx, edi
call fcn.100114a0
mov esi, dword [0x1004138c]
mov ecx, esi
push ebx
push sym.odbcjt32.dll_DefTxtFmtDlgProc
push edi
push 0x1c
call dword [0x10042350]
call esi
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
push ebx
push edi
call sym.odbcjt32.dll_InitDialogAgain
jmp 0x100132c9
push 0xa0
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0xa2
push edi
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0x18b
push dword [esp + 0x1c]
mov esi, eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0x3c
jle 0x1001273a
push 0x12c
lea edx, [esp + 0x8bc]
mov ecx, 0xae12
call fcn.10032350
push 0x12c
lea eax, [esp + 0x254]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x30
lea eax, [esp + 0x254]
push eax
lea eax, [esp + 0x8c0]
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
push ebx
push edi
call sym.odbcjt32.dll_InitDialogAgain
jmp 0x100132c9
push 0x104
lea eax, [esp + 0x4ac]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x104
lea eax, [esp + 0x4c]
mov ecx, edi
push eax
lea edx, [esp + 0x4b0]
call fcn.10017b80
cmp word [esp + 0x48], 0
je 0x100127a6
lea eax, [esp + 0x48]
push eax
push 0
push 0x180
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push eax
push 0x186
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x48]
push eax
push 0
push 0xc
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
push 0xffff0000
push 0
push 0xb1
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, ebx
mov ecx, edi
call fcn.10017980
push ebx
push edi
call sym.odbcjt32.dll_InitDialogAgain
jmp 0x100132c9
push 0xa0
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0x188
push eax
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov esi, eax
push esi
push 0x182
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x18b
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, eax
jl 0x10012821
dec esi
test esi, esi
js 0x100127c0
push 0
push esi
push 0x186
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x4a8]
push 0x104
push eax
mov edx, esi
call fcn.10018eb0
lea eax, [esp + 0x4a8]
push eax
push 0
push 0xc
push 0xa2
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
jmp 0x100127ba
push 0xa0
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
mov esi, eax
push 0x188
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x105
lea ecx, [esp + 0x254]
mov edx, eax
push ecx
mov ecx, esi
call fcn.10018eb0
cmp eax, 0xffffffff
je 0x100132c9
lea eax, [esp + 0x250]
push eax
push 0
push 0xc
push 0xa2
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x100132c9
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x100128e6
push eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
mov dword [ebx + 0x28], 0
push 0
push 0
push 0xf0
push 0xa1
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x10012942
push 4
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
mov dword [ebx + 0x28], eax
test eax, eax
je 0x10012968
push 0x10003bd0
push 2
push eax
call dword [sym.imp.msvcrt.dll_wcscpy_s]
mov edx, dword [ebx + 0x28]
add esp, 0xc
mov ecx, edi
mov dword [esi + 0x30], edx
call fcn.100119d0
push ebx
push edi
call sym.odbcjt32.dll_InitDialogAgain
jmp 0x100132c9
push 0x258
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
mov dword [ebx + 0x28], eax
test eax, eax
je 0x10012968
push 0x12c
mov edx, eax
mov ecx, 0xade4
call fcn.10032350
mov edx, dword [ebx + 0x28]
mov ecx, edi
mov dword [esi + 0x30], edx
call fcn.100119d0
push ebx
push edi
call sym.odbcjt32.dll_InitDialogAgain
jmp 0x100132c9
cmp eax, 0x41b
ja 0x10012c0e
je 0x10012bf3
sub ecx, 0x3ee
cmp ecx, 0xe
ja case.0x100129a8.1008
movzx eax, byte [ecx + 0x10013c78]
jmp dword [eax*4 + 0x10013c64]
mov edx, ebx
mov ecx, edi
call fcn.100114a0
push ebx
push sym.odbcjt32.dll_AdvancedDialogProc
push edi
push 0xa9
mov esi, dword [0x1004138c]
mov ecx, esi
call dword [0x10042350]
call esi
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
jmp 0x10012513
mov edx, ebx
mov ecx, edi
call fcn.100114a0
push 0x3fb
jmp 0x1001250a
mov edx, ebx
mov ecx, edi
call fcn.100114a0
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x10012a1c
push eax
lea eax, [esp + 0x4ac]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_wcscpy_s]
add esp, 0xc
jmp 0x10012a26
xor eax, eax
mov word [esp + 0x4a8], ax
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10012a43
push eax
lea eax, [esp + 0x4c]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_wcscpy_s]
add esp, 0xc
jmp 0x10012a4a
xor eax, eax
mov word [esp + 0x48], ax
mov ecx, dword [ebp + 0x10]
movzx eax, cx
sub eax, 0x3e8
je 0x10012b8e
sub eax, 6
je 0x10012af7
sub eax, 1
jne 0x10012513
push 0x3ef
mov edx, ebx
mov ecx, edi
call fcn.10013ef0
xor ecx, ecx
cmp cx, ax
jne 0x10012513
push dword [esi + 0x2c]
lea eax, [esp + 0x8bc]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_wcscpy_s]
add esp, 0xc
lea eax, [esp + 0x250]
push dword [esi + 0x10]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_wcscpy_s]
add esp, 0xc
mov edx, ebx
mov ecx, edi
push 0x428
call fcn.10013ef0
xor ecx, ecx
cmp cx, ax
jne 0x10012513
push ecx
push ecx
push ecx
push dword [esi + 0x2c]
lea eax, [esp + 0x8c8]
push dword [esi + 0x10]
push dword [esi + 0xc]
push dword [esi + 8]
push eax
lea eax, [esp + 0x270]
push eax
push 2
jmp 0x10012bba
push 0x3ee
mov edx, ebx
mov ecx, edi
call fcn.10013ef0
xor ecx, ecx
cmp cx, ax
jne 0x10012513
push 0x20a
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
mov dword [esp + 0x1c], eax
mov edx, ebx
mov ecx, edi
push 0
push 0x105
push eax
push 0
push 0
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 0x2c]
push dword [esi + 0x10]
push 1
call fcn.10030790
movzx eax, ax
mov dword [esp + 0x18], eax
test ax, ax
jne 0x10012b83
cmp dword [esp + 0x1c], 0
je 0x10012b83
test byte [ebx + 0x16], 8
jne 0x10012b83
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10012b6f
push eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
mov eax, dword [esp + 0x1c]
mov edx, ebx
mov ecx, edi
mov dword [esi + 0x10], eax
call fcn.10017f90
mov eax, dword [esp + 0x18]
mov ecx, 0xffa3
and word [ebx + 0x16], cx
jmp 0x10012bc6
push 0x3e8
mov edx, ebx
mov ecx, edi
call fcn.10013ef0
xor ecx, ecx
cmp cx, ax
jne 0x10012513
push ecx
push ecx
push ecx
push ecx
push ecx
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 0x2c]
push dword [esi + 0x10]
push 3
mov edx, ebx
mov ecx, edi
call fcn.10030790
movzx eax, ax
cmp ax, 0xffff
jne 0x10012513
lea eax, [esp + 0x48]
mov edx, esi
push eax
lea eax, [esp + 0x4ac]
mov ecx, edi
push eax
call fcn.10012080
test eax, eax
je 0x100132c9
jmp 0x10012513
mov edx, ebx
mov ecx, edi
call fcn.100114a0
push ebx
push sym.odbcjt32.dll_LoginDialogProc
push dword [ebx]
push 0xab
jmp 0x100129c4
cmp eax, 0x43b
ja 0x1001329d
je 0x10013179
sub ecx, 0x420
je 0x10012feb
sub ecx, 0xa
jne case.0x100129a8.1008
mov al, byte [esi + 0xa8]
cmp al, 0x16
jne 0x10012e9b
shr edx, 0x10
cmp edx, 1
jne 0x100132c9
movzx eax, word [esi + 0xa8]
mov ecx, eax
shr eax, 8
test al, al
je 0x10012c6e
shr ecx, 8
mov dword [esp + 0x1c], 0
cmp cl, 3
jne 0x10012c76
mov dword [esp + 0x1c], 1
push 0
push 0
push 0x147
push 0x42a
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push eax
push 0x150
push 0x42a
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
test eax, eax
sets cl
dec ecx
and ecx, eax
movzx eax, byte [esi + 0xa8]
shl ecx, 8
add ecx, eax
cmp dword [esp + 0x1c], 0
movzx edx, cx
mov eax, edx
mov dword [esi + 0xa8], ecx
mov dword [esp + 0x18], eax
je 0x10012dab
cmp cl, 0x16
jne 0x10012cef
shr eax, 8
mov cl, dl
test al, al
je 0x100132c9
mov eax, edx
cmp cl, 0x16
jne 0x10012d01
shr eax, 8
cmp al, 3
je 0x100132c9
push 0x104
lea edx, [esp + 0x4c]
mov ecx, 0xade9
call fcn.10032350
lea eax, [esp + 0x48]
push eax
push 0
push 0xc
push 0x434
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x104
lea edx, [esp + 0x4c]
mov ecx, 0xae0f
call fcn.10032350
lea eax, [esp + 0x48]
push eax
push 0
push 0xc
push 0x74
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, ebx
mov ecx, edi
call fcn.10010c60
push 0x420
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10012d8a
push 1
push 0x420
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 1
push 0xf1
push 0x420
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x100132c9
cmp cl, 0x16
jne 0x100132c9
shr ax, 8
test al, al
je 0x10012dce
cmp byte [esp + 0x18], cl
jne 0x100132c9
cmp al, 3
jne 0x100132c9
push 0x104
lea edx, [esp + 0x4c]
mov ecx, 0xae0d
call fcn.10032350
lea eax, [esp + 0x48]
push eax
push 0
push 0xc
push 0x434
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x104
lea edx, [esp + 0x4c]
mov ecx, 0xae0e
call fcn.10032350
lea eax, [esp + 0x48]
push eax
push 0
push 0xc
push 0x74
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, ebx
mov ecx, edi
call fcn.10055ce0
push 0x420
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10012e57
push 0
push 0x420
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 0
push 0xf1
push 0x420
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x74
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x100132c9
push 1
push 0x74
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x100132c9
cmp al, 0x1a
jne 0x100132c9
shr edx, 0x10
cmp edx, 1
jne 0x100132c9
test byte [ebx + 0x16], dl
je 0x100132c9
push 0
push 0
push 0x147
push 0x42a
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push eax
push 0x150
push 0x42a
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
mov dword [esp + 0x10], eax
push 0
test eax, eax
setne cl
push ecx
push 0x14e
push 0x43a
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x104
lea eax, [esp + 0x254]
push eax
push 0x43b
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x43a
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10012f62
xor eax, eax
cmp dword [esp + 0x10], eax
sete al
push eax
push 0x43a
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x446
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10012f8f
xor eax, eax
cmp dword [esp + 0x10], eax
sete al
push eax
push 0x446
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [esp + 0x10], 1
jge 0x1001251a
cmp word [esp + 0x250], 0
jne 0x1001251a
mov eax, dword [esi + 0x34]
test eax, eax
je 0x10012fc1
push eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
mov dword [esi + 0x34], 0
mov eax, dword [esi + 0x38]
test eax, eax
je 0x1001251a
push eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
mov dword [esi + 0x38], 0
mov edx, ebx
mov ecx, edi
call fcn.10017f90
jmp 0x100132c9
mov edx, ebx
mov ecx, edi
call fcn.100114a0
push 0
push 0
push 0xf0
push 0x420
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x1001308a
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x10013025
push eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
push 0x74
push edi
mov dword [esi + 0x2c], 0
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x1001304b
push 0
push 0x74
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x7e
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x1001306a
push 0
push 0x7e
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x9d
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10013152
push 0
push 0x9d
jmp 0x10013144
lea eax, [esp + 0x48]
push 0x105
push eax
call dword [sym.imp.msvcrt.dll__getcwd]
add esp, 8
test eax, eax
jne 0x100130b9
push 0x100027e8
lea eax, [esp + 0x4c]
push 0x105
push eax
call dword [sym.imp.msvcrt.dll_strcpy_s]
add esp, 0xc
push 0x105
lea eax, [esp + 0x254]
mov byte [esp + 0xce], 0
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x54]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [esp + 0x250]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100130f0
sub ecx, edx
sar ecx, 1
mov dword [esp + 0x1c], ecx
lea eax, [ecx*2 + 2]
push eax
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
mov dword [esi + 0x2c], eax
test eax, eax
je 0x10013133
lea ecx, [esp + 0x250]
push ecx
mov ecx, dword [esp + 0x20]
inc ecx
push ecx
push eax
call dword [sym.imp.msvcrt.dll_wcscpy_s]
add esp, 0xc
push 0x74
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10013152
push 1
push 0x74
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push ebx
push edi
call sym.odbcjt32.dll_InitDialogAgain
mov edx, ebx
mov ecx, edi
call fcn.10011f70
mov edx, ebx
mov ecx, edi
call fcn.10017f90
mov edx, ebx
mov ecx, edi
call fcn.10011d10
jmp 0x100132c9
shr edx, 0x10
cmp edx, 0x300
jne 0x100132c9
test byte [ebx + 0x16], 1
je 0x100132c9
push 0
push 0
push 0x147
push 0x42a
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push eax
push 0x150
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, ebx
mov dword [esp + 0x10], eax
mov ecx, edi
call fcn.100114a0
push 0x104
lea eax, [esp + 0x254]
push eax
push 0x43b
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x43a
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10013217
xor eax, eax
cmp dword [esp + 0x10], eax
sete al
push eax
push 0x43a
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x446
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10013244
xor eax, eax
cmp dword [esp + 0x10], eax
sete al
push eax
push 0x446
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [esp + 0x10], 0
jne 0x1001251a
cmp word [esp + 0x250], 0
jne 0x1001251a
mov eax, dword [esi + 0x34]
test eax, eax
je 0x10013276
push eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
mov dword [esi + 0x34], 0
mov eax, dword [esi + 0x38]
test eax, eax
je 0x1001251a
push eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
mov dword [esi + 0x38], 0
mov edx, ebx
mov ecx, edi
call fcn.10017f90
jmp 0x100132c9
cmp eax, 0x7f8b
je case.0x100129a8.1011
xor esi, esi
jmp 0x100132ce
mov eax, dword [ebx + 4]
mov edx, 0x10002398
inc word [ebx + 0x24]
mov ecx, edi
mov eax, dword [eax + 0xac]
push dword [eax + 0xb8]
push 0xf
call fcn.10039807
mov esi, 1
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x10013322
call fcn.10031550
test eax, eax
je 0x10013322
push 0x7e
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x100132f7
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x86
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x10013351
push 0x9d
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10013351
push 1
jmp 0x1001334a
push 0x7e
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10013338
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x9d
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10013351
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10013378
mov edx, ebx
mov ecx, edi
call fcn.10011f70
push eax
push 1
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb08]
xor ecx, esp
call fcn.1003a1d0
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [ebx + 4]
mov ecx, edi
call fcn.10015730
push 0x402
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x100133be
push 0
push 0x103
push 0xc5
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x3f7
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x100133e1
push 0
push 0x103
push 0xc5
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push 8
push edi
call dword [sym.imp.USER32.dll_SetWindowLongA]
push ebx
xor edx, edx
mov ecx, edi
call fcn.100186c0
push 0x42a
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0x14b
push eax
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
mov ebx, 0x1c
mov dword [esp + 0x10], edx
mov eax, dword [esi + 0xac]
cmp dword [ebx + eax], 0
je 0x10013480
mov ecx, dword [eax + 0x18]
add ecx, edx
lea edx, [esp + 0x48]
push 0x104
call fcn.10032350
lea eax, [esp + 0x48]
push eax
push 0
push 0x143
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [esp + 0x10]
push eax
push 0x151
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esp + 0x10]
add ebx, 4
inc edx
mov dword [esp + 0x10], edx
cmp ebx, 0x2c
jl 0x10013420
mov eax, dword [esi + 0xac]
lea ecx, [esi + 0xa8]
mov dword [esp + 0x1c], ecx
lea edx, [esp + 0x48]
movzx ecx, byte [ecx + 1]
add ecx, dword [eax + 0x18]
push 0x104
call fcn.10032350
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x48]
push eax
push 0xffffffffffffffff
push 0x14c
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push eax
push 0x14e
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [esp + 0x14]
push ebx
push edi
cmp word [ebx + 0x14], 0
je 0x100134d9
call sym.odbcjt32.dll_InitializeLoginDialog
jmp 0x100134de
call sym.odbcjt32.dll_InitDialogAgain
push 0x75
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x10], eax
test eax, eax
je 0x100135e7
push 0
push 0
push 0x14b
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [esp + 0x10]
mov ecx, 0x5c
mov dword [esp + 0x18], ecx
mov eax, dword [esi + 0xac]
mov ebx, dword [ecx + eax]
test ebx, ebx
je 0x10013561
push 0x104
lea edx, [esp + 0x4c]
mov ecx, ebx
call fcn.10032350
lea eax, [esp + 0x48]
push eax
push 0
push 0x143
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebx + 4]
push ecx
push eax
push 0x151
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x18]
add ecx, 4
mov dword [esp + 0x18], ecx
cmp ecx, 0x6c
jl 0x10013510
cmp dword [esi + 0x3c], 0
mov edi, dword [esp + 0x20]
je 0x100135d0
xor ebx, ebx
lea ecx, [ecx]
push 0x104
lea ecx, [ebx + 0xae1e]
lea edx, [esp + 0x4c]
call fcn.10032350
lea eax, [esp + 0x48]
push eax
push dword [esi + 0x3c]
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x100135a1
inc ebx
cmp ebx, 4
jl 0x10013570
jmp 0x100135cb
push 0x104
lea ecx, [ebx + 0xae1a]
lea edx, [esp + 0x4c]
call fcn.10032350
lea eax, [esp + 0x48]
push eax
push 0xffffffffffffffff
push 0x14d
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp ebx, 4
jne 0x100135e3
push 0
push 0
push 0x14e
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [esp + 0x14]
push 0x7e
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x20], eax
test eax, eax
je 0x10013659
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x1001364c
cmp word [ecx], 0
je 0x1001364c
push 0x104
push ecx
lea eax, [esp + 0x258]
push eax
call dword [sym.imp.msvcrt.dll__wfullpath]
add esp, 0xc
test eax, eax
je 0x1001364c
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x254]
push eax
call dword [sym.imp.msvcrt.dll__wstat]
add esp, 8
test eax, eax
js 0x1001364c
mov eax, dword [esp + 0x2a]
and eax, 0x4000
neg eax
sbb eax, eax
and eax, 1
jmp 0x1001364e
xor eax, eax
push eax
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x9d
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x20], eax
test eax, eax
je 0x1001370e
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x100136c5
cmp word [ecx], 0
je 0x100136c5
push 0x104
push ecx
lea eax, [esp + 0x258]
push eax
call dword [sym.imp.msvcrt.dll__wfullpath]
add esp, 0xc
test eax, eax
je 0x100136c5
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x254]
push eax
call dword [sym.imp.msvcrt.dll__wstat]
add esp, 8
test eax, eax
js 0x100136c5
mov eax, dword [esp + 0x2a]
and eax, 0x4000
neg eax
sbb eax, eax
and eax, 1
jmp 0x100136c7
xor eax, eax
push eax
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [esi + 0x30]
mov ecx, edi
call fcn.100119d0
mov eax, dword [esi + 0x30]
test eax, eax
je 0x100136e8
mov dword [ebx + 0x28], eax
jmp 0x1001370e
push 0x258
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
mov dword [ebx + 0x28], eax
test eax, eax
je 0x1001370e
push 0x12c
mov edx, eax
mov ecx, 0xade4
call fcn.10032350
mov eax, dword [esp + 0x1c]
cmp byte [eax], 0x16
jne 0x100137e5
mov al, byte [eax + 1]
test al, al
je 0x1001372a
cmp al, 3
jne 0x100137e5
push 0x104
lea edx, [esp + 0x4c]
mov ecx, 0xae0d
call fcn.10032350
lea eax, [esp + 0x48]
push eax
push 0
push 0xc
push 0x434
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x104
lea edx, [esp + 0x4c]
mov ecx, 0xae0e
call fcn.10032350
lea eax, [esp + 0x48]
push eax
push 0
push 0xc
push 0x74
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xf1
push 0x420
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x420
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x100137c6
push 0
push 0x420
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x74
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x100137e5
push 1
push 0x74
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x79
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x7a
push edi
mov ebx, eax
call dword [sym.imp.USER32.dll_GetDlgItem]
test ebx, ebx
je 0x10013836
test eax, eax
je 0x10013836
cmp dword [esi + 0x24], 0
push 0
push 1
push 0xf1
je 0x10013819
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x10013836
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x7b
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10013836
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x420
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
test ebx, ebx
je 0x100138d8
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x1001385d
cmp word [ecx], 0
jne 0x100138d8
mov eax, dword [esp + 0x1c]
cmp byte [eax], 0x16
jne 0x10013871
mov al, byte [eax + 1]
test al, al
je 0x100138d8
cmp al, 3
je 0x100138d8
push 0x74
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10013890
push 0
push 0x74
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x7e
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x100138af
push 0
push 0x7e
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 1
push 0xf1
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x10041388
push 0
push 0xc
push 0x73
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x43a
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x10013a93
mov eax, dword [esi + 0x38]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 8]
test eax, eax
jne 0x10013981
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x64
push eax
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x10013935
push 0x10001f58
lea eax, [esp + 0x4c]
push 0x64
push eax
call dword [sym.imp.msvcrt.dll_wcscpy_s]
add esp, 0xc
lea ebx, [esp + 0x48]
lea ecx, [ebx + 2]
lea esp, [esp]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x10013940
sub ebx, ecx
sar ebx, 1
lea eax, [ebx*2 + 2]
push eax
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
mov dword [esi + 8], eax
test eax, eax
je 0x1001397d
lea ecx, [esp + 0x48]
push ecx
lea ecx, [ebx + 1]
push ecx
push eax
call dword [sym.imp.msvcrt.dll_wcscpy_s]
mov eax, dword [esi + 8]
add esp, 0xc
mov ebx, dword [esp + 0x18]
push eax
push 0
push 0xc
push 0x43b
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x14b
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x10001d74
push 0
push 0x143
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100139d3
push 0x10001d74
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 8
push 0x100027e0
push 0
push 0x143
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100139ff
push 0x100027e0
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 8
jmp 0x10013a3a
push 0
push 0
push 0x147
push 0x42a
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
movzx eax, ax
cwde
push eax
push 0x150
push 0x42a
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
shr si, 8
movzx eax, si
mov esi, dword [esp + 0x1c]
cmp byte [esi], 0x1a
jne 0x10013a56
mov edx, eax
mov ecx, eax
test al, al
jne 0x10013a58
xor eax, eax
jmp 0x10013a60
mov ecx, eax
mov eax, 1
movzx ecx, cx
push 0
push eax
push 0x14e
movzx ecx, cx
push ebx
mov dword [esp + 0x30], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp byte [esi], 0x1a
jne 0x10013a89
cmp byte [esp + 0x20], 0
jne 0x10013a89
mov eax, 1
jmp 0x10013a8b
xor eax, eax
push eax
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
mov ebx, dword [esp + 0x14]
test byte [ebx + 0x16], 2
je 0x10013b35
push 0x442
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10013ac6
push 0
push 0x442
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x3f7
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10013aeb
push 0
push 0x3f7
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x443
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10013b10
push 0
push 0x443
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x402
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10013b35
push 0
push 0x402
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, ebx
mov ecx, edi
call fcn.10017f90
push 1
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10013b65
mov edx, ebx
mov ecx, edi
call fcn.10011f70
push eax
push 1
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
or word [ebx + 0x16], 1
mov ecx, dword [esp + 0xb14]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003a1d0
mov esp, ebp
pop ebp
ret 0x10