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

Disassembly:
sub esp, 0x74
push ebx
push ebp
mov ebp, dword [esp + 0x80]
mov ebx, ecx
push esi
push edi
push 7
cmp byte [ebx + 0x68], 0
pop eax
push 3
pop ecx
cmovne eax, ecx
mov dword [esp + 0x1c], eax
test ebp, eax
jne 0x1009956d
xor eax, eax
mov dword [esp + 0x30], eax
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x1009910e
mov edx, dword [ebx + 0x3c]
test dx, dx
jne 0x1009910e
mov dword [esp + 0x4c], edx
xor edx, edx
push edx
mov dword [esp + 0x54], edx
lea edx, [esp + 0x50]
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x10]
test eax, eax
jne 0x10099570
mov edx, dword [ebx + 4]
sub edx, ebp
cmp ebp, dword [ebx + 0xc]
jb 0x1009956d
cmp ebp, dword [ebx + 4]
ja 0x1009956d
cmp edx, 8
jb 0x1009956d
mov esi, dword [ebx]
add esi, ebp
mov eax, dword [esi]
mov edi, dword [esi + 4]
mov dword [esp + 0x18], eax
or eax, edi
je 0x10099565
mov ecx, dword [esp + 0x1c]
xor eax, eax
and ecx, dword [esp + 0x18]
and eax, edi
or ecx, eax
jne 0x1009956d
xor eax, eax
cmp eax, edi
jb 0x1009956d
mov ecx, dword [esp + 0x18]
ja 0x1009916f
cmp edx, ecx
jb 0x1009956d
mov eax, dword [ebx + 8]
add eax, ecx
mov dword [ebx + 8], eax
cmp eax, dword [ebx + 4]
ja 0x1009956d
cmp byte [ebx + 0x69], 0
push 0x66
pop eax
push 0x3e
pop edx
cmovne eax, edx
xor edx, edx
mov dword [esp + 0x40], eax
cmp edi, edx
jb 0x1009956d
ja 0x100991a5
cmp ecx, eax
jb 0x1009956d
mov ecx, dword [esi + 8]
or dword [esp + 0x58], 0xffffffff
or dword [esp + 0x5c], 0xffffffff
or dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x44], ecx
shr ecx, 4
and ecx, 0xffffff01
mov byte [esp + 0x69], dl
mov dword [esp + 0x2c], ecx
mov byte [esp + 0x68], cl
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0x14]
add esi, eax
mov dword [esp + 0x14], ecx
movzx eax, word [esi - 6]
movzx edx, word [esi - 4]
mov dword [esp + 0x3c], eax
movzx eax, word [esi - 2]
mov ecx, eax
mov dword [esp + 0x24], edx
or ecx, edx
mov dword [esp + 0x28], eax
test cl, 1
jne 0x1009956d
test eax, eax
lea ecx, [eax + 2]
cmove ecx, eax
mov eax, dword [esp + 0x1c]
not eax
test edx, edx
mov dword [esp + 0x34], eax
lea eax, [edx + 2]
cmove eax, edx
xor edx, edx
add eax, ecx
add eax, dword [esp + 0x40]
add eax, dword [esp + 0x1c]
and eax, dword [esp + 0x34]
cmp edx, edi
mov edx, dword [esp + 0x24]
ja 0x1009956d
jb 0x10099247
cmp eax, dword [esp + 0x18]
ja 0x1009956d
mov edi, dword [esp + 0x28]
xor eax, eax
cmp word [edi + esi], ax
jne 0x1009956d
test edi, edi
je 0x10099272
xor edx, edx
cmp word [eax + esi], dx
mov edx, dword [esp + 0x24]
je 0x1009956d
add eax, 2
cmp eax, edi
jb 0x1009925b
test edx, edx
je 0x1009929b
add ecx, esi
xor eax, eax
cmp word [ecx + edx], ax
jne 0x1009956d
test edx, edx
je 0x1009929b
xor esi, esi
cmp word [eax + ecx], si
je 0x1009956d
add eax, 2
cmp eax, edx
jb 0x1009928a
mov eax, dword [esp + 0x8c]
lea esi, [esp + 0x54]
sub esp, 0x18
mov dword [esp + 0x78], eax
mov eax, dword [ebx + 0x60]
dec eax
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x7c], eax
push 6
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x38]
call fcn.100977e4
add ebp, dword [esp + 0x18]
mov edi, eax
xor eax, eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x38], eax
cmp dword [esp + 0x3c], eax
jbe 0x100994b9
mov esi, dword [ebx + 4]
mov edx, esi
sub edx, ebp
cmp ebp, dword [ebx + 0xc]
jb 0x1009956d
cmp ebp, esi
ja 0x1009956d
cmp edx, 8
jb 0x1009956d
mov edi, dword [ebx]
mov ecx, dword [esp + 0x1c]
add edi, ebp
mov dword [esp + 0x48], edi
mov eax, dword [edi]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 4]
and ecx, dword [esp + 0x18]
mov dword [esp + 0x20], eax
xor eax, eax
and eax, dword [esp + 0x20]
or ecx, eax
jne 0x1009956d
xor eax, eax
cmp eax, dword [esp + 0x20]
jb 0x1009956d
ja 0x10099346
cmp edx, dword [esp + 0x18]
jb 0x1009956d
mov cl, byte [ebx + 0x69]
push 0x28
pop eax
push 0x18
test cl, cl
pop edx
cmovne eax, edx
xor edx, edx
cmp dword [esp + 0x20], edx
jb 0x1009956d
ja 0x1009936c
cmp dword [esp + 0x18], eax
jb 0x1009956d
mov eax, dword [esp + 0x18]
add dword [ebx + 8], eax
cmp dword [ebx + 8], esi
ja 0x1009956d
test cl, cl
je 0x10099384
push 0x10
jmp 0x10099392
mov eax, dword [edi + 8]
or eax, dword [edi + 0xc]
jne 0x1009956d
push 0x24
pop edx
movzx ecx, word [edx + edi]
test cl, 1
jne 0x1009956d
mov esi, dword [esp + 0x1c]
lea eax, [ecx + 2]
test ecx, ecx
cmove eax, ecx
add esi, 2
add eax, edx
add eax, esi
xor esi, esi
and eax, dword [esp + 0x34]
cmp esi, dword [esp + 0x20]
ja 0x1009956d
jb 0x100993cf
cmp eax, dword [esp + 0x18]
ja 0x1009956d
add edx, edi
xor eax, eax
cmp word [edx + ecx + 2], ax
jne 0x1009956d
test ecx, ecx
je 0x100993f6
xor esi, esi
cmp word [eax + edx + 2], si
je 0x1009956d
add eax, 2
cmp eax, ecx
jb 0x100993e4
mov edx, dword [ebx]
add edx, dword [esp + 0x54]
test ecx, ecx
jne 0x10099450
test dword [esp + 0x44], 0x400
jne 0x10099410
cmp byte [esp + 0x2c], cl
jne 0x10099450
cmp byte [ebx + 0x69], 0
jne 0x10099444
lea edi, [edx + 0x40]
mov ecx, edi
call fcn.1008fa2b
test al, al
je 0x10099450
mov esi, dword [esp + 0x48]
add esi, 0x10
mov ecx, esi
call fcn.1008fa2b
test al, al
jne 0x1009949e
push 0x14
push esi
push edi
call fcn.100f7620
add esp, 0xc
jmp 0x1009949e
push 4
lea eax, [edi + 8]
push eax
lea eax, [edx + 0x10]
push eax
jmp 0x1009943a
mov eax, dword [esp + 0x40]
lea esi, [esp + 0x6c]
or dword [esp + 0x70], 0xffffffff
sub esp, 0x18
or dword [esp + 0x8c], 0xffffffff
mov dword [esp + 0x90], eax
mov eax, dword [ebx + 0x60]
push 6
pop ecx
dec eax
mov word [esp + 0x98], 0x100
mov edi, esp
mov dword [esp + 0x94], eax
mov dword [esp + 0x84], ebp
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x38]
mov byte [ebx + 0x6b], 1
call fcn.100977e4
mov eax, dword [esp + 0x38]
add ebp, dword [esp + 0x18]
inc eax
mov dword [esp + 0x38], eax
cmp eax, dword [esp + 0x3c]
jb 0x100992e2
mov edi, dword [esp + 0x40]
cmp dword [esp + 0x8c], 0
jge 0x1009953a
cmp dword [esp + 0x30], 0
jne 0x1009953a
cmp dword [esp + 0x24], 0
jne 0x1009953a
cmp dword [esp + 0x28], 0
jne 0x1009953a
cmp byte [esp + 0x2c], 0
je 0x1009955c
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, ebp
add edx, ebp
cmp eax, 8
jb 0x1009953a
mov eax, dword [edx]
or eax, dword [edx + 4]
mov esi, dword [esp + 0x14]
jne 0x1009953e
mov ecx, dword [ebx + 0x60]
mov eax, dword [ebx + 0x5c]
mov eax, dword [eax + ecx*4 - 4]
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x1c], 1
mov eax, ecx
or eax, esi
je 0x10099542
mov eax, dword [ebx + 4]
sub eax, ebp
cmp eax, 0x10
jb 0x10099542
mov eax, dword [edx + 8]
or eax, dword [edx + 0xc]
je 0x10099542
xor edx, edx
lea eax, [ebp + 8]
cmp edx, esi
ja 0x10099542
jb 0x10099534
cmp eax, ecx
jae 0x10099542
mov ecx, eax
mov esi, edx
jmp 0x10099542
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp byte [esp + 0x2c], 0
je 0x1009955c
mov eax, ecx
or eax, esi
je 0x1009955c
push edi
push ecx
mov ecx, ebx
call fcn.100990b2
test eax, eax
jne 0x10099570
inc dword [esp + 0x30]
jmp 0x100990e1
add dword [ebx + 8], 8
xor eax, eax
jmp 0x10099570
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret 8