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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x1029912c]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
mov ebx, ecx
mov dword [esp + 0x24], 0
push esi
push edi
and dl, 2
mov eax, dword [ebx + 8]
mov edi, dword [ebx + 0x74]
movzx ecx, word [ebx + 0x46]
mov dword [esp + 0x20], eax
mov esi, dword [eax + 4]
movsx eax, byte [ebx + 0x44]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x40]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], esi
mov byte [esp + 0x13], dl
mov ax, word [eax + ecx*2]
mov ch, al
mov dword [esp + 0x24], edi
mov cl, ah
movzx eax, word [edi + 0x18]
movzx ecx, cx
and ecx, eax
add ecx, dword [edi + 0x38]
mov dword [esp + 0xc], ecx
test dl, dl
je 0x100fbd54
cmp byte [edi + 8], 0
je 0x100fbd3f
push ecx
push edi
call fcn.100f2dc0
movzx esi, word [edi + 0x14]
add esp, 8
movzx ecx, ax
add esi, 2
mov eax, dword [esp + 0x14]
add esi, ecx
mov ecx, dword [eax + 0x28]
mov eax, 0xaaaaaaab
add ecx, ecx
mul ecx
shr edx, 1
cmp esi, edx
jg 0x100fbd3f
cmp word [edi + 0x16], 1
je 0x100fbd3f
mov dword [esp + 0x2c], 1
jmp 0x100fbd50
mov ecx, ebx
call fcn.100f25f0
mov esi, eax
test esi, esi
jne 0x100fc0d3
mov esi, dword [esp + 0x14]
cmp byte [edi + 8], 0
jne 0x100fbd92
and byte [ebx + 1], 0xf1
xor eax, eax
mov word [ebx + 0x32], ax
cmp byte [ebx], al
jne 0x100fbd83
movzx ecx, word [ebx + 0x46]
test cx, cx
je 0x100fbd83
mov eax, dword [ebx + 0x74]
cmp byte [eax + 8], 0
je 0x100fbd83
lea eax, [ecx - 1]
mov word [ebx + 0x46], ax
jmp 0x100fbd92
mov ecx, ebx
call fcn.100f7c00
test eax, eax
jne 0x100fc0d5
test byte [ebx + 1], 0x20
je 0x100fbdb0
mov edx, dword [ebx + 0x40]
mov ecx, esi
push ebx
call fcn.100f2690
mov esi, eax
add esp, 4
test esi, esi
jne 0x100fc0d3
cmp dword [ebx + 0x70], 0
jne 0x100fbe07
mov ecx, dword [esp + 0x20]
mov eax, dword [ebx + 0x24]
mov esi, dword [ebx + 0x20]
mov edx, dword [ebx + 0x40]
cmp byte [ecx + 0xb], 0
mov dword [esp + 0x1c], eax
je 0x100fbe07
mov eax, dword [ecx + 4]
mov byte [ecx + 0xb], 0
mov eax, dword [eax + 8]
test eax, eax
je 0x100fbe07
mov edi, dword [esp + 0x1c]
nop
test byte [eax + 1], 0x10
je 0x100fbdfc
mov byte [ecx + 0xb], 1
cmp dword [eax + 0x40], edx
jne 0x100fbdfc
cmp dword [eax + 0x20], esi
jne 0x100fbdfc
cmp dword [eax + 0x24], edi
jne 0x100fbdfc
mov byte [eax], 1
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x100fbde0
mov edi, dword [esp + 0x24]
mov ecx, dword [edi + 0x48]
call fcn.100eea50
mov esi, eax
test esi, esi
jne 0x100fc0d3
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x30]
push eax
mov ecx, edi
call fcn.100f89e0
mov edx, dword [esp + 0x2c]
add esp, 4
mov dword [esp + 0xc], eax
mov ecx, edi
lea eax, [esp + 0xc]
push eax
movzx eax, word [esp + 0x46]
push eax
call fcn.100f8fd0
mov esi, dword [esp + 0x14]
add esp, 8
test esi, esi
jne 0x100fc0d3
cmp byte [edi + 8], 0
jne 0x100fbf55
movsx eax, byte [ebx + 0x44]
mov ecx, dword [esp + 0x18]
dec eax
mov esi, dword [ebx + 0x74]
cmp ecx, eax
jge 0x100fbe7b
lfence
mov eax, dword [ebx + ecx*4 + 0x7c]
mov eax, dword [eax + 4]
jmp 0x100fbe7e
mov eax, dword [esi + 4]
movzx ecx, word [esi + 0x16]
mov edx, dword [esi + 0x38]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x40]
mov ax, word [eax + ecx*2 - 2]
mov ch, al
mov cl, ah
movzx eax, word [esi + 0x18]
movzx edi, cx
and edi, eax
lea eax, [edx + 4]
add edi, edx
cmp edi, eax
jae 0x100fbedc
push 0x10279dac
push 0x118de
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.100e2740
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.101d506b
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x4c]
push edi
push esi
call eax
mov ecx, dword [esi + 0x48]
add esp, 8
movzx eax, ax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x54]
mov dword [esp + 0x14], eax
call fcn.100eea50
mov dword [esp + 0xc], eax
test eax, eax
jne 0x100fbf31
mov edx, dword [esp + 0x28]
lea eax, [esp + 0xc]
mov ecx, dword [esp + 0x24]
push eax
push dword [esp + 0x20]
mov eax, dword [esp + 0x28]
push dword [esp + 0x1c]
add eax, 4
push eax
lea eax, [edi - 4]
push eax
call fcn.100f90f0
add esp, 0x14
movzx edx, word [esi + 0x16]
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x24]
dec edx
mov ecx, esi
call fcn.100f8fd0
mov esi, dword [esp + 0x14]
add esp, 8
test esi, esi
jne 0x100fc0d3
mov ecx, ebx
call fcn.100fb320
mov esi, eax
test esi, esi
jne 0x100fc0d3
movsx eax, byte [ebx + 0x44]
cmp eax, dword [esp + 0x18]
jle 0x100fc059
mov eax, dword [ebx + 0x74]
mov edx, dword [eax + 0x48]
test byte [edx + 0x1c], 0x20
je 0x100fbfbf
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov edi, dword [esi]
cdq
push edx
push eax
push 0
push ecx
call fcn.101d5d50
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
jmp 0x100fbfc6
mov ecx, edx
call fcn.100e8b70
mov cl, byte [ebx + 0x44]
dec cl
movsx eax, cl
mov byte [ebx + 0x44], cl
cmp eax, dword [esp + 0x18]
jle 0x100fc042
movsx eax, cl
dec cl
mov edx, dword [ebx + eax*4 + 0x78]
mov byte [ebx + 0x44], cl
test edx, edx
je 0x100fc036
mov edx, dword [edx + 0x48]
test byte [edx + 0x1c], 0x20
je 0x100fc02f
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov edi, dword [esi]
cdq
push edx
push eax
push 0
push ecx
call fcn.101d5d50
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
jmp 0x100fc036
mov ecx, edx
call fcn.100e8b70
mov cl, byte [ebx + 0x44]
movsx eax, cl
cmp eax, dword [esp + 0x18]
jg 0x100fbfd7
movsx eax, cl
mov ecx, ebx
mov eax, dword [ebx + eax*4 + 0x78]
mov dword [ebx + 0x74], eax
call fcn.100fb320
mov esi, eax
test esi, esi
jne 0x100fc0d3
cmp dword [esp + 0x2c], 0
je 0x100fc0b1
mov ecx, dword [esp + 0x24]
mov byte [ebx], 2
movzx eax, word [ecx + 0x16]
cmp dword [esp + 0x28], eax
jb 0x100fc096
mov dword [ebx + 4], 0xffffffff
mov ax, word [ecx + 0x16]
dec ax
mov word [ebx + 0x46], ax
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.101d506b
mov esp, ebp
pop ebp
ret
mov dword [ebx + 4], 1
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.101d506b
mov esp, ebp
pop ebp
ret
mov ecx, ebx
call fcn.100f7230
cmp byte [esp + 0x13], 0
mov esi, eax
je 0x100fc0cb
mov ecx, ebx
call fcn.100f24e0
mov byte [ebx], 3
xor eax, eax
cmp esi, 0x10
cmove esi, eax
mov eax, esi
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101d506b
mov esp, ebp
pop ebp
ret