Function at 0x10012840
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 0x10012903
je 0x1001457c
sub eax, 2
je 0x100128a6
sub eax, 0x51
je 0x1001457c
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xf28]
xor ecx, esp
call fcn.1003bd00
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 0x100128ea
mov eax, dword [esi + 0x28]
test eax, eax
je 0x100128d6
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x30], 0
jne 0x100128d6
push eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
mov dword [esi + 0x28], 0
cmp word [esi + 0x24], 0
jbe 0x100128ea
push 0
push 0x12
xor edx, edx
xor ecx, ecx
call fcn.1003b337
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xf28]
xor ecx, esp
call fcn.1003bd00
mov esp, ebp
pop ebp
ret 0x10
sub eax, 0x110
je 0x10013b65
sub eax, 1
jne 0x100128ea
push 8
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ebx, eax
test ebx, ebx
je 0x100128ea
mov edx, dword [ebp + 0x10]
mov esi, dword [ebx + 4]
movzx eax, dx
mov ecx, eax
cmp eax, 0x3e8
ja 0x100130ae
je case.0x100130d5.1006
dec ecx
cmp ecx, 0xa0
ja case.0x100130d5.1008
movzx eax, byte [ecx + 0x100145d0]
jmp dword [eax*4 + 0x10014598]
push 0x64
push edi
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x10013a9d
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 0x10012991
mov edx, esi
mov ecx, edi
call fcn.10018780
mov edx, ebx
mov ecx, edi
call fcn.10011c80
movzx eax, ax
mov dword [esp + 0x1c], eax
test ax, ax
je 0x100129d5
cmp ax, 1
je 0x100129d5
push 0x104
lea edx, [esp + 0x46c]
mov ecx, 0xadda
call fcn.100332d0
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 0x10012aa8
cmp word [ebx + 0x18], 0
jne 0x10012aa8
mov eax, dword [esi + 0x1c]
mov ecx, 0x10004918
mov dword [esp + 0x18], eax
call fcn.1003b4df
mov esi, eax
test esi, esi
je 0x10012a17
push dword [esp + 0x18]
mov ecx, esi
call dword [0x10044350]
call esi
test eax, eax
jne 0x10012aa8
push 0x104
lea edx, [esp + 0x54]
mov ecx, 0xadd9
call fcn.100332d0
mov eax, dword [ebx + 4]
lea edx, [esp + 0x468]
push 0x104
mov ecx, dword [eax + 0xac]
mov ecx, dword [ecx + 8]
call fcn.100332d0
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.100332d0
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 0x10013a9d
mov edx, ebx
mov ecx, edi
call fcn.10018be0
push dword [esp + 0x10]
test eax, eax
jne 0x10012ac4
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x10013a9d
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 0x10013a9d
mov edx, ebx
mov ecx, edi
call fcn.10011c80
push 0x86
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10012b0c
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.100190a0
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 0x10012b40
push 0x76
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x14], eax
jmp 0x10012bab
cmp cl, 0x15
je 0x10012b98
cmp cl, 0x18
je 0x10012b98
cmp cl, 0x1a
je 0x10012b98
cmp cl, 0x1b
jne 0x10012b81
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 0x10012ba7
push 0xa1
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x14], eax
jmp 0x10012bab
cmp cl, 0x16
jne 0x10012bab
push 0x81
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x14], eax
jmp 0x10012bab
push 0x75
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x14], eax
jmp 0x10012bab
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov al, byte [esi + 0xa8]
cmp al, 0x19
je 0x10012bc4
cmp al, 0x16
jne 0x10013a9d
push 0xffff0000
push 0
push 0xb1
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x10013a9d
mov edx, ebx
mov ecx, edi
call fcn.10011c80
push 0x7b
mov edx, ebx
mov ecx, edi
call fcn.10014900
push ebx
push edi
call sym.odbcjt32.dll_InitDialogAgain
mov edx, ebx
mov ecx, edi
call fcn.10018960
jmp 0x10013a9d
mov edx, ebx
mov ecx, edi
call fcn.10011c80
cmp byte [esi + 0xa8], 0x16
jne 0x10012c35
mov al, byte [esi + 0xa9]
test al, al
je 0x10012c28
cmp al, 3
jne 0x10012c35
push 0x77
mov edx, ebx
mov ecx, edi
call fcn.10014900
jmp 0x10012c45
mov ecx, dword [ebp + 0x10]
mov edx, ebx
movzx eax, cx
mov ecx, edi
push eax
call fcn.10016330
push ebx
push edi
movzx esi, ax
call sym.odbcjt32.dll_InitDialogAgain
mov edx, ebx
mov ecx, edi
call fcn.10012730
mov edx, ebx
mov ecx, edi
call fcn.10018960
test si, si
jne 0x10013a9d
mov edx, ebx
mov ecx, edi
call fcn.100124d0
jmp 0x10013a9d
mov edx, ebx
mov ecx, edi
call fcn.10011c80
mov edx, dword [ebx + 4]
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.10030060
test ax, ax
je 0x10012cae
mov edx, dword [ebx + 4]
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.10030060
cmp ax, 1
jne 0x10012bf3
mov esi, dword [0x1004338c]
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.100301e0
jmp 0x10012bf3
mov edx, ebx
mov ecx, edi
call fcn.10011c80
push 0x7b
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10012d08
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 0x10012bf3
push 0x104
lea edx, [esp + 0x25c]
mov ecx, 0xae11
call fcn.100332d0
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 0x10043388
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 0x10012d74
push eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
mov dword [esi + 0x24], 0
jmp 0x10012bf3
mov edx, ebx
mov ecx, edi
call fcn.10011c80
push 0x7b
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10013a9d
push 1
push 0x7b
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x10013a9d
mov edx, ebx
mov ecx, edi
call fcn.10011c80
mov esi, dword [0x1004338c]
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 0x10013a9d
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 0x10012e6b
push 0x12c
lea edx, [esp + 0xcdc]
mov ecx, 0xae12
call fcn.100332d0
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 0x10013a9d
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.10018550
cmp word [esp + 0x50], 0
je 0x10012ed3
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.10018350
push ebx
push edi
call sym.odbcjt32.dll_InitDialogAgain
jmp 0x10013a9d
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 0x10012f4e
dec esi
test esi, esi
js 0x10012eed
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.10019960
lea eax, [esp + 0x258]
push eax
push 0
push 0xc
push 0xa2
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
jmp 0x10012ee7
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.10019960
cmp eax, 0xffffffff
je 0x10013a9d
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 0x10013a9d
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x10013013
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 0x1001306f
push 4
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
mov dword [ebx + 0x28], eax
test eax, eax
je 0x10013095
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.10012190
push ebx
push edi
call sym.odbcjt32.dll_InitDialogAgain
jmp 0x10013a9d
push 0x258
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
mov dword [ebx + 0x28], eax
test eax, eax
je 0x10013095
push 0x12c
mov edx, eax
mov ecx, 0xade4
call fcn.100332d0
mov edx, dword [ebx + 0x28]
mov ecx, edi
mov dword [esi + 0x30], edx
call fcn.10012190
push ebx
push edi
call sym.odbcjt32.dll_InitDialogAgain
jmp 0x10013a9d
cmp eax, 0x41b
ja 0x10013404
je 0x100133e5
sub ecx, 0x3ee
cmp ecx, 0xe
ja case.0x100130d5.1008
movzx eax, byte [ecx + 0x10014688]
jmp dword [eax*4 + 0x10014674]
mov edx, ebx
mov ecx, edi
call fcn.10011c80
mov esi, dword [0x1004338c]
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 0x10012bf3
mov edx, ebx
mov ecx, edi
call fcn.10011c80
push 0x3fb
jmp 0x10012bea
mov edx, ebx
mov ecx, edi
call fcn.10011c80
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x10013149
push eax
lea eax, [esp + 0x87c]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_wcscpy_s]
add esp, 0xc
jmp 0x10013153
xor eax, eax
mov word [esp + 0x878], ax
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10013173
push eax
lea eax, [esp + 0x674]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_wcscpy_s]
add esp, 0xc
jmp 0x1001317d
xor eax, eax
mov word [esp + 0x670], ax
mov ecx, dword [ebp + 0x10]
movzx eax, cx
sub eax, 0x3e8
je 0x100132bb
sub eax, 6
je 0x10013224
sub eax, 1
jne 0x10012bf3
push 0x3ef
mov edx, ebx
mov ecx, edi
call fcn.10014900
xor ecx, ecx
cmp cx, ax
jne 0x10012bf3
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.10014900
xor ecx, ecx
cmp cx, ax
jne 0x10012bf3
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 0x100132e7
push 0x3ee
mov edx, ebx
mov ecx, edi
call fcn.10014900
xor ecx, ecx
cmp cx, ax
jne 0x10012bf3
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.10031710
movzx eax, ax
mov dword [esp + 0x1c], eax
test ax, ax
jne 0x100132b0
cmp dword [esp + 0x18], 0
je 0x100132b0
test byte [ebx + 0x16], 8
jne 0x100132b0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1001329c
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.10018960
mov eax, dword [esp + 0x1c]
mov ecx, 0xffa3
and word [ebx + 0x16], cx
jmp 0x100132f3
push 0x3e8
mov edx, ebx
mov ecx, edi
call fcn.10014900
xor ecx, ecx
cmp cx, ax
jne 0x10012bf3
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.10031710
movzx eax, ax
cmp ax, 0xffff
jne 0x10012bf3
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x1001330e
push eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1001331f
push eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
cmp word [esp + 0x670], 0
lea edx, [esi + 0x6c]
je 0x1001337a
lea ecx, [esp + 0x670]
lea eax, [ecx + 2]
mov dword [esp + 0x18], eax
jmp 0x10013340
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10013340
sub ecx, dword [esp + 0x18]
sar ecx, 1
push edx
push ecx
mov ecx, dword [esi + 0x7c]
lea edx, [esp + 0x678]
call fcn.10032a00
mov dword [esi + 0x10], eax
test eax, eax
jne 0x10013375
mov ecx, edi
call fcn.10032430
jmp 0x10013a9d
lea edx, [esi + 0x6c]
jmp 0x10013381
mov dword [esi + 0x10], 0
cmp word [esp + 0x878], 0
je 0x100133d9
lea ecx, [esp + 0x878]
lea eax, [ecx + 2]
mov dword [esp + 0x18], eax
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100133a0
sub ecx, dword [esp + 0x18]
sar ecx, 1
push edx
push ecx
mov ecx, dword [esi + 0x7c]
lea edx, [esp + 0x880]
call fcn.10032a00
mov dword [esi + 0x2c], eax
test eax, eax
jne 0x10012bf3
mov ecx, edi
call fcn.10032430
jmp 0x10013a9d
mov dword [esi + 0x2c], 0
jmp 0x10012bf3
mov edx, ebx
mov ecx, edi
call fcn.10011c80
push sym.odbcjt32.dll_LoginDialogProc
mov edx, 0xab
mov ecx, ebx
call fcn.100118a0
jmp 0x10012bf3
cmp eax, 0x43b
ja 0x10013a71
je 0x1001394d
sub ecx, 0x420
je 0x100137c6
sub ecx, 0xa
jne case.0x100130d5.1008
mov al, byte [esi + 0xa8]
cmp al, 0x16
jne 0x10013676
shr edx, 0x10
cmp edx, 1
jne 0x10013a9d
mov al, byte [esi + 0xa9]
test al, al
je 0x10013456
mov dword [esp + 0x18], ecx
cmp al, 3
jne 0x1001345e
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 0x10013587
cmp al, 0x16
jne 0x100134dd
mov eax, ecx
shr eax, 8
test al, al
je 0x10013a9d
cmp cl, 0x16
jne 0x100134dd
cmp al, 3
je 0x10013a9d
push 0x104
lea edx, [esp + 0x54]
mov ecx, 0xade9
call fcn.100332d0
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.100332d0
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.10011440
push 0x420
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10013566
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 0x10013a9d
cmp al, 0x16
jne 0x10013a9d
mov eax, ecx
shr eax, 8
test al, al
je 0x100135a9
cmp cl, 0x16
jne 0x10013a9d
cmp al, 3
jne 0x10013a9d
push 0x104
lea edx, [esp + 0x54]
mov ecx, 0xae0d
call fcn.100332d0
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.100332d0
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.10011350
push 0x420
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10013632
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 0x10013a9d
push 1
push 0x74
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x10013a9d
cmp al, 0x1a
jne 0x10013a9d
shr edx, 0x10
cmp edx, 1
jne 0x10013a9d
test byte [ebx + 0x16], dl
je 0x10013a9d
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 0x1001373d
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 0x1001376a
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 0x10012bfa
cmp word [esp + 0x258], 0
jne 0x10012bfa
mov eax, dword [esi + 0x34]
test eax, eax
je 0x1001379c
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 0x10012bfa
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.10018960
jmp 0x10013a9d
mov edx, ebx
mov ecx, edi
call fcn.10011c80
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 0x10013865
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x10013800
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 0x10013826
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 0x10013845
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 0x10013926
push 0
push 0x9d
jmp 0x10013918
lea eax, [esp + 0x50]
push 0x105
push eax
call dword [sym.imp.msvcrt.dll__getcwd]
add esp, 8
test eax, eax
jne 0x10013894
push 0x100027e8
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 0x100138c4
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 0x10013907
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 0x10013926
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.10012730
mov edx, ebx
mov ecx, edi
call fcn.10018960
mov edx, ebx
mov ecx, edi
call fcn.100124d0
jmp 0x10013a9d
shr edx, 0x10
cmp edx, 0x300
jne 0x10013a9d
test byte [ebx + 0x16], 1
je 0x10013a9d
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.10011c80
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 0x100139eb
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 0x10013a18
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 0x10012bfa
cmp word [esp + 0x258], 0
jne 0x10012bfa
mov eax, dword [esi + 0x34]
test eax, eax
je 0x10013a4a
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 0x10012bfa
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.10018960
jmp 0x10013a9d
cmp eax, 0x7f8b
je case.0x100130d5.1011
xor esi, esi
jmp 0x10013aa2
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.1003b337
mov esi, 1
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x10013af6
call fcn.100324d0
test eax, eax
je 0x10013af6
push 0x7e
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10013acb
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 0x10013b25
push 0x9d
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10013b25
push 1
jmp 0x10013b1e
push 0x7e
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10013b0c
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 0x10013b25
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 0x10013b4c
mov edx, ebx
mov ecx, edi
call fcn.10012730
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.1003bd00
mov esp, ebp
pop ebp
ret 0x10
mov ebx, dword [esi + 4]
mov ecx, edi
mov dword [esp + 0x18], ebx
call fcn.10016150
push 0x402
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10013b96
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 0x10013bb9
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.100190a0
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
mov edi, edi
mov edx, dword [ebx + 0xac]
cmp dword [eax + edx], 0
je 0x10013ca8
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 [0x10043578]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [esp + 0x50], 0
jne 0x10013c5d
push 0x104
lea eax, [esp + 0x54]
push eax
push esi
mov esi, dword [0x1004338c]
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 0x10013c00
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 [0x10043578]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [esp + 0x50], 0
jne 0x10013d04
push 0x104
lea eax, [esp + 0x54]
push eax
push esi
mov esi, dword [0x1004338c]
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 0x10013d3e
call sym.odbcjt32.dll_InitializeLoginDialog
jmp 0x10013d43
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 0x10013f31
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 0x10013d80
mov eax, dword [ebx + 0xac]
mov esi, dword [ecx + eax]
mov dword [esp + 0x28], esi
test esi, esi
je 0x10013e19
xor eax, eax
push 0x104
mov word [esp + 0x54], ax
lea eax, [esp + 0x54]
push eax
push esi
push dword [0x10043578]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [esp + 0x50], 0
jne 0x10013de1
push 0x104
lea eax, [esp + 0x54]
push eax
push esi
mov esi, dword [0x1004338c]
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 0x10013d80
cmp dword [ebx + 0x3c], 0
mov edi, dword [esp + 0x24]
je 0x10013f9a
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 [0x10043578]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [esp + 0x50], 0
jne 0x10013e7e
mov esi, dword [0x1004338c]
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 0x10013eab
inc esi
inc ebx
mov dword [esp + 0x1c], esi
cmp ebx, 0xae22
jl 0x10013e32
mov ebx, dword [esp + 0x20]
jmp 0x10013f14
xor eax, eax
lea ebx, [esi + 0xae1a]
push 0x104
mov word [esp + 0x54], ax
lea eax, [esp + 0x54]
push eax
push ebx
push dword [0x10043578]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [esp + 0x50], 0
jne 0x10013efd
mov esi, dword [0x1004338c]
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 0x10013f29
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 0x10013fbf
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
je 0x10013fb2
cmp word [ecx], 0
je 0x10013fb2
push 0x104
push ecx
lea eax, [esp + 0x260]
push eax
call dword [sym.imp.msvcrt.dll__wfullpath]
add esp, 0xc
test eax, eax
je 0x10013fb2
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 0x10013fb2
mov eax, dword [esp + 0x32]
and eax, 0x4000
neg eax
sbb eax, eax
and eax, 1
jmp 0x10013fb4
push 0
push 0
push 0x14e
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x10013f2d
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 0x100140ad
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
je 0x1001402b
cmp word [ecx], 0
je 0x1001402b
push 0x104
push ecx
lea eax, [esp + 0x260]
push eax
call dword [sym.imp.msvcrt.dll__wfullpath]
add esp, 0xc
test eax, eax
je 0x1001402b
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 0x1001402b
mov eax, dword [esp + 0x32]
and eax, 0x4000
neg eax
sbb eax, eax
and eax, 1
jmp 0x1001402d
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.10012190
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x1001404e
mov dword [esi + 0x28], eax
jmp 0x100140ad
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 0x100140ad
push 0x12c
push esi
push 0xade4
push dword [0x10043578]
xor eax, eax
mov word [esi], ax
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [esi], 0
jne 0x100140ad
push 0x12c
push esi
mov esi, dword [0x1004338c]
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 0x100141fe
mov al, byte [eax + 1]
test al, al
je 0x100140c9
cmp al, 3
jne 0x100141fe
xor eax, eax
push 0x104
mov word [esp + 0x54], ax
lea eax, [esp + 0x54]
push eax
push 0xae0d
push dword [0x10043578]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [esp + 0x50], 0
jne 0x10014119
mov esi, dword [0x1004338c]
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 [0x10043578]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [esp + 0x50], 0
jne 0x10014185
mov esi, dword [0x1004338c]
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 0x100141df
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 0x100141fe
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 0x1001424f
test eax, eax
je 0x1001424f
cmp dword [ebx + 0x24], 0
push 0
push 1
push 0xf1
je 0x10014232
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1001424f
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x7b
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x1001424f
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 0x100142f1
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
je 0x10014276
cmp word [ecx], 0
jne 0x100142f1
mov eax, dword [esp + 0x10]
cmp byte [eax], 0x16
jne 0x1001428a
mov al, byte [eax + 1]
test al, al
je 0x100142f1
cmp al, 3
je 0x100142f1
push 0x74
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x100142a9
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 0x100142c8
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 0x10043388
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 0x100144a5
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 8]
test eax, eax
jne 0x10014396
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 0x1001434e
push 0x10001f58
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 0x10014355
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 0x10014392
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 0x10001d74
push 0
push 0x143
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x100143e8
push 0x10001d74
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 8
push 0x100027e0
push 0
push 0x143
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10014414
push 0x100027e0
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 8
jmp 0x1001444f
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 0x1001446b
mov edx, eax
mov ecx, eax
test al, al
jne 0x1001446d
xor eax, eax
jmp 0x10014475
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 0x1001449b
test bl, bl
jne 0x1001449b
mov eax, 1
jmp 0x1001449d
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 0x10014547
push 0x442
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x100144d8
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 0x100144fd
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 0x10014522
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 0x10014547
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.10018960
push 1
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10014577
mov edx, ebx
mov ecx, edi
call fcn.10012730
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.1003bd00
mov esp, ebp
pop ebp
ret 0x10