Function at 0x100098e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd5c
mov eax, dword [0x1003f6e4]
xor eax, esp
mov dword [esp + 0xd58], eax
mov eax, dword [ebp + 0x10]
push ebx
mov dword [esp + 0x7c], eax
mov ebx, 1
mov eax, dword [ebp + 0x20]
push esi
mov esi, ecx
mov dword [esp + 0x78], eax
mov ecx, dword [ebp + 0x18]
xor eax, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
push edi
mov edi, dword [ebp + 8]
test ecx, ecx
jne 0x10009950
lea eax, [esp + 0x20]
mov dword [esp + 0x40], eax
test esi, esi
jne 0x1000996e
lea eax, [esi - 2]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd58]
xor ecx, esp
call fcn.1003a1d0
mov esp, ebp
pop ebp
ret 0x1c
test byte [esi + 0x5c], 0x40
je 0x1000998b
push 0
lea eax, [esi + 0x6c]
mov edx, esi
push eax
mov ecx, 0xfffff80e
call fcn.10055ce0
jmp 0x1000aaf4
mov eax, dword [ebp + 0xc]
cmp ax, 0xfffd
jne 0x100099b5
mov ecx, edi
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100099a0
sub ecx, edx
sar ecx, 1
movzx eax, cx
mov dword [ebp + 0xc], eax
test ax, ax
js 0x1000aacc
cmp word [ebp + 0x14], 0
jl 0x1000aacc
lea eax, [esp + 0x1c]
push eax
push 0xffffffffffffffff
call dword [sym.imp.msjet40.dll_Ordinal_150]
test eax, eax
js 0x1000aaa8
mov eax, dword [esp + 0x1c]
shr eax, 0x10
cmp eax, 4
jne 0x1000aaa8
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0x9c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x50], edi
mov di, word [ebp + 0x1c]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x48], esi
mov word [esp + 0x54], ax
mov word [esp + 0x56], di
mov dword [esp + 0x60], 0
jmp 0x10009a60
test bx, bx
jne 0x10009a7e
mov ecx, esi
call fcn.10019530
movzx eax, ax
test ax, ax
je 0x10009a7e
cmp ax, 1
jne 0x1000aaf4
mov dword [esi + 0x9c], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 0x118], eax
test bx, bx
je 0x10009d05
push 0
mov edx, 0x3ef
lea ecx, [esp + 0x48]
call fcn.10007310
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x10009cdf
push eax
mov edx, 0x40b
lea ecx, [esp + 0x48]
call fcn.10007310
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x10009cdf
cmp dword [esi + 0x40], eax
jne 0x10009b11
mov ecx, str.Default
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10009ae0
sub ecx, edx
lea edi, [esi + 0x6c]
sar ecx, 1
mov edx, str.Default
push edi
push ecx
mov ecx, dword [esi + 0x7c]
call fcn.10031a80
mov dword [esi + 0x1c], eax
test eax, eax
je 0x1000aaf4
jmp 0x10009ce2
push 0
mov edx, 0x402
mov dword [esi + 0xa8], 0
lea ecx, [esp + 0x48]
call fcn.10007310
mov ecx, dword [esi + 0xa8]
call fcn.10019060
test eax, eax
je 0x10009b42
mov dword [esp + 0x34], 1
mov ecx, dword [esi + 0x40]
mov edi, ecx
lea edx, [edi + 2]
lea ebx, [ebx]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x10009b50
sub edi, edx
sar edi, 1
cmp edi, 0x12c
jae 0x10009c55
add edi, 0xfffffffe
lea eax, [ecx + 2]
push edi
push eax
lea eax, [esp + 0x90]
push 0x12c
push eax
call dword [sym.imp.msvcrt.dll_wcsncpy_s]
add edi, edi
add esp, 0x10
cmp edi, 0x258
jae 0x1000ab0e
xor eax, eax
lea ecx, [esp + 0x88]
push 0x10002f6c
mov word [esp + edi + 0x8c], ax
mov edx, 0x10002f88
push 0x104
lea eax, [esp + 0xb58]
push eax
push 0x100021a8
call fcn.10008e90
test eax, eax
je 0x10009c55
push 0x101
lea eax, [esp + 0x2e4]
push eax
push 0x201
lea eax, [esp + 0x6fc]
push eax
push 0
push 0
push 0
lea eax, [esp + 0xb6c]
push 0
push eax
call dword [sym.imp.msvcrt.dll__wsplitpath_s]
add esp, 0x24
lea eax, [esp + 0x2e0]
push eax
lea eax, [esp + 0x6f4]
push 0x201
push eax
call dword [sym.imp.msvcrt.dll_wcscat_s]
add esp, 0xc
xor ebx, ebx
xor edi, edi
mov eax, dword [edi + 0x1003c590]
test eax, eax
je 0x10009c46
push eax
lea eax, [esp + 0x6f4]
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x10009c6e
add edi, 0xc0
inc ebx
cmp edi, 0x480
jb 0x10009c26
mov edx, dword [esi + 0x7c]
lea eax, [esi + 0x6c]
push ecx
push 0
push eax
mov ecx, 8
call fcn.1001a220
jmp 0x1000aaf4
lea eax, [ebx + ebx*2]
shl eax, 6
lea ecx, [eax + 0x1003c4e0]
mov dword [esi + 0xac], ecx
movsx eax, word [eax + 0x1003c594]
shl eax, 8
or eax, dword [ecx]
mov ecx, esi
mov dword [esi + 0xa8], eax
call fcn.10023750
mov ecx, eax
test ecx, ecx
js 0x1000a7f2
cmp byte [esi + 0xa8], 0x16
jne 0x10009cb0
or dword [esi + 0x50], 1
push dword [esp + 0x4c]
or dword [esi + 0x5c], 4
mov edx, 0x800410
mov ecx, esi
call fcn.10006700
push 0x800410
or edx, 0xffffffff
lea ecx, [esp + 0x48]
call fcn.10007310
and dword [esi + 0x5c], 0xfffffffb
mov ebx, dword [esp + 0x14]
jmp 0x10009d01
lea edi, [esi + 0x6c]
mov ecx, esi
call fcn.10023140
test ax, ax
jne 0x1000aaf4
mov ecx, esi
call fcn.10023750
test eax, eax
js 0x1000a804
mov di, word [ebp + 0x1c]
cmp dword [esp + 0x24], 0
mov word [esp + 0x58], bx
jne 0x10009e03
cmp dword [esi + 0x1c], 0
jne 0x10009e2d
test di, di
je 0x10009e03
cmp dword [esi + 0x10], 0
jne 0x10009d35
cmp dword [esp + 0x34], 0
je 0x10009d3f
cmp di, 2
jne 0x10009e03
mov al, byte [esi + 0xa8]
or word [esp + 0x5a], 2
or dword [esi + 0x5c], 4
mov dword [esp + 0x38], 1
cmp al, 0x19
je 0x10009d72
cmp al, 0x1a
je 0x10009d72
mov eax, dword [esi + 8]
test eax, eax
je 0x10009d82
push eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
jmp 0x10009d82
cmp dword [esi + 8], 0
jne 0x10009d98
cmp dword [esi + 0x24], 0
jne 0x10009d98
cmp al, 0x1a
je 0x10009d98
mov ecx, dword [esi + 0x7c]
lea eax, [esi + 0x6c]
push eax
push 5
mov edx, 0x10001f58
call fcn.10031a80
mov dword [esi + 8], eax
lea ecx, [esp + 0x44]
call fcn.10011960
and dword [esi + 0x5c], 0xfffffffb
movzx eax, ax
test ax, ax
jne 0x1000aaf7
mov eax, dword [ebp + 0xc]
add eax, 0x600
mov dword [esp + 0x24], 1
movzx edi, ax
movsx eax, di
add eax, eax
push eax
call dword [sym.imp.msvcrt.dll_malloc]
mov ebx, dword [esp + 0x80]
add esp, 4
mov dword [ebx], eax
test eax, eax
je 0x1000a815
lea ecx, [esp + 0x20]
mov edx, eax
push ecx
push edi
mov ecx, esi
call fcn.100093c0
mov eax, dword [ebx]
mov dword [esp + 0x50], eax
mov ax, word [esp + 0x20]
mov word [esp + 0x54], ax
cmp dword [esi + 0x1c], 0
jne 0x10009e2d
or word [esp + 0x5a], 2
lea edx, [esp + 0x44]
call fcn.10008c30
test ax, ax
je 0x10009e2d
mov dword [esp + 0x3c], 1
mov dword [esp + 0x30], 1
push 0
mov edx, 0x10
mov ecx, esi
call fcn.10006700
movzx ebx, ax
mov dword [esp + 0x1c], ebx
test bx, bx
je 0x10009e4d
cmp bx, 1
jne 0x10009e64
push dword [esp + 0x4c]
mov edx, 0x400
mov ecx, esi
call fcn.10006700
movzx ebx, ax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x4c], 0
mov dword [esi + 0x9c], 0
test bx, bx
je 0x10009e81
cmp bx, 1
jne 0x10009e9d
or edi, 0xffffffff
lea ecx, [esp + 0x44]
push 0x410
mov edx, edi
call fcn.10007310
movzx ebx, ax
mov dword [esp + 0x1c], ebx
jmp 0x10009ea0
or edi, 0xffffffff
test bx, bx
je 0x10009eaf
cmp bx, 1
jne 0x1000a82e
mov al, byte [esi + 0xa8]
cmp al, 0x19
je 0x10009ed0
cmp al, 0x1a
je 0x10009ed0
mov eax, dword [esi + 8]
test eax, eax
je 0x10009edc
push eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
jmp 0x10009edc
cmp dword [esi + 8], 0
jne 0x10009ef2
cmp dword [esi + 0x24], 0
jne 0x10009ef2
mov ecx, dword [esi + 0x7c]
lea eax, [esi + 0x6c]
push eax
push 5
mov edx, 0x10001f58
call fcn.10031a80
mov dword [esi + 8], eax
mov ecx, dword [esi + 0x2c]
test ecx, ecx
jne 0x10009f2f
mov al, byte [esi + 0xa8]
cmp al, 0x19
je 0x10009f2b
cmp al, 0x16
jne 0x10009f1f
movzx eax, word [esi + 0xa8]
mov edx, eax
shr eax, 8
test al, al
je 0x10009f2b
shr edx, 8
cmp dl, 3
je 0x10009f2b
mov edx, esi
xor ecx, ecx
call fcn.100297f0
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x10009f87
push 0x105
push ecx
lea eax, [esp + 0x90]
push eax
call dword [sym.imp.msvcrt.dll__wfullpath]
mov eax, dword [esi + 0x2c]
add esp, 0xc
test eax, eax
je 0x10009f57
push eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
lea ecx, [esp + 0x88]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10009f61
sub ecx, edx
lea eax, [esi + 0x6c]
sar ecx, 1
lea edx, [esp + 0x88]
push eax
push ecx
mov ecx, dword [esi + 0x7c]
call fcn.10031a80
mov dword [esi + 0x2c], eax
mov ecx, dword [esi + 0xa8]
call fcn.10019060
test eax, eax
jne 0x10009fa0
mov dword [esi + 0xa8], 0x19
movzx eax, word [ebp + 0x1c]
cmp eax, 3
ja case.default.0x10009fad
jmp dword [eax*4 + 0x1000ab14]
cmp dword [esi + 8], 0
je case.0x10009fad.2
cmp word [esp + 0x14], 0
jne 0x10009fca
cmp word [esp + 0x2c], 0
je case.0x10009fad.2
cmp dword [esi + 0x10], 0
jne case.0x10009fad.0
cmp dword [esi + 0x2c], 0
jne case.0x10009fad.0
push sym.odbcjt32.dll_InvisibleSelectDb
mov edx, 0xac
lea ecx, [esp + 0x48]
call fcn.100110c0
movzx eax, ax
test ax, ax
je case.0x10009fad.0
cmp ax, 0x64
je 0x1000a84f
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SetCursor]
xor edi, edi
mov ebx, eax
cmp dword [esp + 0x38], edi
je 0x1000a022
cmp word [esp + 0x14], di
jne 0x1000a056
mov ecx, dword [esi + 0xac]
test byte [ecx + 0x14], 1
je 0x1000a03a
push sym.odbcjt32.dll_LoginDialogProc
mov edx, 0xab
jmp 0x1000a04a
cmp dword [esp + 0x24], edi
jne 0x1000a056
push sym.odbcjt32.dll_InvisibleSelectDb
mov edx, 0xac
lea ecx, [esp + 0x48]
call fcn.100110c0
movzx edi, ax
push ebx
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [esp + 0x10], eax
test di, di
je 0x1000a070
cmp di, 1
jne 0x1000a848
cmp di, 0x64
je 0x1000a848
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x2c], 0
test bx, bx
je 0x1000a095
cmp bx, 1
jne 0x1000a116
test dword [esi + 0x5c], 0x20000
jne 0x1000a116
push 0
push 0
push 0x4a
push 0xffffffffffffffff
lea edi, [esi + 0x104]
push edi
call dword [sym.imp.msjet40.dll_Ordinal_176]
push edi
call dword [sym.imp.msjet40.dll_Ordinal_154]
mov ecx, eax
push 0
test ecx, ecx
js 0x1000a896
or dword [esi + 0x5c], 0x20000
mov edx, 0x10
mov ecx, esi
call fcn.10006700
movzx ebx, ax
mov dword [esp + 0x1c], ebx
test bx, bx
je 0x1000a0eb
cmp bx, 1
jne 0x1000a104
or edi, 0xffffffff
lea ecx, [esp + 0x44]
push 0x10
mov edx, edi
call fcn.10007310
movzx ebx, ax
mov dword [esp + 0x1c], ebx
jmp 0x1000a107
or edi, 0xffffffff
test bx, bx
je 0x1000a116
cmp bx, 1
jne 0x1000a86b
mov al, byte [esi + 0xa8]
cmp al, 0x1a
jne 0x1000a167
mov eax, dword [esi + 8]
test eax, eax
je 0x1000a131
push eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
mov ecx, dword [esi + 0x7c]
lea edi, [esi + 0x6c]
push edi
push 5
mov edx, 0x10001f58
call fcn.10031a80
cmp dword [esi + 0xc], 0
mov dword [esi + 8], eax
jne 0x1000a160
mov ecx, dword [esi + 0x7c]
mov edx, 0x100021a8
push edi
push 1
call fcn.10031a80
mov dword [esi + 0xc], eax
xor edi, edi
jmp 0x1000a224
cmp al, 0x19
je 0x1000a1ba
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1000a17c
push eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
mov ecx, dword [esi + 0x7c]
lea edi, [esi + 0x6c]
push edi
push 1
mov edx, 0x100021a8
call fcn.10031a80
mov dword [esi + 0xc], eax
mov eax, dword [esi + 8]
test eax, eax
je 0x1000a1a3
push eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
mov ecx, dword [esi + 0x7c]
mov edx, 0x10001f58
push edi
push 5
call fcn.10031a80
mov dword [esi + 8], eax
xor edi, edi
jmp 0x1000a224
xor edi, edi
cmp dword [esi + 0x24], edi
jne 0x1000a1ef
mov eax, dword [esi + 8]
test eax, eax
je 0x1000a1d2
push eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
mov ecx, dword [esi + 0x7c]
lea ebx, [esi + 0x6c]
push ebx
push 5
mov edx, 0x10001f58
call fcn.10031a80
mov dword [esi + 8], eax
mov edi, 1
jmp 0x1000a1f2
lea ebx, [esi + 0x6c]
cmp dword [esi + 8], 0
jne 0x1000a20b
mov ecx, dword [esi + 0x7c]
mov edx, 0x100021a8
push ebx
push 1
call fcn.10031a80
mov dword [esi + 8], eax
cmp dword [esi + 0xc], 0
jne 0x1000a224
mov ecx, dword [esi + 0x7c]
mov edx, 0x100021a8
push ebx
push 1
call fcn.10031a80
mov dword [esi + 0xc], eax
lea ebx, [esi + 0x104]
lea ecx, [esi + 0x54]
lea ecx, [ecx]
cmp byte [esi + 0xa8], 0x1a
je 0x1000a242
test edi, edi
jne 0x1000a242
mov eax, dword [esi + 0xc]
jmp 0x1000a247
mov eax, 0x10041384
push eax
push dword [esi + 8]
push ecx
push dword [ebx]
call dword [sym.imp.msjet40.dll_Ordinal_103]
mov dword [esp + 0x18], eax
test eax, eax
jns 0x1000a26b
test edi, edi
jne 0x1000a398
mov edi, 1
jmp 0x1000a22a
push dword [esp + 0x4c]
mov edx, 0x800000
mov ecx, esi
call fcn.10006700
movzx edi, ax
mov dword [esp + 0x1c], edi
test di, di
je 0x1000a28d
cmp di, 1
jne 0x1000a2a5
push 0x800000
or edx, 0xffffffff
lea ecx, [esp + 0x48]
call fcn.10007310
movzx edi, ax
mov dword [esp + 0x1c], edi
test di, di
je 0x1000a2b4
cmp di, 1
jne 0x1000a86b
push 0
push 1
push 0x26
push dword [esi + 0x54]
push ebx
call dword [sym.imp.msjet40.dll_Ordinal_176]
mov ebx, eax
mov dword [esp + 0x18], ebx
test ebx, ebx
js 0x1000a39c
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1000a39c
cmp dword [esi + 0x2c], 0
je 0x1000a39c
push 0x100021ac
push eax
call dword [sym.imp.msvcrt.dll_wcspbrk]
add esp, 8
test eax, eax
jne 0x1000a39c
mov ecx, dword [esi + 0x2c]
mov edx, ecx
lea edi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1000a306
sub edx, edi
sar edx, 1
movzx eax, word [ecx + edx*2 - 2]
mov ecx, eax
mov dword [esp + 0x80], ecx
cmp eax, 0x5c
je 0x1000a329
inc edx
mov ecx, dword [esi + 0x10]
lea edi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000a330
sub ecx, edi
lea eax, [esi + 0x6c]
sar ecx, 1
push eax
lea ebx, [ecx + 1]
mov ecx, dword [esi + 0x7c]
add ebx, edx
xor edx, edx
push ebx
call fcn.10031a80
mov edi, eax
test edi, edi
je 0x1000a3f6
cmp word [esp + 0x80], 0x5c
mov ecx, 0x100021b4
jne 0x1000a372
mov ecx, 0x100021c0
push dword [esi + 0x10]
push dword [esi + 0x2c]
push ecx
push ebx
push edi
call dword [sym.imp.msvcrt.dll_swprintf_s]
mov eax, dword [esi + 0x10]
add esp, 0x14
test eax, eax
je 0x1000a395
push eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
mov dword [esi + 0x10], edi
mov ebx, dword [esp + 0x18]
mov edi, dword [esi + 0x18]
lea edx, [esp + 0x4e8]
push 0x104
mov ecx, 0xadd4
call fcn.10032350
cmp byte [esi + 0xa8], 0x19
jne 0x1000a466
test edi, edi
je 0x1000a404
lea eax, [esp + 0x4e8]
lea ecx, [ecx]
mov cx, word [edi]
cmp cx, word [eax]
jne 0x1000a3fb
test cx, cx
je 0x1000a3f2
mov cx, word [edi + 2]
cmp cx, word [eax + 2]
jne 0x1000a3fb
add edi, 4
add eax, 4
test cx, cx
jne 0x1000a3d0
xor eax, eax
jmp 0x1000a400
or ebx, 0xffffffff
jmp 0x1000a39c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1000a466
push 0x104
lea edx, [esp + 0x4ec]
mov ecx, 0xadde
call fcn.10032350
mov eax, dword [esi + 0x18]
test eax, eax
je 0x1000a42b
push eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
lea ecx, [esp + 0x4e8]
mov dword [esi + 0x18], 0
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000a440
sub ecx, edx
lea eax, [esi + 0x6c]
sar ecx, 1
lea edx, [esp + 0x4e8]
push eax
push ecx
mov ecx, dword [esi + 0x7c]
call fcn.10031a80
mov dword [esi + 0x18], eax
cmp dword [esi + 0x10], 0
mov di, word [ebp + 0x1c]
jne 0x1000a4b4
mov eax, dword [esi + 0xac]
test byte [eax + 0x14], 2
je 0x1000a4b4
test di, di
je 0x1000a8c1
push sym.odbcjt32.dll_InvisibleSelectDb
mov edx, 0xac
lea ecx, [esp + 0x48]
call fcn.100110c0
movzx eax, ax
test ax, ax
je 0x1000a4aa
cmp ax, 1
jne 0x1000a8b7
cmp ax, 0x64
je 0x1000a8b7
cmp dword [esi + 0x2c], 0
jne 0x1000a4e5
cmp dword [esi + 0x10], 0
jne 0x1000a4e5
test di, di
je 0x1000a8c1
push sym.odbcjt32.dll_InvisibleSelectDb
mov edx, 0xac
lea ecx, [esp + 0x48]
call fcn.100110c0
test ax, ax
jne 0x1000a8c1
mov dword [esi + 0x58], 0xffffffff
lea eax, [esi + 0x58]
test ebx, ebx
js 0x1000a6a3
mov edx, dword [esi + 0x10]
lea edi, [esi + 0x50]
mov ebx, dword [edi]
mov ecx, esi
push edi
sub esp, 8
push eax
call fcn.10030270
cmp word [esp + 0x14], 0
mov ecx, eax
mov dword [esp + 0x18], ecx
je 0x1000a57c
cmp ecx, 0xfffffbfc
je 0x1000a529
cmp ecx, 0xfffffc05
jne 0x1000a57c
mov eax, dword [esi + 0xac]
mov edx, dword [eax + 0x9c]
test edx, edx
je 0x1000a57c
call fcn.100318c0
test eax, eax
je 0x1000a578
mov edx, dword [esi + 0xac]
mov edx, dword [edx + 0xa0]
call fcn.100318c0
test eax, eax
je 0x1000a578
push 0
push dword [esi + 0x54]
call dword [sym.imp.msjet40.dll_Ordinal_130]
mov di, word [ebp + 0x1c]
xor ebx, ebx
mov dword [esi + 0x54], 0xffffffff
mov dword [esp + 0x14], ebx
jmp 0x10009a60
mov ecx, dword [esp + 0x18]
test ecx, ecx
jns 0x1000a5f0
mov ebx, dword [esp + 0x18]
cmp ebx, 0xfffffb4a
je 0x1000a5b8
cmp ebx, 0xfffff88f
je 0x1000a5b8
mov di, word [ebp + 0x1c]
test di, di
je 0x1000a5b8
mov ecx, dword [esp + 0x28]
mov edx, esi
push ebx
call fcn.1000bb50
cwde
sub eax, 1
je 0x1000a5cf
sub eax, 1
je 0x1000a8e4
push 0
push dword [esi + 0x54]
call dword [sym.imp.msjet40.dll_Ordinal_130]
mov dword [esi + 0x54], 0xffffffff
jmp 0x1000a667
push 0
push dword [esi + 0x54]
call dword [sym.imp.msjet40.dll_Ordinal_130]
xor ebx, ebx
mov dword [esi + 0x54], 0xffffffff
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], ebx
jmp 0x10009a60
test bl, 1
jne 0x1000a663
test byte [edi], 1
je 0x1000a663
push 0x12c
lea edx, [esp + 0x8c]
mov ecx, 0xaf36
call fcn.10032350
push dword [esi + 0x10]
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x6f8]
push 0x230
push eax
call dword [sym.imp.msvcrt.dll_swprintf_s]
add esp, 0x10
lea eax, [esi + 0x6c]
lea edx, [esp + 0x6f0]
mov ecx, 1
push 0
push 0
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xa410
push 0xa4d8
push eax
push dword [esi + 0x7c]
call fcn.10019780
mov dword [esp + 0x30], 1
mov ebx, dword [esp + 0x18]
cmp dword [esp + 0x3c], 0
je 0x1000a6a3
mov eax, dword [esi + 0x48]
test eax, eax
je 0x1000a6a3
push 0x100021cc
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
mov edx, dword [esi + 0x54]
lea ecx, [esi + 0x104]
add esp, 8
push 0
test eax, eax
jne 0x1000a697
push 1
jmp 0x1000a699
push 0
push 0x3b
push edx
push ecx
call dword [sym.imp.msjet40.dll_Ordinal_176]
cmp ebx, 0xfffff88f
jne 0x1000a6e0
cmp word [esp + 0x14], 0
je 0x1000a7ab
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1000a6c8
cmp word [eax], 0
jne 0x1000a7ab
mov di, word [ebp + 0x1c]
test di, di
je 0x1000a7af
xor ebx, ebx
mov dword [esp + 0x14], ebx
jmp 0x10009a60
mov di, word [ebp + 0x1c]
cmp ebx, 0xfffffb4a
jne 0x1000a7af
test di, di
je 0x1000a7af
push 0x104
lea edx, [esp + 0x6f4]
mov ecx, 0xadea
call fcn.10032350
push 0x104
lea edx, [esp + 0x8c]
mov ecx, 0xadeb
call fcn.10032350
push dword [esi + 0x10]
lea eax, [esp + 0x6f4]
push eax
lea eax, [esp + 0x2e8]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_swprintf_s]
mov ebx, dword [esp + 0x38]
lea eax, [esp + 0x98]
add esp, 0x10
push 0x11
push eax
lea eax, [esp + 0x2e8]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
cmp eax, 1
jne 0x1000a923
push 0x104
lea eax, [esp + 0x2e8]
mov ecx, ebx
push eax
push 0
push 0
push dword [esi + 0xc]
lea edx, [esp + 0x5c]
push dword [esi + 8]
push dword [esi + 0x2c]
push dword [esi + 0x10]
push 3
call fcn.10030790
xor ebx, ebx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x14], ebx
jmp 0x10009a60
mov di, word [ebp + 0x1c]
push 1
push dword [esi + 0x54]
mov dword [esp + 0x1c], 0
call dword [sym.imp.msjet40.dll_Ordinal_153]
test ebx, ebx
jns 0x1000a941
mov edx, esi
test di, di
je 0x1000aa0e
mov ecx, dword [esp + 0x28]
push ebx
call fcn.1000bb50
cwde
sub eax, 1
jne 0x1000a92d
mov ebx, dword [esp + 0x14]
jmp 0x10009a60
push 0
lea eax, [esi + 0x6c]
mov edx, esi
push eax
call fcn.1001a180
jmp 0x1000aaf4
push 0
push edi
mov edx, esi
mov ecx, eax
call fcn.1001a180
jmp 0x1000aaf4
mov edx, dword [esi + 0x7c]
lea eax, [esi + 0x6c]
push ecx
push 0
push eax
mov ecx, 0x41
call fcn.1001a220
jmp 0x1000aaf4
mov ax, bx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd58]
xor ecx, esp
call fcn.1003a1d0
mov esp, ebp
pop ebp
ret 0x1c
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, 0x64
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd58]
xor ecx, esp
call fcn.1003a1d0
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, esi
call fcn.1000b9f0
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SetCursor]
mov ax, di
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd58]
xor ecx, esp
call fcn.1003a1d0
mov esp, ebp
pop ebp
ret 0x1c
mov edx, esi
lea eax, [esi + 0x6c]
push eax
call fcn.1001a180
mov ecx, esi
call fcn.1000b9f0
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x1000aaf4
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SetCursor]
mov ecx, esi
call fcn.1000b9f0
mov eax, 0x64
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd58]
xor ecx, esp
call fcn.1003a1d0
mov esp, ebp
pop ebp
ret 0x1c
push 0
push dword [esi + 0x54]
call dword [sym.imp.msjet40.dll_Ordinal_130]
mov dword [esi + 0x54], 0xffffffff
mov ecx, esi
call fcn.1000b9f0
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, 0x64
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd58]
xor ecx, esp
call fcn.1003a1d0
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, 0xfffffb4a
jmp 0x1000a896
sub eax, 1
je 0x1000a8f6
push 0
lea eax, [esi + 0x6c]
mov edx, esi
push eax
mov ecx, ebx
call fcn.1001a180
push dword [esp + 0x40]
mov edx, dword [esp + 0x88]
mov ecx, esi
push dword [ebp + 0x14]
call fcn.100093c0
push dword [esp + 0x10]
movzx ebx, ax
call dword [sym.imp.USER32.dll_SetCursor]
push 0
push 0x10031060
push 2
push dword [esi + 0x54]
lea edi, [esi + 0x104]
push edi
call dword [sym.imp.msjet40.dll_Ordinal_176]
mov eax, dword [esi + 0x5c]
and al, 0x80
movzx eax, al
neg eax
push 0
sbb eax, eax
and eax, 0x5b
inc eax
push eax
push 0x45
push dword [esi + 0x54]
push edi
call dword [sym.imp.msjet40.dll_Ordinal_176]
push 0
push 1
push 0x48
push dword [esi + 0x54]
push edi
call dword [sym.imp.msjet40.dll_Ordinal_176]
push 1
push dword [esi + 0x54]
call dword [sym.imp.msjet40.dll_Ordinal_153]
mov ecx, dword [esp + 0x1c]
test cx, cx
je 0x1000a9c5
cmp cx, 1
jne 0x1000aa28
mov eax, dword [esi + 0x5c]
test al, 0x10
je 0x1000aa28
and eax, 0xffffffef
mov dword [esi + 0x5c], eax
mov eax, dword [esi + 0xac]
test byte [eax + 0x14], 4
jne 0x1000aa17
mov edx, dword [esi + 0x7c]
lea eax, [esi + 0x6c]
push ecx
push 0
push eax
mov ecx, 0x73
call fcn.1001a220
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd58]
xor ecx, esp
call fcn.1003a1d0
mov esp, ebp
pop ebp
ret 0x1c
push 0
mov ecx, ebx
jmp 0x1000a898
push 0
mov edx, 0x66
mov ecx, esi
call fcn.1000b100
movzx ecx, ax
test cx, cx
je 0x1000aa47
mov ax, cx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd58]
xor ecx, esp
call fcn.1003a1d0
mov esp, ebp
pop ebp
ret 0x1c
test bx, bx
jne 0x1000a82e
cmp dword [esp + 0x30], 0
jne 0x1000a9f2
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd58]
xor ecx, esp
call fcn.1003a1d0
mov esp, ebp
pop ebp
ret 0x1c
mov edx, dword [esi + 0x7c]
push ecx
push 0
lea ecx, [esi + 0x6c]
push ecx
mov ecx, 0x68
call fcn.1001a220
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SetCursor]
mov ax, di
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd58]
xor ecx, esp
call fcn.1003a1d0
mov esp, ebp
pop ebp
ret 0x1c
push 0x12c
lea edx, [esp + 0x8c]
mov ecx, 0xac27
lodsb al, byte [esi]
add byte [eax], al
call fcn.10032350
lea edx, [esp + 0x88]
mov ecx, 0x3f
jmp 0x1000aad6
mov edx, 0x10001ba0
mov ecx, 0x53
push 0
push 0
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xa410
push 0xa4d8
lea eax, [esi + 0x6c]
push eax
push dword [esi + 0x7c]
call fcn.10019780
or eax, 0xffffffff
mov ecx, dword [esp + 0xd64]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003a1d0
mov esp, ebp
pop ebp
ret 0x1c
call fcn.1003a318
nop
jle 0x1000aab6
add byte [eax], dl
mov ah, 0x9f
add byte [eax], dl
pop es
mov al, byte [2679377920]
add byte [eax], dl
int3