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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x50
mov ebp, dword [esp + 0x7c]
mov ebx, dword [esp + 0x74]
cmp dword [esp + 0x80], 0
je 0x100079be
mov cl, byte [ebp]
cmp cl, 0x2b
jne 0x100079c2
xor eax, eax
inc eax
jmp 0x100079ca
xor eax, eax
jmp 0x100079ca
xor eax, eax
cmp cl, 0x2d
sete al
mov esi, dword [ebx + 0x14]
mov edx, 0x3000
mov ecx, 0x101c83c3
and esi, edx
cmp esi, edx
jne 0x10007a05
lea edx, [eax + 2]
mov ecx, 0x101c83c6
cmp edx, dword [esp + 0x80]
mov dword [esp + 4], edx
ja 0x10007a05
cmp byte [ebp + eax], 0x30
jne 0x10007a05
mov dl, byte [ebp + eax + 1]
or dl, 0x20
cmp dl, 0x78
je 0x10007a09
mov dword [esp + 4], eax
push ecx
push ebp
call fcn.101b1910
add esp, 8
lea edi, [esp + 0x36]
mov esi, eax
mov word [edi], 0x2e
call fcn.101b08cd
mov eax, dword [eax]
mov al, byte [eax]
mov byte [edi], al
push edi
push ebp
call fcn.101b1910
add esp, 8
mov dword [esp], eax
mov eax, dword [ebx + 0x30]
lea ebx, [esp + 0x10]
mov ecx, dword [eax + 4]
mov dword [ebx + 4], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0x38]
push 0
call fcn.10183833
mov ebp, dword [0x10209ad0]
mov ecx, 0x10254548
mov dword [esp + 0xc], ebp
call fcn.100058e2
mov ecx, ebx
push eax
call fcn.10005918
mov edi, eax
test eax, eax
jne 0x10007ab4
test ebp, ebp
mov edi, ebp
jne 0x10007ab4
lea eax, [esp + 0x10]
lea ecx, [esp + 0xc]
push eax
push ecx
call fcn.10005950
add esp, 8
cmp eax, 0xffffffff
je 0x10007f24
mov edi, dword [esp + 0xc]
push edi
call fcn.10183c59
add esp, 4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edi, dword [esp + 0xc]
mov dword [0x10209ad0], edi
lea ecx, [esp + 0x38]
call fcn.10183864
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x10007ad6
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x10007ad6
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
xor eax, eax
mov ebp, 0xf
mov ecx, ebx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], eax
mov byte [esp + 0x10], 0
push eax
push dword [esp + 0x84]
call fcn.1000739a
cmp dword [esp + 0x24], ebp
jbe 0x10007b03
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x80]
mov edx, dword [edi]
mov ebp, ecx
lea eax, [ecx + eax]
mov ecx, edi
push ebx
push eax
push ebp
call dword [edx + 0x1c]
mov eax, dword [esp + 0x74]
lea ebx, [esp + 0x38]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 4]
mov dword [ebx + 4], ecx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
lea ecx, [esp + 0xc]
push eax
call fcn.10183833
mov ebp, dword [0x10209ad8]
mov ecx, 0x10209ac0
mov dword [esp + 0x28], ebp
call fcn.100058e2
mov ecx, ebx
push eax
call fcn.10005918
mov edi, eax
test eax, eax
jne 0x10007ba0
test ebp, ebp
mov edi, ebp
jne 0x10007ba0
lea eax, [esp + 0x38]
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.100074be
add esp, 8
cmp eax, 0xffffffff
je 0x10007f24
mov edi, dword [esp + 0x28]
push edi
call fcn.10183c59
add esp, 4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edi, dword [esp + 0x28]
mov dword [0x10209ad8], edi
lea ecx, [esp + 0xc]
call fcn.10183864
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x10007bc2
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x10007bc2
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 0x14]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
mov ebp, dword [esp]
cmp ebp, dword [esp + 0x80]
je 0x10007c00
mov byte [esp + 8], al
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
cmp dword [esp + 0x24], 0xf
jbe 0x10007bf5
mov ecx, dword [esp + 0x10]
jmp 0x10007bf9
lea ecx, [esp + 0x10]
mov byte [ecx + ebp], al
mov al, byte [esp + 8]
cmp ebp, dword [esp + 0x80]
cmovne esi, ebp
cmp dword [esp + 0x4c], 0xf
jbe 0x10007c15
mov ebx, dword [esp + 0x38]
movsx edx, byte [ebx]
cmp edx, 0x7f
je 0x10007c5c
test dl, dl
jle 0x10007c5c
mov ecx, esi
sub ecx, dword [esp + 4]
cmp ecx, edx
jbe 0x10007c5c
xor ebp, ebp
movsx edi, al
inc ebp
sub esi, edx
lea ecx, [esp + 0x10]
push edi
push ebp
push esi
call fcn.10007306
cmp byte [ebx + 1], 0
jle 0x10007c46
inc ebx
movsx edx, byte [ebx]
cmp edx, 0x7f
je 0x10007c5c
test dl, dl
jle 0x10007c5c
mov ecx, esi
sub ecx, dword [esp + 4]
cmp ecx, edx
ja 0x10007c31
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x20]
mov ebx, dword [edx + 0x20]
mov eax, dword [edx + 0x24]
mov dword [esp + 0x2c], ecx
cmp ebx, 1
sbb eax, 0
jl 0x10007c7f
cmp ecx, ebx
cmovae ebx, ecx
sub ebx, ecx
jmp 0x10007c81
xor ebx, ebx
mov eax, 0x1c0
lea ebp, [esp + 0x6c]
and eax, dword [edx + 0x14]
mov dword [esp + 0x30], ebp
cmp eax, 0x40
je 0x10007cd3
movzx eax, ax
cmp eax, 0x100
jne 0x10007d06
mov eax, dword [ebp]
mov edi, dword [ebp + 4]
mov ecx, eax
mov dword [esp], eax
and eax, 0xffffff00
cmp dword [esp + 4], 0
mov dword [esp + 8], eax
je 0x10007d95
cmp dword [esp + 0x24], 0xf
jbe 0x10007d70
mov esi, dword [esp + 0x10]
jmp 0x10007d74
mov eax, dword [ebp]
mov esi, dword [ebp + 4]
mov ecx, eax
mov dword [esp + 8], eax
and eax, 0xffffff00
cmp dword [esp + 4], 0
mov dword [esp], eax
je 0x10007e0a
cmp dword [esp + 0x24], 0xf
jbe 0x10007de4
mov edi, dword [esp + 0x10]
jmp 0x10007de8
mov eax, dword [ebp]
mov edi, dword [ebp + 4]
mov ecx, eax
mov dword [esp], eax
and eax, 0xffffff00
test ebx, ebx
mov dword [esp + 8], eax
je 0x10007d3c
movsx esi, byte [esp + 0x78]
test edi, edi
je 0x10007d34
mov ecx, edi
push esi
call fcn.1000788e
cmp eax, 0xffffffff
jne 0x10007d39
mov al, 1
mov dword [esp], eax
dec ebx
jne 0x10007d23
movzx ecx, byte [esp]
mov esi, edi
or ecx, dword [esp + 8]
xor eax, eax
dec eax
and esi, eax
cmp dword [esp + 4], 0
mov dword [ebp + 4], esi
mov dword [ebp], ecx
je 0x10007e57
cmp dword [esp + 0x24], 0xf
jbe 0x10007e24
mov ebx, dword [esp + 0x10]
jmp 0x10007e28
lea esi, [esp + 0x10]
mov ebp, dword [esp + 4]
test edi, edi
je 0x10007d8c
movsx eax, byte [esi]
mov ecx, edi
push eax
call fcn.1000788e
cmp eax, 0xffffffff
jne 0x10007d91
mov al, 1
mov dword [esp], eax
inc esi
dec ebp
jne 0x10007d78
movzx ecx, byte [esp]
mov esi, edi
or ecx, dword [esp + 8]
xor eax, eax
dec eax
and esi, eax
lea eax, [esp + 0x6c]
test ebx, ebx
mov dword [eax + 4], esi
mov dword [eax], ecx
je 0x10007ddd
movsx ebp, byte [esp + 0x78]
test edi, edi
je 0x10007dc7
mov ecx, edi
push ebp
call fcn.1000788e
cmp eax, 0xffffffff
jne 0x10007dcc
mov al, 1
mov dword [esp], eax
dec ebx
jne 0x10007db6
movzx eax, byte [esp]
mov ecx, dword [esp + 8]
or ecx, eax
lea eax, [esp + 0x6c]
mov dword [eax], ecx
mov dword [eax + 4], esi
jmp 0x10007e5d
lea edi, [esp + 0x10]
mov ebp, dword [esp + 4]
test esi, esi
je 0x10007e00
movsx eax, byte [edi]
mov ecx, esi
push eax
call fcn.1000788e
cmp eax, 0xffffffff
jne 0x10007e06
mov al, 1
mov dword [esp + 8], eax
inc edi
dec ebp
jne 0x10007dec
movzx eax, byte [esp + 8]
mov ecx, dword [esp]
lea edx, [esp + 0x6c]
or ecx, eax
xor eax, eax
dec eax
mov dword [edx], ecx
and esi, eax
mov dword [edx + 4], esi
jmp 0x10007e5f
lea ebx, [esp + 0x10]
mov ebp, dword [esp + 4]
test edi, edi
je 0x10007e40
movsx eax, byte [ebx]
mov ecx, edi
push eax
call fcn.1000788e
cmp eax, 0xffffffff
jne 0x10007e45
mov al, 1
mov dword [esp], eax
inc ebx
dec ebp
jne 0x10007e2c
movzx eax, byte [esp]
mov ecx, dword [esp + 8]
lea ebp, [esp + 0x6c]
or ecx, eax
mov dword [ebp], ecx
mov dword [ebp + 4], esi
xor ebx, ebx
mov eax, ecx
mov dword [esp], ecx
and ecx, 0xffffff00
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [esp + 4]
je 0x10007eae
cmp dword [esp + 0x24], 0xf
jbe 0x10007e85
mov edi, dword [esp + 0x10]
jmp 0x10007e89
lea edi, [esp + 0x10]
mov ebp, dword [esp + 4]
add edi, ebp
sub ebp, ecx
test esi, esi
je 0x10007ea5
movsx eax, byte [edi]
mov ecx, esi
push eax
call fcn.1000788e
cmp eax, 0xffffffff
jne 0x10007eaa
mov al, 1
mov dword [esp], eax
inc edi
inc ebp
jne 0x10007e91
mov ecx, dword [esp + 0x30]
xor eax, eax
mov edx, dword [esp + 0x74]
mov ebp, dword [esp + 0x68]
dec eax
and eax, esi
mov dword [ecx + 4], eax
movzx eax, byte [esp]
or eax, dword [esp + 8]
mov dword [ecx], eax
xor ecx, ecx
test ebx, ebx
mov dword [edx + 0x24], ecx
mov dword [edx + 0x20], ecx
je 0x10007f02
movsx edi, byte [esp + 0x78]
test esi, esi
je 0x10007eee
mov ecx, esi
push edi
call fcn.1000788e
cmp eax, 0xffffffff
jne 0x10007ef3
mov al, 1
mov dword [esp], eax
dec ebx
jne 0x10007edd
movzx eax, byte [esp]
mov ecx, dword [esp + 8]
or ecx, eax
mov eax, ecx
lea ecx, [esp + 0x38]
mov dword [ebp], eax
mov dword [ebp + 4], esi
call fcn.1000419e
lea ecx, [esp + 0x10]
call fcn.1000419e
mov eax, ebp
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.101ac370
int3