Function at 0x100a0d98
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 0x100a0e67
cmp dword [ecx + 0x28], edi
je 0x100a0e67
mov eax, 0xfffff9bf
jmp 0x100a1776
lea eax, [esp + 0x44]
push eax
push 4
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x4d8]
push dword [esp + 0x4d4]
call fcn.1003c250
test eax, eax
js 0x100a1776
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x4c8]
call fcn.10037710
push dword [esp + 0x28]
push edi
push 5
push dword [esp + 0x4d0]
push ebx
call fcn.100a0d22
mov esi, eax
test esi, esi
jne 0x100a1776
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 0x24], 1
jne 0x100a1166
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 0x100a0fda
push 0
push dword [esp + 0x50]
push dword [esp + 0x4d4]
push dword [esp + 0x4d0]
call fcn.1003c730
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 0x100a0fd6
cmp esi, 0xfffff9bd
jne 0x100a13ac
push 0
push 0x28
lea eax, [esp + 0x9c]
push eax
push edi
push dword [esp + 0x4d4]
call fcn.1003c530
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 0x100a13ac
push dword [esp + 0x28]
push dword [esp + 0x4c8]
push dword [esp + 0x2c]
call fcn.100a267c
test eax, eax
je 0x100a13ac
cmp dword [esp + 0x6c], ebx
jne 0x100a13ac
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.1003c730
mov esi, eax
test esi, esi
js 0x100a13ac
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 0x100a0ffd
mov eax, dword [ecx + 0x38]
push fcn.1008e4b0
push dword [eax + 0x44]
push 0
push 0
jmp 0x100a100a
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.10095c63
mov esi, eax
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
test esi, esi
jns 0x100a1098
push dword [esp + 0x28]
push 2
push 1
push dword [esp + 0x4d0]
push dword [esp + 0x34]
call fcn.100a0d22
test eax, eax
jne 0x100a13aa
cmp esi, 0xfffff9bf
je 0x100a1088
cmp esi, 0xfffff9bd
jne 0x100a13ac
mov eax, dword [esp + 0x48]
test byte [eax + 0x130], 2
je 0x100a0f40
xor eax, eax
inc eax
cmp dword [esp + 0x18], 0
push 0xffffffffffffffff
pop ecx
cmovne eax, ecx
sub dword [esp + 0x14], eax
jmp 0x100a0eff
cmp dword [esp + 0x1c], 0
je 0x100a0eff
jmp 0x100a13ac
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 0x100a10c0
push edi
push dword [eax + 0x2c]
call fcn.10116a60
mov esi, eax
test esi, esi
js 0x100a10dd
lea eax, [esp + 0x80]
push eax
mov eax, dword [esp + 0x24]
push dword [eax + 0x18]
push eax
push dword [edi]
call fcn.10115dd0
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 0x100a110f
mov eax, ecx
and eax, 0x7fff
cmp eax, 2
je 0x100a110f
cmp eax, 1
je 0x100a110f
test eax, eax
jne 0x100a1133
and ecx, 0x7fff
cmp ecx, 2
jne 0x100a1125
cmp word [esp + 0x8c], 0
jne 0x100a1159
and dword [esp + 0x10], 0
mov edi, dword [esp + 0x40]
jmp 0x100a0eff
push dword [esp + 0x44]
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x4d4]
push dword [esp + 0x4d0]
call fcn.1003c5e0
mov esi, 0xfffffc15
jmp 0x100a13ac
mov dword [esp + 0x10], 1
jmp 0x100a13ac
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 0x100a119c
mov al, byte [ebx + 5]
cmp al, 0xf
je 0x100a1199
cmp al, 0x10
jne 0x100a119c
xor edi, edi
inc edi
and dword [esp + 0x3c], edx
test byte [ebp + 0x2c], 4
jne 0x100a12cf
cmp cl, 3
jne 0x100a11b5
cmp byte [ebx + 5], 7
je 0x100a11bd
test edi, edi
je 0x100a12cf
mov eax, dword [ebx + 8]
mov al, byte [eax + 4]
cmp al, 8
je 0x100a11cb
cmp al, 9
jne 0x100a11d9
push ebx
push dword [esp + 0x24]
call fcn.1009281f
mov edx, dword [esp + 0x38]
mov ebp, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
mov cl, byte [ebp + 4]
cmp cl, 8
je 0x100a11f0
cmp cl, 9
jne 0x100a12cf
cmp byte [eax + 4], 0xa
jne 0x100a12cf
cmp byte [eax + 5], 0
jne 0x100a12cf
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 0x100a1232
cmp eax, 0xc
je 0x100a1232
cmp eax, 0xe
jne 0x100a12cf
test edi, edi
je 0x100a1276
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.10091ea1
test ax, ax
jne 0x100a1276
movzx eax, byte [ebx + 5]
push eax
call fcn.100929a4
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.10091b3a
test ax, ax
jne 0x100a12cf
cmp byte [ebp + 4], 8
mov dword [esp + 0x40], 1
jne 0x100a12b8
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.100a27ca
mov eax, dword [esp + 0x1c]
add eax, eax
jmp 0x100a12cb
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 0x100a1406
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x100a13ac
mov edi, dword [esp + 0x4c]
push eax
push edi
push dword [esp + 0x4d4]
push ebx
call fcn.1003c730
mov esi, eax
test esi, esi
jns 0x100a1322
cmp esi, 0xfffff9bd
jne 0x100a13ac
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x3c]
jmp 0x100a156e
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x24]
test esi, esi
js 0x100a137f
test eax, eax
je 0x100a137f
lea eax, [esp + 0x7c]
push eax
push 0x100
lea eax, [esp + 0xc4]
push eax
push dword [esp + 0x4d8]
push ebx
call fcn.1003c250
mov esi, eax
test esi, esi
js 0x100a13ac
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x7c]
jne 0x100a137f
push eax
lea eax, [esp + 0xc0]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.10118aac
add esp, 0xc
test eax, eax
je 0x100a1717
add dword [esp + 0x14], edi
mov edi, dword [esp + 0x54]
inc edi
mov dword [esp + 0x54], edi
cmp edi, 0x32
jl 0x100a140a
push dword [esp + 0x28]
xor eax, eax
push 2
push 1
push ebx
push ebp
mov dword [esp + 0x68], eax
call fcn.100a0d22
test eax, eax
je 0x100a140a
mov esi, eax
mov ebx, 0xfffff9bf
push dword [esp + 0x28]
push 0
push 6
push dword [esp + 0x4d0]
push dword [esp + 0x34]
call fcn.100a0d22
cmp dword [esp + 0x10], 0
je 0x100a1739
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 0x100a13f4
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 0x100a1776
mov ebp, dword [esp + 0x24]
cmp dword [esp + 0x40], 0
je 0x100a1629
mov edi, dword [esp + 0x38]
push 0
test edi, edi
jne 0x100a1452
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.100adddf
mov esi, eax
cmp esi, 0x3ec
je 0x100a12e4
mov eax, dword [edi + 0x18]
jmp 0x100a14df
lea eax, [esp + 0x7c]
push eax
push 0x1fe
lea eax, [esp + 0xc8]
push eax
push dword [esp + 0x6c]
push ebx
call fcn.100adddf
mov esi, eax
test esi, esi
jne 0x100a13ac
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.1003c5e0
mov esi, eax
test esi, esi
js 0x100a13ac
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.1003cac0
mov esi, eax
test esi, esi
js 0x100a13ac
cmp esi, 0x3ee
je 0x100a161e
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x18]
and eax, 0x7fff
cmp eax, 0xc
jne 0x100a14ed
xor eax, eax
jmp 0x100a14fd
mov eax, dword [esp + 0x64]
neg eax
sbb eax, eax
and eax, 0x80000000
or eax, dword [ebp + 0x20]
test esi, esi
js 0x100a16bf
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 0x100a16b2
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 0x2c], 0
je 0x100a16bf
mov ecx, dword [esp + 0x18]
test eax, eax
jns 0x100a154e
test ecx, ecx
je 0x100a155c
test eax, eax
jle 0x100a16bf
test ecx, ecx
je 0x100a16bf
cmp dword [esp + 0x30], 0
jne 0x100a1717
xor edi, edi
inc edi
mov dword [esp + 0x3c], edi
push dword [esp + 0x28]
push dword [esp + 0x4c8]
push ebp
call fcn.100a267c
test eax, eax
je 0x100a1717
cmp dword [esp + 0x6c], 0
jne 0x100a1717
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.1003c730
mov esi, eax
test esi, esi
js 0x100a13ac
mov ebx, dword [esp + 0x4c4]
lea eax, [esp + 0x94]
push 0
push 0x28
push eax
push dword [esp + 0x4d8]
push ebx
call fcn.1003c530
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 0x100a160e
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 0x100a132a
xor eax, eax
mov dword [esp + 0x10], eax
jmp 0x100a12e8
or dword [ebp + 0x1c], 0x1000
lea edi, [ebp + 0x34]
cmp dword [edi], 0
mov eax, dword [esp + 0x60]
mov dword [ebp + 0x8c], eax
jne 0x100a164d
push edi
push dword [ebp + 0x2c]
call fcn.10116a60
mov esi, eax
test esi, esi
js 0x100a166a
lea eax, [esp + 0x80]
push eax
mov eax, dword [esp + 0x24]
push dword [eax + 0x18]
push eax
push dword [edi]
call fcn.10115dd0
mov esi, eax
and dword [ebp + 0x1c], 0xffffefff
and dword [ebp + 0x8c], 0
mov ecx, dword [esp + 0x80]
test esi, esi
jne 0x100a169c
mov eax, ecx
and eax, 0x7fff
cmp eax, 2
je 0x100a169c
cmp eax, 1
je 0x100a169c
test eax, eax
jne 0x100a1723
and ecx, 0x7fff
cmp ecx, 2
jne 0x100a16bb
cmp word [esp + 0x8c], 0
je 0x100a16bb
xor eax, eax
inc eax
mov dword [esp + 0x10], eax
jmp 0x100a16c3
xor eax, eax
jmp 0x100a16b5
mov eax, dword [esp + 0x10]
cmp esi, 0xfffffc07
je 0x100a12e8
test esi, esi
je 0x100a170c
jg 0x100a16dd
cmp esi, 0xffff8008
jge 0x100a170a
cmp esi, 0xd
jne 0x100a16ef
push 0
push 0
push 0
push 0xffffdfd1
jmp 0x100a16f9
push esi
push 0
push 0
push 0xffffe06c
push 0
push 0
push 0
push ebx
call fcn.10037730
mov esi, 0xfffff42a
test esi, esi
js 0x100a13ac
jmp 0x100a12e4
mov ebx, 0xfffff9bf
mov esi, ebx
jmp 0x100a13b1
push dword [esp + 0x44]
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x4d4]
push ebx
jmp 0x100a114a
push dword [esp + 0x44]
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x4d4]
push dword [esp + 0x4d0]
call fcn.1003c5e0
test eax, eax
js 0x100a1764
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.1011705d
add esp, 0x4b0
ret 0x18