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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xf2c
mov eax, dword [0x100416e4]
xor eax, esp
mov dword [esp + 0xf28], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov dword [esp + 0x10], esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x24], edi
cmp eax, 0x7b
ja 0x10012c33
je 0x100148ab
sub eax, 2
je 0x10012bd6
sub eax, 0x51
je 0x100148ab
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xf28]
xor ecx, esp
call fcn.1003c3b0
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 0x10012c1a
mov eax, dword [esi + 0x28]
test eax, eax
je 0x10012c06
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x30], 0
jne 0x10012c06
push eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
mov dword [esi + 0x28], 0
cmp word [esi + 0x24], 0
jbe 0x10012c1a
push 0
push 0x12
xor edx, edx
xor ecx, ecx
call fcn.1003b9a1
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xf28]
xor ecx, esp
call fcn.1003c3b0
mov esp, ebp
pop ebp
ret 0x10
sub eax, 0x110
je 0x10013e7b
sub eax, 1
jne 0x10012c1a
push 8
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ebx, eax
test ebx, ebx
je 0x10012c1a
mov edx, dword [ebp + 0x10]
mov esi, dword [ebx + 4]
movzx eax, dx
mov ecx, eax
cmp eax, 0x3e8
ja 0x100133de
je case.0x10013405.1006
dec ecx
cmp ecx, 0xa0
ja case.0x10013405.1008
movzx eax, byte [ecx + 0x10014900]
jmp dword [eax*4 + 0x100148c8]
push 0x64
push edi
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x10013dba
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 0x10012cc1
mov edx, esi
mov ecx, edi
call fcn.10018a80
mov edx, ebx
mov ecx, edi
call fcn.10011f60
movzx eax, ax
mov dword [esp + 0x1c], eax
test ax, ax
je 0x10012d05
cmp ax, 1
je 0x10012d05
push 0x104
lea edx, [esp + 0x46c]
mov ecx, 0xadda
call fcn.100338a0
push 0x10
push 0
lea eax, [esp + 0x470]
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
test byte [ebx + 0x16], 2
jne 0x10012dd8
cmp word [ebx + 0x18], 0
jne 0x10012dd8
mov eax, dword [esi + 0x1c]
mov ecx, 0x10004900
mov dword [esp + 0x18], eax
call fcn.1003bb5b
mov esi, eax
test esi, esi
je 0x10012d47
push dword [esp + 0x18]
mov ecx, esi
call dword [0x10044350]
call esi
test eax, eax
jne 0x10012dd8
push 0x104
lea edx, [esp + 0x54]
mov ecx, 0xadd9
call fcn.100338a0
mov eax, dword [ebx + 4]
lea edx, [esp + 0x468]
push 0x104
mov ecx, dword [eax + 0xac]
mov ecx, dword [ecx + 8]
call fcn.100338a0
lea eax, [esp + 0x468]
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x260]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_swprintf_s]
add esp, 0x10
lea edx, [esp + 0x468]
mov ecx, 0xadec
push 0x104
call fcn.100338a0
push 0x30
lea eax, [esp + 0x25c]
push eax
lea eax, [esp + 0x470]
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x10013dba
mov edx, ebx
mov ecx, edi
call fcn.10018ee0
push dword [esp + 0x10]
test eax, eax
jne 0x10012df4
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x10013dba
call dword [sym.imp.USER32.dll_SetCursor]
mov ecx, dword [esp + 0x1c]
movsx eax, cx
push eax
push edi
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x10013dba
mov edx, ebx
mov ecx, edi
call fcn.10011f60
push 0x86
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10012e3c
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.100193b0
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 0x10012e70
push 0x76
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x14], eax
jmp 0x10012edb
cmp cl, 0x15
je 0x10012ec8
cmp cl, 0x18
je 0x10012ec8
cmp cl, 0x1a
je 0x10012ec8
cmp cl, 0x1b
jne 0x10012eb1
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 0x10012ed7
push 0xa1
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x14], eax
jmp 0x10012edb
cmp cl, 0x16
jne 0x10012edb
push 0x81
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x14], eax
jmp 0x10012edb
push 0x75
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x14], eax
jmp 0x10012edb
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov al, byte [esi + 0xa8]
cmp al, 0x19
je 0x10012ef4
cmp al, 0x16
jne 0x10013dba
push 0xffff0000
push 0
push 0xb1
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x10013dba
mov edx, ebx
mov ecx, edi
call fcn.10011f60
push 0x7b
mov edx, ebx
mov ecx, edi
call fcn.10014c40
push ebx
push edi
call sym.odbcjt32.dll_InitDialogAgain
mov edx, ebx
mov ecx, edi
call fcn.10018c60
jmp 0x10013dba
mov edx, ebx
mov ecx, edi
call fcn.10011f60
cmp byte [esi + 0xa8], 0x16
jne 0x10012f65
mov al, byte [esi + 0xa9]
test al, al
je 0x10012f58
cmp al, 3
jne 0x10012f65
push 0x77
mov edx, ebx
mov ecx, edi
call fcn.10014c40
jmp 0x10012f75
mov ecx, dword [ebp + 0x10]
mov edx, ebx
movzx eax, cx
mov ecx, edi
push eax
call fcn.10016600
push ebx
push edi
movzx esi, ax
call sym.odbcjt32.dll_InitDialogAgain
mov edx, ebx
mov ecx, edi
call fcn.10012a30
mov edx, ebx
mov ecx, edi
call fcn.10018c60
test si, si
jne 0x10013dba
mov edx, ebx
mov ecx, edi
call fcn.100127d0
jmp 0x10013dba
mov edx, ebx
mov ecx, edi
call fcn.10011f60
mov edx, dword [ebx + 4]
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.10030510
test ax, ax
je 0x10012fde
mov edx, dword [ebx + 4]
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.10030510
cmp ax, 1
jne 0x10012f23
mov esi, dword [0x1004332c]
mov ecx, esi
push ebx
push sym.odbcjt32.dll_SelectIndexDlgProc
push edi
push 0x1f
call dword [0x10044350]
call esi
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov dx, word [esp + 0x14]
mov ecx, dword [ebx + 4]
call fcn.10030690
jmp 0x10012f23
mov edx, ebx
mov ecx, edi
call fcn.10011f60
push 0x7b
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10013038
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 0x10012f23
push 0x104
lea edx, [esp + 0x25c]
mov ecx, 0xae11
call fcn.100338a0
lea eax, [esp + 0x258]
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 0x10043328
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 0x100130a4
push eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
mov dword [esi + 0x24], 0
jmp 0x10012f23
mov edx, ebx
mov ecx, edi
call fcn.10011f60
push 0x7b
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10013dba
push 1
push 0x7b
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x10013dba
mov edx, ebx
mov ecx, edi
call fcn.10011f60
mov esi, dword [0x1004332c]
mov ecx, esi
push ebx
push sym.odbcjt32.dll_DefTxtFmtDlgProc
push edi
push 0x1c
call dword [0x10044350]
call esi
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
push ebx
push edi
call sym.odbcjt32.dll_InitDialogAgain
jmp 0x10013dba
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 0x1001319b
push 0x12c
lea edx, [esp + 0xcdc]
mov ecx, 0xae12
call fcn.100338a0
push 0x12c
lea eax, [esp + 0xa84]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x30
lea eax, [esp + 0xa84]
push eax
lea eax, [esp + 0xce0]
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
push ebx
push edi
call sym.odbcjt32.dll_InitDialogAgain
jmp 0x10013dba
push 0x104
lea eax, [esp + 0x25c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push ecx
lea eax, [esp + 0x54]
mov ecx, edi
push eax
lea edx, [esp + 0x260]
call fcn.10018840
cmp word [esp + 0x50], 0
je 0x10013203
lea eax, [esp + 0x50]
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 + 0x50]
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.10018630
push ebx
push edi
call sym.odbcjt32.dll_InitDialogAgain
jmp 0x10013dba
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 0x1001327e
dec esi
test esi, esi
js 0x1001321d
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 + 0x258]
push 0x104
push eax
mov edx, esi
call fcn.10019c50
lea eax, [esp + 0x258]
push eax
push 0
push 0xc
push 0xa2
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
jmp 0x10013217
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 + 0x25c]
mov edx, eax
push ecx
mov ecx, esi
call fcn.10019c50
cmp eax, 0xffffffff
je 0x10013dba
lea eax, [esp + 0x258]
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 0x10013dba
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x10013343
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 0x1001339f
push 4
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
mov dword [ebx + 0x28], eax
test eax, eax
je 0x100133c5
push 0x10003bb8
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.10012470
push ebx
push edi
call sym.odbcjt32.dll_InitDialogAgain
jmp 0x10013dba
push 0x258
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
mov dword [ebx + 0x28], eax
test eax, eax
je 0x100133c5
push 0x12c
mov edx, eax
mov ecx, 0xade4
call fcn.100338a0
mov edx, dword [ebx + 0x28]
mov ecx, edi
mov dword [esi + 0x30], edx
call fcn.10012470
push ebx
push edi
call sym.odbcjt32.dll_InitDialogAgain
jmp 0x10013dba
cmp eax, 0x41b
ja 0x10013724
je 0x10013705
sub ecx, 0x3ee
cmp ecx, 0xe
ja case.0x10013405.1008
movzx eax, byte [ecx + 0x100149b8]
jmp dword [eax*4 + 0x100149a4]
mov edx, ebx
mov ecx, edi
call fcn.10011f60
mov esi, dword [0x1004332c]
mov ecx, esi
push ebx
push sym.odbcjt32.dll_AdvancedDialogProc
push edi
push 0xa9
call dword [0x10044350]
call esi
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
jmp 0x10012f23
mov edx, ebx
mov ecx, edi
call fcn.10011f60
push 0x3fb
jmp 0x10012f1a
mov edx, ebx
mov ecx, edi
call fcn.10011f60
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x10013479
push eax
lea eax, [esp + 0x87c]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_wcscpy_s]
add esp, 0xc
jmp 0x10013483
xor eax, eax
mov word [esp + 0x878], ax
mov eax, dword [esi + 0x10]
test eax, eax
je 0x100134a3
push eax
lea eax, [esp + 0x674]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_wcscpy_s]
add esp, 0xc
jmp 0x100134ad
xor eax, eax
mov word [esp + 0x670], ax
mov ecx, dword [ebp + 0x10]
movzx eax, cx
sub eax, 0x3e8
je 0x100135eb
sub eax, 6
je 0x10013554
sub eax, 1
jne 0x10012f23
push 0x3ef
mov edx, ebx
mov ecx, edi
call fcn.10014c40
xor ecx, ecx
cmp cx, ax
jne 0x10012f23
push dword [esi + 0x2c]
lea eax, [esp + 0x25c]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_wcscpy_s]
add esp, 0xc
lea eax, [esp + 0x50]
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.10014c40
xor ecx, ecx
cmp cx, ax
jne 0x10012f23
push ecx
push ecx
push ecx
push dword [esi + 0x2c]
lea eax, [esp + 0x268]
push dword [esi + 0x10]
push dword [esi + 0xc]
push dword [esi + 8]
push eax
lea eax, [esp + 0x70]
push eax
push 2
jmp 0x10013617
push 0x3ee
mov edx, ebx
mov ecx, edi
call fcn.10014c40
xor ecx, ecx
cmp cx, ax
jne 0x10012f23
push 0x20a
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
mov dword [esp + 0x18], 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.10031c30
movzx eax, ax
mov dword [esp + 0x1c], eax
test ax, ax
jne 0x100135e0
cmp dword [esp + 0x18], 0
je 0x100135e0
test byte [ebx + 0x16], 8
jne 0x100135e0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x100135cc
push eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, ebx
mov ecx, edi
mov dword [esi + 0x10], eax
call fcn.10018c60
mov eax, dword [esp + 0x1c]
mov ecx, 0xffa3
and word [ebx + 0x16], cx
jmp 0x10013623
push 0x3e8
mov edx, ebx
mov ecx, edi
call fcn.10014c40
xor ecx, ecx
cmp cx, ax
jne 0x10012f23
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.10031c30
movzx eax, ax
cmp ax, 0xffff
jne 0x10012f23
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x1001363e
push eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1001364f
push eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
cmp word [esp + 0x670], 0
je 0x1001369a
lea ecx, [esp + 0x670]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10013664
sub ecx, edx
lea eax, [esi + 0x6c]
sar ecx, 1
lea edx, [esp + 0x670]
push eax
push ecx
mov ecx, dword [esi + 0x7c]
call fcn.10032f70
mov dword [esi + 0x10], eax
test eax, eax
jne 0x100136a1
mov ecx, edi
call fcn.10032980
jmp 0x10013dba
mov dword [esi + 0x10], 0
cmp word [esp + 0x878], 0
lea edx, [esi + 0x6c]
je 0x100136f9
lea ecx, [esp + 0x878]
lea eax, [ecx + 2]
mov dword [esp + 0x18], eax
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100136c0
sub ecx, dword [esp + 0x18]
sar ecx, 1
push edx
push ecx
mov ecx, dword [esi + 0x7c]
lea edx, [esp + 0x880]
call fcn.10032f70
mov dword [esi + 0x2c], eax
test eax, eax
jne 0x10012f23
mov ecx, edi
call fcn.10032980
jmp 0x10013dba
mov dword [esi + 0x2c], 0
jmp 0x10012f23
mov edx, ebx
mov ecx, edi
call fcn.10011f60
push sym.odbcjt32.dll_LoginDialogProc
mov edx, 0xab
mov ecx, ebx
call fcn.10011b70
jmp 0x10012f23
cmp eax, 0x43b
ja 0x10013d91
je 0x10013c6d
sub ecx, 0x420
je 0x10013ae6
sub ecx, 0xa
jne case.0x10013405.1008
mov al, byte [esi + 0xa8]
cmp al, 0x16
jne 0x10013996
shr edx, 0x10
cmp edx, 1
jne 0x10013dba
mov al, byte [esi + 0xa9]
test al, al
je 0x10013776
mov dword [esp + 0x18], ecx
cmp al, 3
jne 0x1001377e
mov dword [esp + 0x18], 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 eax, ecx
cmp dword [esp + 0x18], 0
mov dword [esi + 0xa8], eax
movzx ecx, ax
je 0x100138a7
cmp al, 0x16
jne 0x100137fd
mov eax, ecx
shr eax, 8
test al, al
je 0x10013dba
cmp cl, 0x16
jne 0x100137fd
cmp al, 3
je 0x10013dba
push 0x104
lea edx, [esp + 0x54]
mov ecx, 0xade9
call fcn.100338a0
lea eax, [esp + 0x50]
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 + 0x54]
mov ecx, 0xae0f
call fcn.100338a0
lea eax, [esp + 0x50]
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.100116e0
push 0x420
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10013886
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 0x10013dba
cmp al, 0x16
jne 0x10013dba
mov eax, ecx
shr eax, 8
test al, al
je 0x100138c9
cmp cl, 0x16
jne 0x10013dba
cmp al, 3
jne 0x10013dba
push 0x104
lea edx, [esp + 0x54]
mov ecx, 0xae0d
call fcn.100338a0
lea eax, [esp + 0x50]
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 + 0x54]
mov ecx, 0xae0e
call fcn.100338a0
lea eax, [esp + 0x50]
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.100115f0
push 0x420
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10013952
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 0x10013dba
push 1
push 0x74
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x10013dba
cmp al, 0x1a
jne 0x10013dba
shr edx, 0x10
cmp edx, 1
jne 0x10013dba
test byte [ebx + 0x16], dl
je 0x10013dba
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 + 0x25c]
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 0x10013a5d
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 0x10013a8a
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 0x10012f2a
cmp word [esp + 0x258], 0
jne 0x10012f2a
mov eax, dword [esi + 0x34]
test eax, eax
je 0x10013abc
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 0x10012f2a
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.10018c60
jmp 0x10013dba
mov edx, ebx
mov ecx, edi
call fcn.10011f60
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 0x10013b85
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x10013b20
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 0x10013b46
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 0x10013b65
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 0x10013c46
push 0
push 0x9d
jmp 0x10013c38
lea eax, [esp + 0x50]
push 0x105
push eax
call dword [sym.imp.msvcrt.dll__getcwd]
add esp, 8
test eax, eax
jne 0x10013bb4
push 0x100027d0
lea eax, [esp + 0x54]
push 0x105
push eax
call dword [sym.imp.msvcrt.dll_strcpy_s]
add esp, 0xc
push 0x105
lea eax, [esp + 0x25c]
mov byte [esp + 0xd6], 0
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x5c]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [esp + 0x258]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10013be4
sub ecx, edx
sar ecx, 1
mov dword [esp + 0x18], 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 0x10013c27
lea ecx, [esp + 0x258]
push ecx
mov ecx, dword [esp + 0x1c]
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 0x10013c46
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.10012a30
mov edx, ebx
mov ecx, edi
call fcn.10018c60
mov edx, ebx
mov ecx, edi
call fcn.100127d0
jmp 0x10013dba
shr edx, 0x10
cmp edx, 0x300
jne 0x10013dba
test byte [ebx + 0x16], 1
je 0x10013dba
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.10011f60
push 0x104
lea eax, [esp + 0x25c]
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 0x10013d0b
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 0x10013d38
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 0x10012f2a
cmp word [esp + 0x258], 0
jne 0x10012f2a
mov eax, dword [esi + 0x34]
test eax, eax
je 0x10013d6a
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 0x10012f2a
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.10018c60
jmp 0x10013dba
cmp eax, 0x7f8b
je case.0x10013405.1011
xor esi, esi
jmp 0x10013dbf
inc word [ebx + 0x24]
mov edx, 0x10002380
mov eax, dword [esi + 0xac]
mov ecx, edi
push dword [eax + 0xb8]
push 0xf
call fcn.1003b9a1
mov esi, 1
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx + 0x2c]
call fcn.10032a20
push 0x7e
push edi
test eax, eax
je 0x10013e0f
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10013de4
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 0x10013e3b
push 0x9d
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10013e3b
push 1
jmp 0x10013e34
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10013e22
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 0x10013e3b
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 0x10013e62
mov edx, ebx
mov ecx, edi
call fcn.10012a30
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 + 0xf28]
xor ecx, esp
call fcn.1003c3b0
mov esp, ebp
pop ebp
ret 0x10
mov ebx, dword [esi + 4]
mov ecx, edi
mov dword [esp + 0x18], ebx
call fcn.10016420
push 0x402
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10013eac
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 0x10013ecf
push 0
push 0x103
push 0xc5
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
push 8
push edi
call dword [sym.imp.USER32.dll_SetWindowLongA]
push esi
xor edx, edx
mov ecx, edi
call fcn.100193b0
push 0x42a
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
mov esi, eax
push 0x14b
push esi
mov dword [esp + 0x30], esi
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
mov eax, 0x1c
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], eax
jmp 0x10013f20
mov edx, dword [ebx + 0xac]
cmp dword [eax + edx], 0
je 0x10013fc8
mov esi, dword [edx + 0x18]
xor eax, eax
push 0x104
mov word [esp + 0x54], ax
add esi, ecx
lea eax, [esp + 0x54]
push eax
push esi
push dword [0x10043518]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [esp + 0x50], 0
jne 0x10013f7d
push 0x104
lea eax, [esp + 0x54]
push eax
push esi
mov esi, dword [0x1004332c]
mov ecx, esi
call dword [0x10044350]
call esi
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x50]
push eax
push 0
push 0x143
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [esp + 0x10]
push eax
push 0x151
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
add eax, 4
inc ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ecx
cmp eax, 0x2c
jl 0x10013f20
mov edx, dword [ebx + 0xac]
movzx esi, byte [ebx + 0xa9]
lea eax, [ebx + 0xa8]
add esi, dword [edx + 0x18]
mov dword [esp + 0x10], eax
xor eax, eax
push 0x104
mov word [esp + 0x54], ax
lea eax, [esp + 0x54]
push eax
push esi
push dword [0x10043518]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [esp + 0x50], 0
jne 0x10014024
push 0x104
lea eax, [esp + 0x54]
push eax
push esi
mov esi, dword [0x1004332c]
mov ecx, esi
call dword [0x10044350]
call esi
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x50]
push eax
push 0xffffffffffffffff
push 0x14c
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push eax
push 0x14e
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [esp + 0x14]
push esi
push edi
cmp word [esi + 0x14], 0
je 0x1001405e
call sym.odbcjt32.dll_InitializeLoginDialog
jmp 0x10014063
call sym.odbcjt32.dll_InitDialogAgain
push 0x75
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x20], eax
test eax, eax
je 0x10014251
push 0
push 0
push 0x14b
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [esp + 0x20]
mov ecx, 0x5c
mov dword [esp + 0x1c], ecx
jmp 0x100140a0
mov eax, dword [ebx + 0xac]
mov esi, dword [ecx + eax]
mov dword [esp + 0x28], esi
test esi, esi
je 0x10014139
xor eax, eax
push 0x104
mov word [esp + 0x54], ax
lea eax, [esp + 0x54]
push eax
push esi
push dword [0x10043518]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [esp + 0x50], 0
jne 0x10014101
push 0x104
lea eax, [esp + 0x54]
push eax
push esi
mov esi, dword [0x1004332c]
mov ecx, esi
call dword [0x10044350]
call esi
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x50]
push eax
push 0
push 0x143
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esi + 4]
push ecx
push eax
push 0x151
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x1c]
add ecx, 4
mov dword [esp + 0x1c], ecx
cmp ecx, 0x6c
jl 0x100140a0
cmp dword [ebx + 0x3c], 0
mov edi, dword [esp + 0x24]
je 0x100142ba
xor esi, esi
mov ebx, 0xae1e
mov dword [esp + 0x1c], esi
xor eax, eax
push 0x104
mov word [esp + 0x54], ax
lea eax, [esp + 0x54]
push eax
push ebx
push dword [0x10043518]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [esp + 0x50], 0
jne 0x1001419e
mov esi, dword [0x1004332c]
lea eax, [esp + 0x50]
push 0x104
push eax
push ebx
mov ecx, esi
call dword [0x10044350]
call esi
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x50]
push eax
mov eax, dword [esp + 0x1c]
push dword [eax + 0x3c]
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x100141cb
inc esi
inc ebx
mov dword [esp + 0x1c], esi
cmp ebx, 0xae22
jl 0x10014152
mov ebx, dword [esp + 0x20]
jmp 0x10014234
xor eax, eax
lea ebx, [esi + 0xae1a]
push 0x104
mov word [esp + 0x54], ax
lea eax, [esp + 0x54]
push eax
push ebx
push dword [0x10043518]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [esp + 0x50], 0
jne 0x1001421d
mov esi, dword [0x1004332c]
lea eax, [esp + 0x50]
push 0x104
push eax
push ebx
mov ecx, esi
call dword [0x10044350]
call esi
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
lea eax, [esp + 0x50]
push eax
push 0xffffffffffffffff
push 0x14d
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, 4
jne 0x10014249
push 0
push 0
push 0x14e
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
push 0x7e
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x24], eax
test eax, eax
je 0x100142df
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
je 0x100142d2
cmp word [ecx], 0
je 0x100142d2
push 0x104
push ecx
lea eax, [esp + 0x260]
push eax
call dword [sym.imp.msvcrt.dll__wfullpath]
add esp, 0xc
test eax, eax
je 0x100142d2
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x25c]
push eax
call dword [sym.imp.msvcrt.dll__wstat]
add esp, 8
test eax, eax
js 0x100142d2
mov eax, dword [esp + 0x32]
and eax, 0x4000
neg eax
sbb eax, eax
and eax, 1
jmp 0x100142d4
push 0
push 0
push 0x14e
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1001424d
xor eax, eax
push eax
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x9d
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x24], eax
test eax, eax
je 0x100143cd
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
je 0x1001434b
cmp word [ecx], 0
je 0x1001434b
push 0x104
push ecx
lea eax, [esp + 0x260]
push eax
call dword [sym.imp.msvcrt.dll__wfullpath]
add esp, 0xc
test eax, eax
je 0x1001434b
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x25c]
push eax
call dword [sym.imp.msvcrt.dll__wstat]
add esp, 8
test eax, eax
js 0x1001434b
mov eax, dword [esp + 0x32]
and eax, 0x4000
neg eax
sbb eax, eax
and eax, 1
jmp 0x1001434d
xor eax, eax
push eax
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [ebx + 0x30]
mov ecx, edi
call fcn.10012470
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x1001436e
mov dword [esi + 0x28], eax
jmp 0x100143cd
push 0x258
call dword [sym.imp.msvcrt.dll_malloc]
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [eax + 0x28], esi
test esi, esi
je 0x100143cd
push 0x12c
push esi
push 0xade4
push dword [0x10043518]
xor eax, eax
mov word [esi], ax
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [esi], 0
jne 0x100143cd
push 0x12c
push esi
mov esi, dword [0x1004332c]
mov ecx, esi
push 0xade4
call dword [0x10044350]
call esi
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [esp + 0x10]
cmp byte [eax], 0x16
jne 0x1001451e
mov al, byte [eax + 1]
test al, al
je 0x100143e9
cmp al, 3
jne 0x1001451e
xor eax, eax
push 0x104
mov word [esp + 0x54], ax
lea eax, [esp + 0x54]
push eax
push 0xae0d
push dword [0x10043518]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [esp + 0x50], 0
jne 0x10014439
mov esi, dword [0x1004332c]
lea eax, [esp + 0x50]
push 0x104
push eax
push 0xae0d
mov ecx, esi
call dword [0x10044350]
call esi
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [esp + 0x50]
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]
xor eax, eax
push 0x104
mov word [esp + 0x54], ax
lea eax, [esp + 0x54]
push eax
push 0xae0e
push dword [0x10043518]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [esp + 0x50], 0
jne 0x100144a5
mov esi, dword [0x1004332c]
lea eax, [esp + 0x50]
push 0x104
push eax
push 0xae0e
mov ecx, esi
call dword [0x10044350]
call esi
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [esp + 0x50]
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 0x100144ff
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 0x1001451e
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 esi, eax
call dword [sym.imp.USER32.dll_GetDlgItem]
test esi, esi
je 0x1001456f
test eax, eax
je 0x1001456f
cmp dword [ebx + 0x24], 0
push 0
push 1
push 0xf1
je 0x10014552
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1001456f
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x7b
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x1001456f
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x420
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x10014611
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
je 0x10014596
cmp word [ecx], 0
jne 0x10014611
mov eax, dword [esp + 0x10]
cmp byte [eax], 0x16
jne 0x100145aa
mov al, byte [eax + 1]
test al, al
je 0x10014611
cmp al, 3
je 0x10014611
push 0x74
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x100145c9
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 0x100145e8
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 esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x10043328
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 esi, eax
mov dword [esp + 0x18], esi
test esi, esi
je 0x100147d4
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 8]
test eax, eax
jne 0x100146b6
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0x64
push eax
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x1001466e
push 0x10001f68
lea eax, [esp + 0x54]
push 0x64
push eax
call dword [sym.imp.msvcrt.dll_wcscpy_s]
add esp, 0xc
lea esi, [esp + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10014675
sub esi, ecx
sar esi, 1
lea eax, [esi*2 + 2]
push eax
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
mov dword [ebx + 8], eax
test eax, eax
je 0x100146b2
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esi + 1]
push ecx
push eax
call dword [sym.imp.msvcrt.dll_wcscpy_s]
mov eax, dword [ebx + 8]
add esp, 0xc
mov esi, 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 esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x10001d84
push 0
push 0x143
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10014730
push 0x10001d84
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 8
push 0x100027c8
push 0
push 0x143
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x1c]
push 0x100027c8
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 8
jmp 0x1001477e
push 0x100027c8
push 0
push 0x143
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
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]
mov ecx, dword [esp + 0x10]
shr bx, 8
movzx eax, bx
cmp byte [ecx], 0x1a
jne 0x1001479a
mov edx, eax
mov ecx, eax
test al, al
jne 0x1001479c
xor eax, eax
jmp 0x100147a4
mov ecx, eax
mov eax, 1
movzx ecx, cx
push 0
push eax
push 0x14e
push esi
movzx ebx, cx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x10]
cmp byte [eax], 0x1a
jne 0x100147ca
test bl, bl
jne 0x100147ca
mov eax, 1
jmp 0x100147cc
xor eax, eax
push eax
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
mov ebx, dword [esp + 0x14]
test byte [ebx + 0x16], 2
je 0x10014876
push 0x442
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10014807
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 0x1001482c
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 0x10014851
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 0x10014876
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.10018c60
push 1
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x100148a6
mov edx, ebx
mov ecx, edi
call fcn.10012a30
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 + 0xf34]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003c3b0
mov esp, ebp
pop ebp
ret 0x10