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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x34], ebx
mov ecx, dword [ebx + 4]
mov esi, dword [ebx + 8]
mov dword [esp + 0x18], ecx
cmp dword [ecx + 0x58], 0
je 0x1007ff4e
mov ecx, ebx
call fcn.100805a0
jmp 0x1008053c
mov edi, dword [ebx]
mov ebx, ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], ecx
nop word [eax + eax]
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x28], eax
mov eax, dword [eax + 0x20]
cmp eax, str.nth_value
je 0x10080220
cmp eax, str.first_value
je 0x10080220
cmp eax, str.lead
je 0x1007ff92
cmp eax, 0x10134144
jne 0x10080529
mov eax, dword [ebx + 0x48]
mov eax, dword [eax + 0x14]
mov edx, dword [eax]
mov eax, dword [ebx + 0x3c]
dec dword [edi + 0x38]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x38]
mov dword [esp + 0x2c], eax
mov al, byte [edi + 0x13]
mov dword [esp + 0x30], edx
test al, al
jne 0x1007ffbe
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
jmp 0x1007ffcd
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov eax, dword [edi + eax*4 + 0x94]
mov ecx, dword [ecx + 0x30]
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], ecx
push dword [ebx + 0x38]
cmp edx, 3
jge 0x1007fff3
push 0
mov edx, 0x49
mov ecx, esi
call fcn.100ebf20
add esp, 8
jmp 0x1008000a
mov eax, dword [ebx + 0x50]
mov edx, 0x5c
add eax, 2
push eax
push ecx
mov ecx, esi
call fcn.100ec050
add esp, 0xc
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x10080033
mov edx, dword [esp + 0x14]
mov ecx, esi
push 0
push edx
mov edx, dword [esp + 0x2c]
push edx
mov edx, 0x85
call fcn.100ec0c0
mov edx, dword [esp + 0x20]
add esp, 0xc
jmp 0x10080066
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x85
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x28]
xor eax, eax
cmp dword [esp + 0x30], 2
jge 0x1008009a
cmp dword [ecx + 0x20], str.lead
mov ecx, esi
sete al
lea eax, [eax*2 - 1]
push eax
push edx
mov edx, 0x54
call fcn.100ebf20
add esp, 8
jmp 0x1008011a
cmp dword [ecx + 0x20], str.lead
setne al
add eax, 0x6a
mov dword [esp + 0x30], eax
mov al, byte [edi + 0x13]
test al, al
jne 0x100800ba
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
jmp 0x100800c9
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov eax, dword [edi + eax*4 + 0x94]
push eax
mov dword [esp + 0x2c], eax
mov edx, 0x5c
mov eax, dword [ebx + 0x50]
mov ecx, esi
inc eax
push eax
push dword [esp + 0x2c]
call fcn.100ec050
mov eax, dword [esp + 0x20]
add esp, 0xc
mov edx, dword [esp + 0x30]
mov ecx, esi
push eax
push eax
push dword [esp + 0x30]
call fcn.100ec050
mov ecx, dword [esp + 0x34]
add esp, 0xc
test ecx, ecx
je 0x1008011a
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x1008011a
movzx eax, al
mov dword [edi + eax*4 + 0x94], ecx
inc byte [edi + 0x13]
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x10080141
mov edx, dword [esp + 0x14]
mov ecx, esi
push edx
mov edx, dword [esp + 0x30]
push edx
push dword [esp + 0x28]
mov edx, 0x20
call fcn.100ec0c0
add esp, 0xc
jmp 0x10080174
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x20
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
mov eax, dword [ebx + 0x50]
mov edx, dword [ebx + 0x38]
mov dword [esp + 0x30], eax
cmp dword [esi + 0x78], ecx
jg 0x1008019d
push edx
push eax
push dword [esp + 0x28]
mov edx, 0x5c
mov ecx, esi
call fcn.100ec0c0
add esp, 0xc
jmp 0x100801d0
mov ebx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x30]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x5c
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x2c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x100801ee
push edx
mov edx, esi
call fcn.100eb740
add esp, 4
jmp 0x100801f7
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x10080525
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x10080525
movzx eax, al
mov dword [edi + eax*4 + 0x94], ecx
inc byte [edi + 0x13]
jmp 0x10080525
mov eax, dword [ebx + 0x3c]
dec dword [edi + 0x38]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x38]
mov dword [esp + 0x2c], eax
mov al, byte [edi + 0x13]
test al, al
jne 0x10080240
inc dword [edi + 0x2c]
mov ebx, dword [edi + 0x2c]
jmp 0x1008024f
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov ebx, dword [edi + eax*4 + 0x94]
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 0x74]
mov eax, dword [edx + 0x38]
mov dword [esp + 0x30], eax
cmp dword [esi + 0x78], ecx
jg 0x1008027c
push 0
push eax
push 0
mov edx, 0x49
mov ecx, esi
call fcn.100ec0c0
mov edx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x100802b3
mov edi, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x49
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x28]
cmp dword [ecx + 0x20], 0x1013516c
mov ecx, dword [esi + 0x74]
jne 0x1008033b
mov eax, dword [esp + 0x18]
mov edx, dword [edx + 0x50]
inc edx
mov eax, dword [eax + 0x30]
mov dword [esp + 0x30], eax
cmp dword [esi + 0x78], ecx
jg 0x100802fc
push ebx
push edx
push eax
mov edx, 0x5c
mov ecx, esi
call fcn.100ec0c0
add esp, 0xc
mov edx, ebx
mov ecx, edi
push 2
call fcn.100818f0
add esp, 4
jmp 0x10080385
mov edi, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
push 2
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4 + 8], edx
mov edx, ebx
mov dword [eax + ecx*4], 0x5c
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, edi
call fcn.100818f0
add esp, 4
jmp 0x10080385
cmp dword [esi + 0x78], ecx
jg 0x10080356
push 0
push ebx
push 1
mov edx, 0x46
mov ecx, esi
call fcn.100ec0c0
add esp, 0xc
jmp 0x10080385
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x46
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x74]
mov edx, dword [eax + 0x40]
cmp dword [esi + 0x78], ecx
jg 0x100803a8
push ebx
push edx
push ebx
mov edx, 0x6a
mov ecx, esi
call fcn.100ec0c0
add esp, 0xc
jmp 0x100803d3
mov edi, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x6a
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x74]
mov edx, dword [eax + 0x40]
inc edx
cmp dword [esi + 0x78], ecx
jg 0x100803fa
push ebx
push dword [esp + 0x30]
mov ecx, esi
push edx
mov edx, 0x36
call fcn.100ec0c0
add esp, 0xc
jmp 0x10080429
mov edi, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x36
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x10080449
push ebx
push 0
push dword [esp + 0x28]
mov edx, 0x20
mov ecx, esi
call fcn.100ec0c0
add esp, 0xc
jmp 0x10080478
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x20
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x74]
mov edx, dword [eax + 0x38]
mov eax, dword [eax + 0x50]
mov dword [esp + 0x30], eax
cmp dword [esi + 0x78], ecx
jg 0x100804a5
push edx
push eax
push dword [esp + 0x28]
mov edx, 0x5c
mov ecx, esi
call fcn.100ec0c0
add esp, 0xc
jmp 0x100804d8
mov edi, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x30]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x5c
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x2c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x100804f6
push edx
mov edx, esi
call fcn.100eb740
add esp, 4
jmp 0x100804ff
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
test ebx, ebx
je 0x10080521
mov al, byte [edi + 0x13]
mov ecx, dword [esp + 0x18]
cmp al, 8
jae 0x1008051b
movzx eax, al
mov dword [edi + eax*4 + 0x94], ebx
inc byte [edi + 0x13]
mov ebx, dword [esp + 0x10]
jmp 0x10080529
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov ebx, dword [ebx + 0x24]
mov dword [esp + 0x10], ebx
test ebx, ebx
jne 0x1007ff60
mov ebx, dword [esp + 0x34]
mov ecx, dword [esi + 0x74]
mov edx, dword [ebx + 0xc]
mov edi, dword [ebx + 0x10]
cmp dword [esi + 0x78], ecx
jg 0x10080564
push 0
push edx
push edi
mov edx, 0xc
mov ecx, esi
call fcn.100ec0c0
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
pop edi
pop esi
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
pop ebx
mov esp, ebp
pop ebp
ret