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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xf24
mov eax, dword [0x1003f6e4]
xor eax, esp
mov dword [esp + 0xf20], 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 + 0x20], edi
cmp eax, 0x7b
ja 0x10012597
je 0x100141fc
sub eax, 2
je 0x1001253a
sub eax, 0x51
jne 0x1001257e
jmp 0x100141fc
push 8
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov esi, eax
test esi, esi
je 0x1001257e
mov eax, dword [esi + 0x28]
test eax, eax
je 0x1001256a
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x30], 0
jne 0x1001256a
push eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
mov dword [esi + 0x28], 0
cmp word [esi + 0x24], 0
jbe 0x1001257e
push 0
push 0x12
xor edx, edx
xor ecx, ecx
call fcn.10039d21
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xf20]
xor ecx, esp
call fcn.1003a750
mov esp, ebp
pop ebp
ret 0x10
sub eax, 0x110
je 0x100137f5
sub eax, 1
jne 0x1001257e
push 8
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ebx, eax
test ebx, ebx
je 0x1001257e
mov edx, dword [ebp + 0x10]
mov esi, dword [ebx + 4]
movzx eax, dx
mov ecx, eax
cmp eax, 0x3e8
ja 0x10012d42
je case.0x10012d69.1006
dec ecx
cmp ecx, 0xa0
ja case.0x10012d69.1008
movzx eax, byte [ecx + 0x10014250]
jmp dword [eax*4 + 0x10014218]
push 0x64
push edi
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x1001372d
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 0x10012625
mov edx, esi
mov ecx, edi
call fcn.100183d0
mov edx, ebx
mov ecx, edi
call fcn.10011860
movzx eax, ax
mov dword [esp + 0x1c], eax
test ax, ax
je 0x10012669
cmp ax, 1
je 0x10012669
push 0x104
lea edx, [esp + 0x464]
mov ecx, 0xadda
call fcn.10032910
push 0x10
push 0
lea eax, [esp + 0x468]
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
test byte [ebx + 0x16], 2
jne 0x1001273c
cmp word [ebx + 0x18], 0
jne 0x1001273c
mov eax, dword [esi + 0x1c]
mov ecx, 0x10004918
mov dword [esp + 0x18], eax
call fcn.10039f01
mov esi, eax
test esi, esi
je 0x100126ab
push dword [esp + 0x18]
mov ecx, esi
call dword [0x10042350]
call esi
test eax, eax
jne 0x1001273c
push 0x104
lea edx, [esp + 0x4c]
mov ecx, 0xadd9
call fcn.10032910
mov eax, dword [ebx + 4]
lea edx, [esp + 0x460]
push 0x104
mov ecx, dword [eax + 0xac]
mov ecx, dword [ecx + 8]
call fcn.10032910
lea eax, [esp + 0x460]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x258]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_swprintf_s]
add esp, 0x10
lea edx, [esp + 0x460]
mov ecx, 0xadec
push 0x104
call fcn.10032910
push 0x30
lea eax, [esp + 0x254]
push eax
lea eax, [esp + 0x468]
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x1001372d
mov edx, ebx
mov ecx, edi
call fcn.10018820
push dword [esp + 0x10]
test eax, eax
jne 0x10012758
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x1001372d
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 0x1001372d
mov edx, ebx
mov ecx, edi
call fcn.10011860
push 0x86
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x100127a0
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.10018ce0
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 0x100127d4
push 0x76
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x14], eax
jmp 0x1001283f
cmp cl, 0x15
je 0x1001282c
cmp cl, 0x18
je 0x1001282c
cmp cl, 0x1a
je 0x1001282c
cmp cl, 0x1b
jne 0x10012815
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 0x1001283b
push 0xa1
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x14], eax
jmp 0x1001283f
cmp cl, 0x16
jne 0x1001283f
push 0x81
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x14], eax
jmp 0x1001283f
push 0x75
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x14], eax
jmp 0x1001283f
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov al, byte [esi + 0xa8]
cmp al, 0x19
je 0x10012858
cmp al, 0x16
jne 0x1001372d
push 0xffff0000
push 0
push 0xb1
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1001372d
mov edx, ebx
mov ecx, edi
call fcn.10011860
push 0x7b
mov edx, ebx
mov ecx, edi
call fcn.10014580
push ebx
push edi
call sym.odbcjt32.dll_InitDialogAgain
mov edx, ebx
mov ecx, edi
call fcn.100185b0
jmp 0x1001372d
mov edx, ebx
mov ecx, edi
call fcn.10011860
cmp byte [esi + 0xa8], 0x16
jne 0x100128c9
mov al, byte [esi + 0xa9]
test al, al
je 0x100128bc
cmp al, 3
jne 0x100128c9
push 0x77
mov edx, ebx
mov ecx, edi
call fcn.10014580
jmp 0x100128d9
mov ecx, dword [ebp + 0x10]
mov edx, ebx
movzx eax, cx
mov ecx, edi
push eax
call fcn.10015fb0
push ebx
push edi
movzx esi, ax
call sym.odbcjt32.dll_InitDialogAgain
mov edx, ebx
mov ecx, edi
call fcn.100123e0
mov edx, ebx
mov ecx, edi
call fcn.100185b0
test si, si
jne 0x1001372d
mov edx, ebx
mov ecx, edi
call fcn.10012160
jmp 0x1001372d
mov edx, ebx
mov ecx, edi
call fcn.10011860
mov edx, dword [ebx + 4]
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.1002f560
test ax, ax
je 0x10012942
mov edx, dword [ebx + 4]
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.1002f560
cmp ax, 1
jne 0x10012887
mov esi, dword [0x1004138c]
mov ecx, esi
push ebx
push sym.odbcjt32.dll_SelectIndexDlgProc
push edi
push 0x1f
call dword [0x10042350]
call esi
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov dx, word [esp + 0x14]
mov ecx, dword [ebx + 4]
call fcn.1002f6e0
jmp 0x10012887
mov edx, ebx
mov ecx, edi
call fcn.10011860
push 0x7b
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x1001299c
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 0x10012887
push 0x104
lea edx, [esp + 0x254]
mov ecx, 0xae11
call fcn.10032910
lea eax, [esp + 0x250]
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 0x10012a08
push eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
mov dword [esi + 0x24], 0
jmp 0x10012887
mov edx, ebx
mov ecx, edi
call fcn.10011860
push 0x7b
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x1001372d
push 1
push 0x7b
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x1001372d
mov edx, ebx
mov ecx, edi
call fcn.10011860
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 0x1001372d
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 0x10012aff
push 0x12c
lea edx, [esp + 0xcd4]
mov ecx, 0xae12
call fcn.10032910
push 0x12c
lea eax, [esp + 0xa7c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x30
lea eax, [esp + 0xa7c]
push eax
lea eax, [esp + 0xcd8]
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
push ebx
push edi
call sym.odbcjt32.dll_InitDialogAgain
jmp 0x1001372d
push 0x104
lea eax, [esp + 0x254]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push ecx
lea eax, [esp + 0x4c]
mov ecx, edi
push eax
lea edx, [esp + 0x258]
call fcn.100181a0
cmp word [esp + 0x48], 0
je 0x10012b67
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.10017fa0
push ebx
push edi
call sym.odbcjt32.dll_InitDialogAgain
jmp 0x1001372d
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 0x10012be2
dec esi
test esi, esi
js 0x10012b81
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 + 0x250]
push 0x104
push eax
mov edx, esi
call fcn.100194c0
lea eax, [esp + 0x250]
push eax
push 0
push 0xc
push 0xa2
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
jmp 0x10012b7b
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.100194c0
cmp eax, 0xffffffff
je 0x1001372d
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 0x1001372d
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x10012ca7
push eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
mov dword [ebx + 0x28], 0
push 0
push 0
push pe_nt_image_headers32
push 0xa1
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x10012d03
push 4
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
mov dword [ebx + 0x28], eax
test eax, eax
je 0x10012d29
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.10011e00
push ebx
push edi
call sym.odbcjt32.dll_InitDialogAgain
jmp 0x1001372d
push 0x258
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
mov dword [ebx + 0x28], eax
test eax, eax
je 0x10012d29
push 0x12c
mov edx, eax
mov ecx, 0xade4
call fcn.10032910
mov edx, dword [ebx + 0x28]
mov ecx, edi
mov dword [esi + 0x30], edx
call fcn.10011e00
push ebx
push edi
call sym.odbcjt32.dll_InitDialogAgain
jmp 0x1001372d
cmp eax, 0x41b
ja 0x10013087
je 0x10013068
sub ecx, 0x3ee
cmp ecx, 0xe
ja case.0x10012d69.1008
movzx eax, byte [ecx + 0x10014308]
jmp dword [eax*4 + 0x100142f4]
mov edx, ebx
mov ecx, edi
call fcn.10011860
mov esi, dword [0x1004138c]
mov ecx, esi
push ebx
push sym.odbcjt32.dll_AdvancedDialogProc
push edi
push 0xa9
call dword [0x10042350]
call esi
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
jmp 0x10012887
mov edx, ebx
mov ecx, edi
call fcn.10011860
push 0x3fb
jmp 0x1001287e
mov edx, ebx
mov ecx, edi
call fcn.10011860
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x10012ddd
push eax
lea eax, [esp + 0x874]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_wcscpy_s]
add esp, 0xc
jmp 0x10012de7
xor eax, eax
mov word [esp + 0x870], ax
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10012e07
push eax
lea eax, [esp + 0x66c]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_wcscpy_s]
add esp, 0xc
jmp 0x10012e11
xor eax, eax
mov word [esp + 0x668], ax
mov ecx, dword [ebp + 0x10]
movzx eax, cx
sub eax, 0x3e8
je 0x10012f4f
sub eax, 6
je 0x10012eb8
sub eax, 1
jne 0x10012887
push 0x3ef
mov edx, ebx
mov ecx, edi
call fcn.10014580
xor ecx, ecx
cmp cx, ax
jne 0x10012887
push dword [esi + 0x2c]
lea eax, [esp + 0x254]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_wcscpy_s]
add esp, 0xc
lea eax, [esp + 0x48]
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.10014580
xor ecx, ecx
cmp cx, ax
jne 0x10012887
push ecx
push ecx
push ecx
push dword [esi + 0x2c]
lea eax, [esp + 0x260]
push dword [esi + 0x10]
push dword [esi + 0xc]
push dword [esi + 8]
push eax
lea eax, [esp + 0x68]
push eax
push 2
jmp 0x10012f7b
push 0x3ee
mov edx, ebx
mov ecx, edi
call fcn.10014580
xor ecx, ecx
cmp cx, ax
jne 0x10012887
push 0x20a
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
mov dword [esp + 0x10], 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.10030ce0
movzx eax, ax
mov dword [esp + 0x18], eax
test ax, ax
jne 0x10012f44
cmp dword [esp + 0x10], 0
je 0x10012f44
test byte [ebx + 0x16], 8
jne 0x10012f44
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10012f30
push eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, ebx
mov ecx, edi
mov dword [esi + 0x10], eax
call fcn.100185b0
mov eax, dword [esp + 0x18]
mov ecx, 0xffa3
and word [ebx + 0x16], cx
jmp 0x10012f87
push 0x3e8
mov edx, ebx
mov ecx, edi
call fcn.10055e87
xor ecx, ecx
cmp cx, ax
jne 0x10012887
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.10030ce0
movzx eax, ax
cmp ax, 0xffff
jne 0x10012887
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x10012fa2
push eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10012fb3
push eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
cmp word [esp + 0x668], 0
je 0x10013006
lea ecx, [esp + 0x668]
lea edx, [ecx + 2]
jmp 0x10012fd0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10012fd0
sub ecx, edx
lea eax, [esi + 0x6c]
sar ecx, 1
lea edx, [esp + 0x668]
push eax
push ecx
mov ecx, dword [esi + 0x7c]
call fcn.10032020
mov dword [esi + 0x10], eax
test eax, eax
jne 0x1001300d
mov ecx, edi
call fcn.10031a50
jmp 0x1001372d
mov dword [esi + 0x10], 0
cmp word [esp + 0x870], 0
je 0x1001305c
lea ecx, [esp + 0x870]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10013022
sub ecx, edx
lea eax, [esi + 0x6c]
sar ecx, 1
lea edx, [esp + 0x870]
push eax
push ecx
mov ecx, dword [esi + 0x7c]
call fcn.10032020
mov dword [esi + 0x2c], eax
test eax, eax
jne 0x10012887
mov ecx, edi
call fcn.10031a50
jmp 0x1001372d
mov dword [esi + 0x2c], 0
jmp 0x10012887
mov edx, ebx
mov ecx, edi
call fcn.10011860
push sym.odbcjt32.dll_LoginDialogProc
mov edx, 0xab
mov ecx, ebx
call fcn.10011470
jmp 0x10012887
cmp eax, 0x43b
ja 0x10013701
je 0x100135dd
sub ecx, 0x420
je 0x10013456
sub ecx, 0xa
jne case.0x10012d69.1008
mov al, byte [esi + 0xa8]
cmp al, 0x16
jne 0x10013306
shr edx, 0x10
cmp edx, 1
jne 0x1001372d
mov al, byte [esi + 0xa9]
test al, al
je 0x100130d9
mov dword [esp + 0x10], ecx
cmp al, 3
jne 0x100130e1
mov dword [esp + 0x10], 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 + 0x10], 0
movzx edx, cx
mov eax, edx
mov dword [esi + 0xa8], ecx
mov dword [esp + 0x18], eax
je 0x10013216
cmp cl, 0x16
jne 0x1001315a
shr eax, 8
mov cl, dl
test al, al
je 0x1001372d
mov eax, edx
cmp cl, 0x16
jne 0x1001316c
shr eax, 8
cmp al, 3
je 0x1001372d
push 0x104
lea edx, [esp + 0x4c]
mov ecx, 0xade9
call fcn.10032910
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.10032910
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.10011010
push 0x420
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x100131f5
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 0x1001372d
cmp cl, 0x16
jne 0x1001372d
shr ax, 8
test al, al
je 0x10013239
cmp byte [esp + 0x18], cl
jne 0x1001372d
cmp al, 3
jne 0x1001372d
push 0x104
lea edx, [esp + 0x4c]
mov ecx, 0xae0d
call fcn.10032910
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.10032910
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.10010f20
push 0x420
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x100132c2
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 0x1001372d
push 1
push 0x74
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x1001372d
cmp al, 0x1a
jne 0x1001372d
shr edx, 0x10
cmp edx, 1
jne 0x1001372d
test byte [ebx + 0x16], dl
je 0x1001372d
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 0x100133cd
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 0x100133fa
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 0x1001288e
cmp word [esp + 0x250], 0
jne 0x1001288e
mov eax, dword [esi + 0x34]
test eax, eax
je 0x1001342c
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 0x1001288e
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.100185b0
jmp 0x1001372d
mov edx, ebx
mov ecx, edi
call fcn.10011860
push 0
push 0
push pe_nt_image_headers32
push 0x420
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x100134f5
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x10013490
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 0x100134b6
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 0x100134d5
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 0x100135b6
push 0
push 0x9d
jmp 0x100135a8
lea eax, [esp + 0x48]
push 0x105
push eax
call dword [sym.imp.msvcrt.dll__getcwd]
add esp, 8
test eax, eax
jne 0x10013524
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]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10013554
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 0x10013597
lea ecx, [esp + 0x250]
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 0x100135b6
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.100123e0
mov edx, ebx
mov ecx, edi
call fcn.100185b0
mov edx, ebx
mov ecx, edi
call fcn.10012160
jmp 0x1001372d
shr edx, 0x10
cmp edx, 0x300
jne 0x1001372d
test byte [ebx + 0x16], 1
je 0x1001372d
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.10011860
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 0x1001367b
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 0x100136a8
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 0x1001288e
cmp word [esp + 0x250], 0
jne 0x1001288e
mov eax, dword [esi + 0x34]
test eax, eax
je 0x100136da
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 0x1001288e
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.100185b0
jmp 0x1001372d
cmp eax, 0x7f8b
je case.0x10012d69.1011
xor esi, esi
jmp 0x10013732
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.10039d21
mov esi, 1
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x10013786
call fcn.10031af0
test eax, eax
je 0x10013786
push 0x7e
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x1001375b
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 0x100137b5
push 0x9d
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x100137b5
push 1
jmp 0x100137ae
push 0x7e
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x1001379c
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 0x100137b5
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 0x100137dc
mov edx, ebx
mov ecx, edi
call fcn.100123e0
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 + 0xf20]
xor ecx, esp
call fcn.1003a750
mov esp, ebp
pop ebp
ret 0x10
mov ebx, dword [esi + 4]
mov ecx, edi
call fcn.10015dc0
push 0x402
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10013822
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 0x10013845
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.10018ce0
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 + 0x28], esi
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
mov eax, 0x1c
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], eax
lea ebx, [ebx]
mov edx, dword [ebx + 0xac]
cmp dword [edx + eax], 0
je 0x10013938
mov esi, dword [edx + 0x18]
xor eax, eax
push 0x104
mov word [esp + 0x4c], ax
add esi, ecx
lea eax, [esp + 0x4c]
push eax
push esi
push dword [0x10041578]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [esp + 0x48], 0
jne 0x100138ed
push 0x104
lea eax, [esp + 0x4c]
push eax
push esi
mov esi, dword [0x1004138c]
mov ecx, esi
call dword [0x10042350]
call esi
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x48]
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 0x10013890
mov edx, dword [ebx + 0xac]
movzx esi, byte [ebx + 0xa9]
xor eax, eax
add esi, dword [edx + 0x18]
push 0x104
mov word [esp + 0x4c], ax
lea eax, [esp + 0x4c]
push eax
push esi
push dword [0x10041578]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [esp + 0x48], 0
jne 0x1001398a
push 0x104
lea eax, [esp + 0x4c]
push eax
push esi
mov esi, dword [0x1004138c]
mov ecx, esi
call dword [0x10042350]
call esi
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x48]
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 0x100139c4
call sym.odbcjt32.dll_InitializeLoginDialog
jmp 0x100139c9
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 0x10013bd2
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
jmp 0x10013a00
mov eax, dword [ebx + 0xac]
mov esi, dword [ecx + eax]
mov dword [esp + 0x1c], esi
test esi, esi
je 0x10013a99
xor eax, eax
push 0x104
mov word [esp + 0x4c], ax
lea eax, [esp + 0x4c]
push eax
push esi
push dword [0x10041578]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [esp + 0x48], 0
jne 0x10013a61
push 0x104
lea eax, [esp + 0x4c]
push eax
push esi
mov esi, dword [0x1004138c]
mov ecx, esi
call dword [0x10042350]
call esi
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x48]
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 + 0x18]
add ecx, 4
mov dword [esp + 0x18], ecx
cmp ecx, 0x6c
jl 0x10013a00
cmp dword [ebx + 0x3c], 0
mov edi, dword [esp + 0x20]
je 0x10013bbb
xor eax, eax
mov esi, 0xae1e
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], esi
jmp 0x10013ac0
xor eax, eax
push 0x104
mov word [esp + 0x4c], ax
lea eax, [esp + 0x4c]
push eax
push esi
push dword [0x10041578]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [esp + 0x48], 0
jne 0x10013b0c
push 0x104
lea eax, [esp + 0x4c]
push eax
push esi
mov esi, dword [0x1004138c]
mov ecx, esi
call dword [0x10042350]
call esi
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x48]
push eax
push dword [ebx + 0x3c]
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x10013b3d
mov eax, dword [esp + 0x1c]
inc esi
inc eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
cmp esi, 0xae22
jl 0x10013ac0
mov esi, dword [esp + 0x10]
jmp 0x10013baa
mov esi, dword [esp + 0x1c]
xor eax, eax
push 0x104
mov word [esp + 0x4c], ax
add esi, 0xae1a
lea eax, [esp + 0x4c]
push eax
push esi
push dword [0x10041578]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [esp + 0x48], 0
jne 0x10013b8f
push 0x104
lea eax, [esp + 0x4c]
push eax
push esi
mov esi, dword [0x1004138c]
mov ecx, esi
call dword [0x10042350]
call esi
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x48]
push eax
push 0xffffffffffffffff
push 0x14d
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x1c]
cmp eax, 4
jne 0x10013bce
push 0
push 0
push 0x14e
push esi
jmp 0x10013bc8
push 0
push 0
push 0x14e
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [esp + 0x14]
push 0x7e
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x20], eax
test eax, eax
je 0x10013c44
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
je 0x10013c37
cmp word [ecx], 0
je 0x10013c37
push 0x104
push ecx
lea eax, [esp + 0x258]
push eax
call dword [sym.imp.msvcrt.dll__wfullpath]
add esp, 0xc
test eax, eax
je 0x10013c37
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 0x10013c37
mov eax, dword [esp + 0x2a]
and eax, 0x4000
neg eax
sbb eax, eax
and eax, 1
jmp 0x10013c39
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 0x10013d32
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
je 0x10013cb0
cmp word [ecx], 0
je 0x10013cb0
push 0x104
push ecx
lea eax, [esp + 0x258]
push eax
call dword [sym.imp.msvcrt.dll__wfullpath]
add esp, 0xc
test eax, eax
je 0x10013cb0
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 0x10013cb0
mov eax, dword [esp + 0x2a]
and eax, 0x4000
neg eax
sbb eax, eax
and eax, 1
jmp 0x10013cb2
xor eax, eax
push eax
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [ebx + 0x30]
mov ecx, edi
call fcn.10011e00
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x10013cd3
mov dword [esi + 0x28], eax
jmp 0x10013d32
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 0x10013d32
push 0x12c
push esi
push 0xade4
push dword [0x10041578]
xor eax, eax
mov word [esi], ax
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [esi], 0
jne 0x10013d32
push 0x12c
push esi
mov esi, dword [0x1004138c]
mov ecx, esi
push 0xade4
call dword [0x10042350]
call esi
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
cmp byte [ebx + 0xa8], 0x16
jne 0x10013e86
mov al, byte [ebx + 0xa9]
test al, al
je 0x10013d51
cmp al, 3
jne 0x10013e86
xor eax, eax
push 0x104
mov word [esp + 0x4c], ax
lea eax, [esp + 0x4c]
push eax
push 0xae0d
push dword [0x10041578]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [esp + 0x48], 0
jne 0x10013da1
mov esi, dword [0x1004138c]
lea eax, [esp + 0x48]
push 0x104
push eax
push 0xae0d
mov ecx, esi
call dword [0x10042350]
call esi
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
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]
xor eax, eax
push 0x104
mov word [esp + 0x4c], ax
lea eax, [esp + 0x4c]
push eax
push 0xae0e
push dword [0x10041578]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [esp + 0x48], 0
jne 0x10013e0d
mov esi, dword [0x1004138c]
lea eax, [esp + 0x48]
push 0x104
push eax
push 0xae0e
mov ecx, esi
call dword [0x10042350]
call esi
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
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 0x10013e67
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 0x10013e86
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 0x10013ed7
test eax, eax
je 0x10013ed7
cmp dword [ebx + 0x24], 0
push 0
push 1
push 0xf1
je 0x10013eba
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x10013ed7
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x7b
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10013ed7
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 0x10013f78
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
je 0x10013efa
cmp word [ecx], 0
jne 0x10013f78
cmp byte [ebx + 0xa8], 0x16
jne 0x10013f11
mov al, byte [ebx + 0xa9]
test al, al
je 0x10013f78
cmp al, 3
je 0x10013f78
push 0x74
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10013f30
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 0x10013f4f
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 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 esi, eax
mov dword [esp + 0x18], esi
test esi, esi
je 0x10014125
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 8]
test eax, eax
jne 0x10014021
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 0x10013fd5
push 0x10001f58
lea eax, [esp + 0x4c]
push 0x64
push eax
call dword [sym.imp.msvcrt.dll_wcscpy_s]
add esp, 0xc
lea esi, [esp + 0x48]
lea ecx, [esi + 2]
lea esp, [esp]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10013fe0
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 0x1001401d
lea ecx, [esp + 0x48]
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 + 0x10]
test eax, eax
je 0x10014073
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 + 0x10]
test eax, eax
je 0x1001409f
push 0x100027e0
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 8
jmp 0x100140da
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]
cmp byte [ebx + 0xa8], 0x1a
jne 0x100140f0
mov eax, ebx
shr eax, 8
test al, al
jne 0x100140f0
xor eax, eax
jmp 0x100140f5
mov eax, 1
push 0
push eax
push 0x14e
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp byte [ebx + 0xa8], 0x1a
jne 0x1001411b
shr ebx, 8
test bl, bl
jne 0x1001411b
mov eax, 1
jmp 0x1001411d
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 0x100141c7
push 0x442
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10014158
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 0x1001417d
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 0x100141a2
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 0x100141c7
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.100185b0
push 1
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x100141f7
mov edx, ebx
mov ecx, edi
call fcn.100123e0
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 + 0xf2c]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003a750
mov esp, ebp
pop ebp
ret 0x10