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

Disassembly:
sub esp, 0x6c
mov eax, dword [0x10045278]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
mov ebx, dword [esp + 0x74]
push ebp
push esi
mov esi, dword [esp + 0x80]
push edi
mov dword [esp + 0x10], esi
test ebx, ebx
je 0x10007af7
xor eax, eax
cmp dword [ebx + 0x80], eax
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], ax
jle 0x10007875
mov eax, dword [ebx + 0x80]
lea eax, [eax*4 + 1]
dec eax
test eax, eax
jle 0x10007875
mov edi, eax
lea esp, [esp]
push 1
mov eax, 0x1003d7d4
lea ecx, [esp + 0x3c]
call fcn.1000a0d0
sub edi, 1
jne 0x10007860
cmp dword [ebx + 8], 0
push 2
lea ecx, [esp + 0x3c]
mov eax, 0x1003d7d8
jne 0x1000788b
mov eax, 0x1003d7e0
call fcn.1000a0d0
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
sar eax, 5
cmp eax, 1
jbe 0x10007954
lea ebp, [eax - 1]
test ebp, ebp
jbe 0x10007954
mov edi, ebp
shl edi, 5
mov dword [esp + 0x14], edi
jmp 0x100078c8
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
sar ecx, 5
cmp ebp, ecx
jb 0x100078da
call fcn.10021a28
mov esi, dword [esi + 0xc]
mov edx, dword [esi + edi]
mov eax, dword [edx + 0x80]
add esi, edi
cmp eax, dword [ebx + 0x80]
jle 0x10007954
mov edi, dword [esp + 0x4c]
add edi, 0xfffffffe
cmp edi, dword [esi + 0x18]
jbe 0x10007901
call fcn.10021a28
mov edx, 8
cmp dword [esi + 0x1c], edx
jb 0x10007910
mov eax, dword [esi + 8]
jmp 0x10007913
lea eax, [esi + 8]
cmp word [eax + edi*2], 0x20
jne 0x10007959
mov edi, dword [esp + 0x4c]
add edi, 0xfffffffe
cmp edi, dword [esi + 0x18]
jbe 0x10007930
call fcn.10021a28
mov edx, 8
cmp dword [esi + 0x1c], edx
jb 0x1000793a
mov esi, dword [esi + 8]
jmp 0x1000793d
add esi, 8
sub dword [esp + 0x14], 0x20
dec ebp
mov ecx, 0x2502
mov word [esi + edi*2], cx
test ebp, ebp
ja 0x100078c0
mov edx, 8
cmp dword [ebx + 0x78], edx
jb 0x10007963
mov esi, dword [ebx + 0x64]
jmp 0x10007966
lea esi, [ebx + 0x64]
cmp dword [ebx + 0x40], edx
jb 0x10007970
mov ecx, dword [ebx + 0x2c]
jmp 0x10007973
lea ecx, [ebx + 0x2c]
cmp dword [ebx + 0x5c], edx
jb 0x1000797d
mov eax, dword [ebx + 0x48]
jmp 0x10007980
lea eax, [ebx + 0x48]
mov edx, dword [ebx + 0x7c]
push esi
push ecx
push edx
push eax
push str._ls__ptr:0x_p__class:_ls__text:_ls_
lea esi, [esp + 0x30]
call fcn.100139dd
add esp, 0x14
push 0
push eax
or eax, 0xffffffff
lea esi, [esp + 0x40]
call fcn.1000a010
cmp dword [esp + 0x34], 8
jb 0x100079bb
mov eax, dword [esp + 0x20]
push eax
call fcn.10021a62
add esp, 4
xor ecx, ecx
push 0xffffffffffffffff
mov word [esp + 0x60], cx
push ecx
lea eax, [esp + 0x40]
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], 0
mov dword [esp + 0x5c], ebx
call fcn.100023d0
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x100079f5
xor ecx, ecx
jmp 0x100079fd
mov ecx, dword [edi + 0x14]
sub ecx, eax
sar ecx, 5
mov esi, dword [edi + 0x10]
mov edx, esi
sub edx, eax
sar edx, 5
cmp edx, ecx
jae 0x10007a31
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x14], 0
mov eax, dword [esp + 0x14]
push eax
push ecx
push 1
push esi
lea ecx, [esp + 0x64]
call fcn.1000d1b0
add esp, 0x10
add esi, 0x20
mov dword [edi + 0x10], esi
jmp 0x10007a4f
cmp eax, esi
jbe 0x10007a3a
call fcn.10021a28
mov eax, dword [edi]
push esi
push eax
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x20]
push eax
mov eax, edi
call fcn.10009ee0
mov ecx, dword [ebx + 0x20]
mov edi, dword [ecx]
mov esi, dword [ebx + 0xc]
mov ebp, dword [ebx + 0x20]
mov eax, dword [ebx + 0xc]
test esi, esi
je 0x10007a65
cmp esi, eax
je 0x10007a6a
call fcn.10021a28
cmp edi, ebp
je 0x10007ab5
test esi, esi
jne 0x10007aad
call fcn.10021a28
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x10007a83
call fcn.10021a28
mov edx, dword [esp + 0x10]
mov eax, dword [edi + 8]
push edx
push eax
call fcn.10007800
add esp, 8
test esi, esi
jne 0x10007ab1
call fcn.10021a28
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x10007aa9
call fcn.10021a28
mov edi, dword [edi]
jmp 0x10007a57
mov eax, dword [esi]
jmp 0x10007a79
mov eax, dword [esi]
jmp 0x10007a9f
mov esi, 8
cmp dword [esp + 0x70], esi
jb 0x10007acd
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.10021a62
add esp, 4
xor edx, edx
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], dx
cmp dword [esp + 0x50], esi
jb 0x10007af7
mov eax, dword [esp + 0x3c]
push eax
call fcn.10021a62
add esp, 4
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10021592
add esp, 0x6c
ret