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

Disassembly:
sub esp, 0x34
push ebx
push ebp
push esi
mov esi, dword [esp + 0x48]
push edi
mov edi, dword [esp + 0x50]
movsx eax, word [edi + 0x40]
mov ebp, dword [edi + 0x50]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x54]
mov dword [esp + 0x10], ebp
cmp eax, dword [edi + 0x58]
jae 0x100a4faf
mov ebx, dword [esp + 0x48]
test byte [edi + 0x5c], 0x10
je 0x100a5043
push dword [ebp + 4]
call fcn.100cc1d6
mov byte [esp + 0x50], al
lea eax, [esp + 0x1c]
push eax
push dword [ebp + 0x10]
push esi
call fcn.100924d4
test eax, eax
jne 0x100a51cf
mov eax, dword [esp + 0x1c]
and eax, 0x7fff
cmp eax, 1
je 0x100a4f91
lea eax, [esp + 0x30]
push eax
push dword [ebp + 0x24]
push esi
call fcn.100924d4
mov esi, eax
test esi, esi
jne 0x100a5176
mov eax, dword [esp + 0x30]
and eax, 0x7fff
cmp eax, 1
jne 0x100a4fbe
mov eax, dword [esp + 0x1c]
and eax, 0x7fff
cmp eax, 8
je 0x100a4f84
cmp eax, 0xe
je 0x100a4f84
cmp eax, 0xc
jne 0x100a4f8d
push dword [esp + 0x28]
call fcn.101174f0
mov esi, dword [esp + 0x4c]
mov eax, dword [edi + 0x5c]
shr eax, 5
and eax, 1
imul eax, eax, 0x14
add eax, 0x14
add dword [edi + 0x54], eax
mov eax, dword [edi + 0x54]
cmp eax, dword [edi + 0x58]
jb 0x100a4f0c
mov eax, 0xfffff9bd
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0xc
movzx ebp, byte [esp + 0x50]
lea eax, [esp + 0x1c]
push ebp
push eax
push dword [esp + 0x1c]
call fcn.10117650
mov esi, eax
test esi, esi
jne 0x100a5122
push ebp
mov ebp, dword [esp + 0x18]
lea eax, [esp + 0x34]
push eax
push ebp
call fcn.10117650
mov esi, eax
test esi, esi
jne 0x100a5122
push 0x16
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x24]
push eax
push ebp
call fcn.101176c0
test eax, eax
jne 0x100a51cf
mov eax, dword [edi + 0x5c]
shr eax, 0xf
and eax, 1
jne 0x100a5022
test byte [esp + 0x28], 2
jne 0x100a502d
test eax, eax
je 0x100a503f
test byte [esp + 0x28], 1
je 0x100a503f
mov ebp, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x24]
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x24], ecx
jmp 0x100a5043
mov ebp, dword [esp + 0x10]
mov ecx, dword [edi + 0x5c]
mov edx, ecx
shr edx, 0xf
test dl, 1
je 0x100a5056
cmp dword [edi + 0x48], 0
je 0x100a505e
test ecx, 0x40000
je 0x100a5077
mov esi, dword [edi + 0x54]
mov eax, dword [esi]
and eax, 0x1ff
cmp eax, 1
jne 0x100a5077
cmp dword [esi + 0x10], 0
je 0x100a520a
cmp dword [edi + 0x48], 0
jne 0x100a5082
test cl, 0x40
jne 0x100a50d0
test cl, 0x40
je 0x100a508b
xor esi, esi
jmp 0x100a508e
mov esi, dword [edi + 0x54]
mov eax, ecx
and edx, 1
shr eax, 0x10
and eax, 1
shr ecx, 1
push eax
movzx eax, word [edi + 0x44]
and ecx, 1
push edx
push ecx
push eax
push esi
push dword [edi + 0x4c]
mov esi, dword [esp + 0x64]
push dword [edi + 0x48]
push esi
push dword [edi + 0x2c]
push ebx
call fcn.100a4722
cmp eax, 0xfffff9bd
je 0x100a4f91
test eax, eax
js 0x100a4fb4
jmp 0x100a50d4
mov esi, dword [esp + 0x4c]
test byte [edi + 0x5c], 0x40
je 0x100a5105
xor eax, eax
cmp dword [edi + 0x48], eax
sete al
push eax
push dword [edi + 0x78]
push dword [edi + 0x6c]
push dword [edi + 0x2c]
push ebx
call fcn.1003ca80
cmp eax, 0xfffff9bd
je 0x100a4f91
test eax, eax
js 0x100a4fb4
push dword [esp + 0x18]
push dword [edi + 0x2c]
push ebx
call fcn.1003d090
cmp eax, 0xfffff9bf
jne 0x100a4fb4
jmp 0x100a4f91
jg 0x100a512c
cmp esi, 0xffff8008
jge 0x100a5153
xor eax, eax
cmp esi, 0xd
jne 0x100a513d
push eax
push eax
push eax
push 0xffffdfd1
jmp 0x100a5145
push esi
push eax
push eax
push 0xffffe06c
push eax
push eax
push eax
push ebx
call fcn.100378e0
mov esi, 0xfffff42a
mov eax, dword [esp + 0x30]
and eax, 0x7fff
cmp eax, 8
je 0x100a516b
cmp eax, 0xe
je 0x100a516b
cmp eax, 0xc
jne 0x100a51a7
push dword [esp + 0x3c]
call fcn.101174f0
jmp 0x100a51a7
jg 0x100a5180
cmp esi, 0xffff8008
jge 0x100a51a7
xor eax, eax
cmp esi, 0xd
jne 0x100a5191
push eax
push eax
push eax
push 0xffffdfd1
jmp 0x100a5199
push esi
push eax
push eax
push 0xffffe06c
push eax
push eax
push eax
push ebx
call fcn.100378e0
mov esi, 0xfffff42a
mov eax, dword [esp + 0x1c]
and eax, 0x7fff
cmp eax, 8
je 0x100a51bf
cmp eax, 0xe
je 0x100a51bf
cmp eax, 0xc
jne 0x100a51c8
push dword [esp + 0x28]
call fcn.101174f0
mov eax, esi
jmp 0x100a4fb4
jg 0x100a51dc
cmp eax, 0xffff8008
jge 0x100a4fb4
cmp eax, 0xd
jne 0x100a51ed
xor eax, eax
push eax
push eax
push eax
push 0xffffdfd1
jmp 0x100a51f7
push eax
xor eax, eax
push eax
push eax
push 0xffffe06c
push eax
push eax
push eax
push ebx
call fcn.100378e0
mov eax, 0xfffff42a
jmp 0x100a4fb4
push 0
push Ordinal_2
push dword [edi + 0x2c]
push ebx
call fcn.1003cb30
jmp 0x100a4fb4