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

Disassembly:
sub esp, 0x4b0
mov eax, dword [0x1013567c]
xor eax, esp
mov dword [esp + 0x4ac], eax
mov ecx, dword [esp + 0x4b8]
mov eax, dword [esp + 0x4c4]
mov edx, dword [esp + 0x4c0]
mov dword [esp + 0x60], eax
and edx, 2
mov eax, dword [ecx + 0x38]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x4c0]
and eax, 1
mov dword [esp + 0x5c], edx
push ebx
push ebp
xor edx, edx
mov dword [esp + 0x10], eax
xor ebx, ebx
mov dword [esp + 0x18], ecx
push esi
mov esi, dword [esp + 0x4d4]
inc edx
push edi
or ebp, 0xffffffff
mov dword [esp + 0x30], ebx
test eax, eax
mov dword [esp + 0x14], ebx
mov eax, esi
mov dword [esp + 0x58], ebx
cmovne edx, ebp
mov dword [esp + 0x54], ebx
mov ebp, dword [esi]
sub eax, ebp
sub eax, 0x54
mov dword [esp + 0x4c], edx
push 0x24
xor edx, edx
and dword [esp + 0x84], 0
pop edi
div edi
and dword [esp + 0x10], 0
lea edi, [esp + 0x84]
mov ebx, dword [esi + 0x1c]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x50], eax
xor eax, eax
stosd dword es:[edi], eax
mov dword [esp + 0x68], esi
mov dword [esp + 0x24], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
cmp dword [ecx + 0x24], edi
je 0x100a1067
cmp dword [ecx + 0x28], edi
je 0x100a1067
mov eax, 0xfffff9bf
jmp 0x100a1976
lea eax, [esp + 0x44]
push eax
push 4
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x4d8]
push dword [esp + 0x4d4]
call fcn.1003c2f0
test eax, eax
js 0x100a1976
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x4c8]
call fcn.10037760
push dword [esp + 0x28]
push edi
push 5
push dword [esp + 0x4d0]
push ebx
call fcn.100a0f22
mov esi, eax
test esi, esi
jne 0x100a1976
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 0x24], 1
jne 0x100a1366
mov eax, dword [ebp + 0x28]
mov ebp, 0x1f4
mov edi, dword [esp + 0x60]
cmp dword [esp + 0x18], esi
mov dword [esp + 0x48], eax
mov edi, dword [eax + edi*4 + 0x28]
mov eax, 0xfffffe0c
cmovne ebp, eax
mov dword [esp + 0x40], edi
xor ebx, ebx
test byte [esp + 0x4d0], 4
jne 0x100a11da
push 0
push dword [esp + 0x50]
push dword [esp + 0x4d4]
push dword [esp + 0x4d0]
call fcn.1003c7d0
mov esi, eax
xor eax, eax
inc eax
cmp dword [esp + 0x18], 0
push 0xffffffffffffffff
pop ecx
cmovne eax, ecx
add dword [esp + 0x14], eax
test esi, esi
jns 0x100a11d6
cmp esi, 0xfffff9bd
jne 0x100a15ac
push 0
push 0x28
lea eax, [esp + 0x9c]
push eax
push edi
push dword [esp + 0x4d4]
call fcn.1003c5d0
mov ecx, dword [esp + 0xb4]
mov eax, ecx
neg eax
cmp dword [esp + 0x18], 0
cmovne ecx, eax
mov dword [esp + 0x58], ecx
test ebx, ebx
jne 0x100a15ac
push dword [esp + 0x28]
push dword [esp + 0x4c8]
push dword [esp + 0x2c]
call fcn.100a287c
test eax, eax
je 0x100a15ac
cmp dword [esp + 0x6c], ebx
jne 0x100a15ac
mov eax, dword [esp + 0x18]
neg eax
push ebx
sbb eax, eax
add eax, 0x80000000
push eax
push dword [esp + 0x4d4]
push dword [esp + 0x4d0]
call fcn.1003c7d0
mov esi, eax
test esi, esi
js 0x100a15ac
mov dword [esp + 0x30], 1
lea ebx, [esp + 0x34]
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 0x20], 0
lea eax, [esp + 0x1c]
push eax
push ebx
lea eax, [esp + 0x34]
push eax
push ebp
je 0x100a11fd
mov eax, dword [ecx + 0x38]
push fcn.1008e6b0
push dword [eax + 0x44]
push 0
push 0
jmp 0x100a120a
mov eax, dword [esp + 0x4c]
push 0
push 0
push dword [eax + 4]
push dword [eax]
push dword [ecx + 0x34]
push edi
push dword [esp + 0x4ec]
call fcn.10095e63
mov esi, eax
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
test esi, esi
jns 0x100a1298
push dword [esp + 0x28]
push 2
push 1
push dword [esp + 0x4d0]
push dword [esp + 0x34]
call fcn.100a0f22
test eax, eax
jne 0x100a15aa
cmp esi, 0xfffff9bf
je 0x100a1288
cmp esi, 0xfffff9bd
jne 0x100a15ac
mov eax, dword [esp + 0x48]
test byte [eax + 0x130], 2
je 0x100a1140
xor eax, eax
inc eax
cmp dword [esp + 0x18], 0
push 0xffffffffffffffff
pop ecx
cmovne eax, ecx
sub dword [esp + 0x14], eax
jmp 0x100a10ff
cmp dword [esp + 0x1c], 0
je 0x100a10ff
jmp 0x100a15ac
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x60]
or dword [eax + 0x1c], 0x1000
lea edi, [eax + 0x34]
cmp dword [edi], 0
mov dword [eax + 0x8c], ecx
jne 0x100a12c0
push edi
push dword [eax + 0x2c]
call fcn.10116c10
mov esi, eax
test esi, esi
js 0x100a12dd
lea eax, [esp + 0x80]
push eax
mov eax, dword [esp + 0x24]
push dword [eax + 0x18]
push eax
push dword [edi]
call fcn.10115f80
mov esi, eax
mov eax, dword [esp + 0x24]
and dword [eax + 0x1c], 0xffffefff
and dword [eax + 0x8c], 0
mov ecx, dword [esp + 0x80]
test esi, esi
jne 0x100a130f
mov eax, ecx
and eax, 0x7fff
cmp eax, 2
je 0x100a130f
cmp eax, 1
je 0x100a130f
test eax, eax
jne 0x100a1333
and ecx, 0x7fff
cmp ecx, 2
jne 0x100a1325
cmp word [esp + 0x8c], 0
jne 0x100a1359
and dword [esp + 0x10], 0
mov edi, dword [esp + 0x40]
jmp 0x100a10ff
push dword [esp + 0x44]
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x4d4]
push dword [esp + 0x4d0]
call fcn.1003c680
mov esi, 0xfffffc15
jmp 0x100a15ac
mov dword [esp + 0x10], 1
jmp 0x100a15ac
mov eax, dword [ecx + 0x18]
mov edx, edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x5c], edi
mov ebx, dword [eax + 8]
mov dword [esp + 0x38], edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x1c], edi
mov cl, byte [ebx + 4]
cmp cl, 3
jne 0x100a139c
mov al, byte [ebx + 5]
cmp al, 0xf
je 0x100a1399
cmp al, 0x10
jne 0x100a139c
xor edi, edi
inc edi
and dword [esp + 0x3c], edx
test byte [ebp + 0x2c], 4
jne 0x100a14cf
cmp cl, 3
jne 0x100a13b5
cmp byte [ebx + 5], 7
je 0x100a13bd
test edi, edi
je 0x100a14cf
mov eax, dword [ebx + 8]
mov al, byte [eax + 4]
cmp al, 8
je 0x100a13cb
cmp al, 9
jne 0x100a13d9
push ebx
push dword [esp + 0x24]
call fcn.10092a1f
mov edx, dword [esp + 0x38]
mov ebp, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
mov cl, byte [ebp + 4]
cmp cl, 8
je 0x100a13f0
cmp cl, 9
jne 0x100a14cf
cmp byte [eax + 4], 0xa
jne 0x100a14cf
cmp byte [eax + 5], 0
jne 0x100a14cf
mov eax, dword [eax + 8]
mov dword [esp + 0x5c], eax
cmp dword [eax + 0x30], 0
cmovne edx, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
and eax, 0x7fff
mov dword [esp + 0x38], edx
cmp eax, 8
je 0x100a1432
cmp eax, 0xc
je 0x100a1432
cmp eax, 0xe
jne 0x100a14cf
test edi, edi
je 0x100a1476
cmp byte [ebx + 5], 0x10
lea ecx, [ebp + 0x1c]
push 0x2a
pop eax
push 0x25
pop edx
cmove eax, edx
mov dword [esp + 0x64], 1
movzx eax, ax
push eax
push ecx
call fcn.100920a1
test ax, ax
jne 0x100a1476
movzx eax, byte [ebx + 5]
push eax
call fcn.10092ba4
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.10091d3a
test ax, ax
jne 0x100a14cf
cmp byte [ebp + 4], 8
mov dword [esp + 0x40], 1
jne 0x100a14b8
mov ecx, dword [ebp + 0x1c]
lea ebx, [ebp + 0x22]
xor eax, eax
shr ecx, 1
test edi, edi
mov dword [esp + 0x2c], ebx
setne al
add eax, 2
sub ecx, eax
lea eax, [esp + 0x1c]
push eax
push ebx
push ebp
push dword [esp + 0x2c]
mov dword [esp + 0x2c], ecx
call fcn.100a29ca
mov eax, dword [esp + 0x1c]
add eax, eax
jmp 0x100a14cb
neg edi
lea eax, [ebp + 0x20]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x1c]
sbb edi, edi
and edi, 2
sub eax, edi
mov dword [esp + 0x1c], eax
test byte [esp + 0x4d0], 4
mov ebx, dword [esp + 0x4c4]
jne 0x100a1606
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x100a15ac
mov edi, dword [esp + 0x4c]
push eax
push edi
push dword [esp + 0x4d4]
push ebx
call fcn.1003c7d0
mov esi, eax
test esi, esi
jns 0x100a1522
cmp esi, 0xfffff9bd
jne 0x100a15ac
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x3c]
jmp 0x100a176e
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x24]
test esi, esi
js 0x100a157f
test eax, eax
je 0x100a157f
lea eax, [esp + 0x7c]
push eax
push 0x100
lea eax, [esp + 0xc4]
push eax
push dword [esp + 0x4d8]
push ebx
call fcn.1003c2f0
mov esi, eax
test esi, esi
js 0x100a15ac
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x7c]
jne 0x100a157f
push eax
lea eax, [esp + 0xc0]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.10118c5c
add esp, 0xc
test eax, eax
je 0x100a1917
add dword [esp + 0x14], edi
mov edi, dword [esp + 0x54]
inc edi
mov dword [esp + 0x54], edi
cmp edi, 0x32
jl 0x100a160a
push dword [esp + 0x28]
xor eax, eax
push 2
push 1
push ebx
push ebp
mov dword [esp + 0x68], eax
call fcn.100a0f22
test eax, eax
je 0x100a160a
mov esi, eax
mov ebx, 0xfffff9bf
push dword [esp + 0x28]
push 0
push 6
push dword [esp + 0x4d0]
push dword [esp + 0x34]
call fcn.100a0f22
cmp dword [esp + 0x10], 0
je 0x100a1939
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x58]
mov dword [ecx], eax
mov ecx, dword [esp + 0x50]
cmp ecx, 0xffffffff
je 0x100a15f4
mov edx, dword [esp + 0x68]
add ecx, eax
mov dword [edx + 0x14], ecx
mov eax, dword [esp + 0x30]
neg eax
sbb eax, eax
and eax, 0xe74
jmp 0x100a1976
mov ebp, dword [esp + 0x24]
cmp dword [esp + 0x40], 0
je 0x100a1829
mov edi, dword [esp + 0x38]
push 0
test edi, edi
jne 0x100a1652
mov edi, dword [esp + 0x60]
lea eax, [esp + 0x4c]
push eax
push 0x1fe
lea eax, [esp + 0x2c8]
push eax
push edi
push ebx
call fcn.100adfdf
mov esi, eax
cmp esi, 0x3ec
je 0x100a14e4
mov eax, dword [edi + 0x18]
jmp 0x100a16df
lea eax, [esp + 0x7c]
push eax
push 0x1fe
lea eax, [esp + 0xc8]
push eax
push dword [esp + 0x6c]
push ebx
call fcn.100adfdf
mov esi, eax
test esi, esi
jne 0x100a15ac
mov eax, dword [edi + 0x24]
push dword [esp + 0x78]
mov edi, dword [eax + 0xb4]
lea eax, [esp + 0xc0]
push eax
push edi
push ebx
call fcn.1003c680
mov esi, eax
test esi, esi
js 0x100a15ac
push 0
push 0
lea eax, [esp + 0x50]
push eax
push 0x1fe
lea eax, [esp + 0x2cc]
push eax
mov eax, dword [esp + 0x4c]
push dword [eax + 0x28]
push edi
push ebx
call fcn.1003cb60
mov esi, eax
test esi, esi
js 0x100a15ac
cmp esi, 0x3ee
je 0x100a181e
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x18]
and eax, 0x7fff
cmp eax, 0xc
jne 0x100a16ed
xor eax, eax
jmp 0x100a16fd
mov eax, dword [esp + 0x64]
neg eax
sbb eax, eax
and eax, 0x80000000
or eax, dword [ebp + 0x20]
test esi, esi
js 0x100a18bf
lea ecx, [esp + 0x74]
push ecx
push eax
push dword [esp + 0x50]
lea eax, [esp + 0x2c8]
push eax
push dword [esp + 0x2c]
push dword [esp + 0x40]
call sym.msjet40.dll_Ordinal_177
mov esi, eax
mov eax, dword [esp + 0x74]
test eax, eax
je 0x100a18b2
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 0x2c], 0
je 0x100a18bf
mov ecx, dword [esp + 0x18]
test eax, eax
jns 0x100a174e
test ecx, ecx
je 0x100a175c
test eax, eax
jle 0x100a18bf
test ecx, ecx
je 0x100a18bf
cmp dword [esp + 0x30], 0
jne 0x100a1917
xor edi, edi
inc edi
mov dword [esp + 0x3c], edi
push dword [esp + 0x28]
push dword [esp + 0x4c8]
push ebp
call fcn.100a287c
test eax, eax
je 0x100a1917
cmp dword [esp + 0x6c], 0
jne 0x100a1917
mov eax, dword [esp + 0x18]
neg eax
push 0
sbb eax, eax
add eax, 0x80000000
push eax
push dword [esp + 0x4d4]
push dword [esp + 0x4d0]
call fcn.1003c7d0
mov esi, eax
test esi, esi
js 0x100a15ac
mov ebx, dword [esp + 0x4c4]
lea eax, [esp + 0x94]
push 0
push 0x28
push eax
push dword [esp + 0x4d8]
push ebx
call fcn.1003c5d0
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb4]
neg eax
cmp dword [esp + 0x18], 0
cmovne ecx, eax
mov dword [esp + 0x58], ecx
test edi, edi
je 0x100a180e
mov eax, dword [esp + 0xb4]
sub eax, dword [esp + 0x50]
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0x4c]
xor eax, eax
inc eax
mov dword [esp + 0x30], eax
jmp 0x100a152a
xor eax, eax
mov dword [esp + 0x10], eax
jmp 0x100a14e8
or dword [ebp + 0x1c], 0x1000
lea edi, [ebp + 0x34]
cmp dword [edi], 0
mov eax, dword [esp + 0x60]
mov dword [ebp + 0x8c], eax
jne 0x100a184d
push edi
push dword [ebp + 0x2c]
call fcn.10116c10
mov esi, eax
test esi, esi
js 0x100a186a
lea eax, [esp + 0x80]
push eax
mov eax, dword [esp + 0x24]
push dword [eax + 0x18]
push eax
push dword [edi]
call fcn.10115f80
mov esi, eax
and dword [ebp + 0x1c], 0xffffefff
and dword [ebp + 0x8c], 0
mov ecx, dword [esp + 0x80]
test esi, esi
jne 0x100a189c
mov eax, ecx
and eax, 0x7fff
cmp eax, 2
je 0x100a189c
cmp eax, 1
je 0x100a189c
test eax, eax
jne 0x100a1923
and ecx, 0x7fff
cmp ecx, 2
jne 0x100a18bb
cmp word [esp + 0x8c], 0
je 0x100a18bb
xor eax, eax
inc eax
mov dword [esp + 0x10], eax
jmp 0x100a18c3
xor eax, eax
jmp 0x100a18b5
mov eax, dword [esp + 0x10]
cmp esi, 0xfffffc07
je 0x100a14e8
test esi, esi
je 0x100a190c
jg 0x100a18dd
cmp esi, 0xffff8008
jge 0x100a190a
cmp esi, 0xd
jne 0x100a18ef
push 0
push 0
push 0
push 0xffffdfd1
jmp 0x100a18f9
push esi
push 0
push 0
push 0xffffe06c
push 0
push 0
push 0
push ebx
call fcn.10037780
mov esi, 0xfffff42a
test esi, esi
js 0x100a15ac
jmp 0x100a14e4
mov ebx, 0xfffff9bf
mov esi, ebx
jmp 0x100a15b1
push dword [esp + 0x44]
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x4d4]
push ebx
jmp 0x100a134a
push dword [esp + 0x44]
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x4d4]
push dword [esp + 0x4d0]
call fcn.1003c680
test eax, eax
js 0x100a1964
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x50]
mov dword [edx + 0x14], eax
cmp esi, 0xfffff9bd
cmove esi, ebx
xor eax, eax
test esi, esi
cmovg esi, eax
mov eax, esi
mov ecx, dword [esp + 0x4bc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1011720d
add esp, 0x4b0
ret 0x18