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

Disassembly:
sub esp, 0x4b0
mov eax, dword [0x101366b4]
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 0x100a1a88
cmp dword [ecx + 0x28], edi
je 0x100a1a88
mov eax, 0xfffff9bf
jmp 0x100a2397
lea eax, [esp + 0x44]
push eax
push 4
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x4d8]
push dword [esp + 0x4d4]
call fcn.1003c650
test eax, eax
js 0x100a2397
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x4c8]
call fcn.100378c0
push dword [esp + 0x28]
push edi
push 5
push dword [esp + 0x4d0]
push ebx
call fcn.100a1943
mov esi, eax
test esi, esi
jne 0x100a2397
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 0x24], 1
jne 0x100a1d87
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 0x100a1bfb
push 0
push dword [esp + 0x50]
push dword [esp + 0x4d4]
push dword [esp + 0x4d0]
call fcn.1003cb30
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 0x100a1bf7
cmp esi, 0xfffff9bd
jne 0x100a1fcd
push 0
push 0x28
lea eax, [esp + 0x9c]
push eax
push edi
push dword [esp + 0x4d4]
call fcn.1003c930
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 0x100a1fcd
push dword [esp + 0x28]
push dword [esp + 0x4c8]
push dword [esp + 0x2c]
call fcn.100a329d
test eax, eax
je 0x100a1fcd
cmp dword [esp + 0x6c], ebx
jne 0x100a1fcd
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.1003cb30
mov esi, eax
test esi, esi
js 0x100a1fcd
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 0x100a1c1e
mov eax, dword [ecx + 0x38]
push fcn.1008f090
push dword [eax + 0x44]
push 0
push 0
jmp 0x100a1c2b
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.10096843
mov esi, eax
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
test esi, esi
jns 0x100a1cb9
push dword [esp + 0x28]
push 2
push 1
push dword [esp + 0x4d0]
push dword [esp + 0x34]
call fcn.100a1943
test eax, eax
jne 0x100a1fcb
cmp esi, 0xfffff9bf
je 0x100a1ca9
cmp esi, 0xfffff9bd
jne 0x100a1fcd
mov eax, dword [esp + 0x48]
test byte [eax + 0x130], 2
je 0x100a1b61
xor eax, eax
inc eax
cmp dword [esp + 0x18], 0
push 0xffffffffffffffff
pop ecx
cmovne eax, ecx
sub dword [esp + 0x14], eax
jmp 0x100a1b20
cmp dword [esp + 0x1c], 0
je 0x100a1b20
jmp 0x100a1fcd
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 0x100a1ce1
push edi
push dword [eax + 0x2c]
call fcn.10117700
mov esi, eax
test esi, esi
js 0x100a1cfe
lea eax, [esp + 0x80]
push eax
mov eax, dword [esp + 0x24]
push dword [eax + 0x18]
push eax
push dword [edi]
call fcn.10116a70
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 0x100a1d30
mov eax, ecx
and eax, 0x7fff
cmp eax, 2
je 0x100a1d30
cmp eax, 1
je 0x100a1d30
test eax, eax
jne 0x100a1d54
and ecx, 0x7fff
cmp ecx, 2
jne 0x100a1d46
cmp word [esp + 0x8c], 0
jne 0x100a1d7a
and dword [esp + 0x10], 0
mov edi, dword [esp + 0x40]
jmp 0x100a1b20
push dword [esp + 0x44]
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x4d4]
push dword [esp + 0x4d0]
call fcn.1003c9e0
mov esi, 0xfffffc15
jmp 0x100a1fcd
mov dword [esp + 0x10], 1
jmp 0x100a1fcd
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 0x100a1dbd
mov al, byte [ebx + 5]
cmp al, 0xf
je 0x100a1dba
cmp al, 0x10
jne 0x100a1dbd
xor edi, edi
inc edi
and dword [esp + 0x3c], edx
test byte [ebp + 0x2c], 4
jne 0x100a1ef0
cmp cl, 3
jne 0x100a1dd6
cmp byte [ebx + 5], 7
je 0x100a1dde
test edi, edi
je 0x100a1ef0
mov eax, dword [ebx + 8]
mov al, byte [eax + 4]
cmp al, 8
je 0x100a1dec
cmp al, 9
jne 0x100a1dfa
push ebx
push dword [esp + 0x24]
call fcn.100933ff
mov edx, dword [esp + 0x38]
mov ebp, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
mov cl, byte [ebp + 4]
cmp cl, 8
je 0x100a1e11
cmp cl, 9
jne 0x100a1ef0
cmp byte [eax + 4], 0xa
jne 0x100a1ef0
cmp byte [eax + 5], 0
jne 0x100a1ef0
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 0x100a1e53
cmp eax, 0xc
je 0x100a1e53
cmp eax, 0xe
jne 0x100a1ef0
test edi, edi
je 0x100a1e97
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.10092a81
test ax, ax
jne 0x100a1e97
movzx eax, byte [ebx + 5]
push eax
call fcn.10093584
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.1009271a
test ax, ax
jne 0x100a1ef0
cmp byte [ebp + 4], 8
mov dword [esp + 0x40], 1
jne 0x100a1ed9
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.100a33eb
mov eax, dword [esp + 0x1c]
add eax, eax
jmp 0x100a1eec
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 0x100a2027
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x100a1fcd
mov edi, dword [esp + 0x4c]
push eax
push edi
push dword [esp + 0x4d4]
push ebx
call fcn.1003cb30
mov esi, eax
test esi, esi
jns 0x100a1f43
cmp esi, 0xfffff9bd
jne 0x100a1fcd
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x3c]
jmp 0x100a218f
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x24]
test esi, esi
js 0x100a1fa0
test eax, eax
je 0x100a1fa0
lea eax, [esp + 0x7c]
push eax
push pe_nt_image_headers32
lea eax, [esp + 0xc4]
push eax
push dword [esp + 0x4d8]
push ebx
call fcn.1003c650
mov esi, eax
test esi, esi
js 0x100a1fcd
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x7c]
jne 0x100a1fa0
push eax
lea eax, [esp + 0xc0]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.1011974c
add esp, 0xc
test eax, eax
je 0x100a2338
add dword [esp + 0x14], edi
mov edi, dword [esp + 0x54]
inc edi
mov dword [esp + 0x54], edi
cmp edi, 0x32
jl 0x100a202b
push dword [esp + 0x28]
xor eax, eax
push 2
push 1
push ebx
push ebp
mov dword [esp + 0x68], eax
call fcn.100a1943
test eax, eax
je 0x100a202b
mov esi, eax
mov ebx, 0xfffff9bf
push dword [esp + 0x28]
push 0
push 6
push dword [esp + 0x4d0]
push dword [esp + 0x34]
call fcn.100a1943
cmp dword [esp + 0x10], 0
je 0x100a235a
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 0x100a2015
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 0x100a2397
mov ebp, dword [esp + 0x24]
cmp dword [esp + 0x40], 0
je 0x100a224a
mov edi, dword [esp + 0x38]
push 0
test edi, edi
jne 0x100a2073
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.100aea00
mov esi, eax
cmp esi, 0x3ec
je 0x100a1f05
mov eax, dword [edi + 0x18]
jmp 0x100a2100
lea eax, [esp + 0x7c]
push eax
push 0x1fe
lea eax, [esp + 0xc8]
push eax
push dword [esp + 0x6c]
push ebx
call fcn.100aea00
mov esi, eax
test esi, esi
jne 0x100a1fcd
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.1003c9e0
mov esi, eax
test esi, esi
js 0x100a1fcd
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.1003cec0
mov esi, eax
test esi, esi
js 0x100a1fcd
cmp esi, 0x3ee
je 0x100a223f
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x18]
and eax, 0x7fff
cmp eax, 0xc
jne 0x100a210e
xor eax, eax
jmp 0x100a211e
mov eax, dword [esp + 0x64]
neg eax
sbb eax, eax
and eax, 0x80000000
or eax, dword [ebp + 0x20]
test esi, esi
js 0x100a22e0
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 0x100a22d3
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 0x2c], 0
je 0x100a22e0
mov ecx, dword [esp + 0x18]
test eax, eax
jns 0x100a216f
test ecx, ecx
je 0x100a217d
test eax, eax
jle 0x100a22e0
test ecx, ecx
je 0x100a22e0
cmp dword [esp + 0x30], 0
jne 0x100a2338
xor edi, edi
inc edi
mov dword [esp + 0x3c], edi
push dword [esp + 0x28]
push dword [esp + 0x4c8]
push ebp
call fcn.100a329d
test eax, eax
je 0x100a2338
cmp dword [esp + 0x6c], 0
jne 0x100a2338
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.1003cb30
mov esi, eax
test esi, esi
js 0x100a1fcd
mov ebx, dword [esp + 0x4c4]
lea eax, [esp + 0x94]
push 0
push 0x28
push eax
push dword [esp + 0x4d8]
push ebx
call fcn.1003c930
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 0x100a222f
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 0x100a1f4b
xor eax, eax
mov dword [esp + 0x10], eax
jmp 0x100a1f09
or dword [ebp + 0x1c], 0x1000
lea edi, [ebp + 0x34]
cmp dword [edi], 0
mov eax, dword [esp + 0x60]
mov dword [ebp + 0x8c], eax
jne 0x100a226e
push edi
push dword [ebp + 0x2c]
call fcn.10117700
mov esi, eax
test esi, esi
js 0x100a228b
lea eax, [esp + 0x80]
push eax
mov eax, dword [esp + 0x24]
push dword [eax + 0x18]
push eax
push dword [edi]
call fcn.10116a70
mov esi, eax
and dword [ebp + 0x1c], 0xffffefff
and dword [ebp + 0x8c], 0
mov ecx, dword [esp + 0x80]
test esi, esi
jne 0x100a22bd
mov eax, ecx
and eax, 0x7fff
cmp eax, 2
je 0x100a22bd
cmp eax, 1
je 0x100a22bd
test eax, eax
jne 0x100a2344
and ecx, 0x7fff
cmp ecx, 2
jne 0x100a22dc
cmp word [esp + 0x8c], 0
je 0x100a22dc
xor eax, eax
inc eax
mov dword [esp + 0x10], eax
jmp 0x100a22e4
xor eax, eax
jmp 0x100a22d6
mov eax, dword [esp + 0x10]
cmp esi, 0xfffffc07
je 0x100a1f09
test esi, esi
je 0x100a232d
jg 0x100a22fe
cmp esi, 0xffff8008
jge 0x100a232b
cmp esi, 0xd
jne 0x100a2310
push 0
push 0
push 0
push 0xffffdfd1
jmp 0x100a231a
push esi
push 0
push 0
push 0xffffe06c
push 0
push 0
push 0
push ebx
call fcn.100378e0
mov esi, 0xfffff42a
test esi, esi
js 0x100a1fcd
jmp 0x100a1f05
mov ebx, 0xfffff9bf
mov esi, ebx
jmp 0x100a1fd2
push dword [esp + 0x44]
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x4d4]
push ebx
jmp 0x100a1d6b
push dword [esp + 0x44]
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x4d4]
push dword [esp + 0x4d0]
call fcn.1003c9e0
test eax, eax
js 0x100a2385
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.10117cfd
add esp, 0x4b0
ret 0x18