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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x3c], ebx
mov ecx, dword [ebx + 4]
mov esi, dword [ebx + 8]
mov dword [esp + 0x1c], ecx
cmp dword [ecx + 0x58], 0
je 0x1009d52e
mov ecx, ebx
call fcn.1009ce60
jmp 0x1009dc70
mov edi, dword [ebx]
mov ebx, ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], ecx
nop word [eax + eax]
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x30], eax
mov eax, dword [eax + 0x20]
cmp eax, str.nth_value
je 0x1009d954
cmp eax, str.first_value
je 0x1009d954
cmp eax, str.lead
je 0x1009d572
cmp eax, 0x10112054
jne 0x1009dc5d
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 + 0x24], eax
mov eax, dword [edi + 0x38]
mov dword [esp + 0x2c], eax
mov al, byte [edi + 0x13]
mov dword [esp + 0x38], edx
test al, al
jne 0x1009d59e
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
jmp 0x1009d5ad
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov eax, dword [edi + eax*4 + 0x98]
mov ecx, dword [ecx + 0x30]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], eax
cmp edx, 3
jge 0x1009d612
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x1009d5e5
push 0
push eax
push 0
mov edx, 0x49
mov ecx, esi
call fcn.10029250
add esp, 0xc
jmp 0x1009d673
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x49
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
jmp 0x1009d66b
mov edx, dword [ebx + 0x50]
mov ebx, dword [esi + 0x74]
add edx, 2
cmp dword [esi + 0x78], ebx
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x10]
jg 0x1009d63c
push eax
push edx
push ecx
mov edx, 0x5c
mov ecx, esi
call fcn.10029250
add esp, 0xc
jmp 0x1009d673
mov ecx, dword [esp + 0x34]
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 + 8], edx
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x5c
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x1009d69b
mov ecx, dword [esp + 0x14]
mov edx, 0x85
push 0
push ecx
push dword [esp + 0x28]
mov ecx, esi
call fcn.10029250
mov edx, dword [esp + 0x20]
add esp, 0xc
jmp 0x1009d6ce
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 + 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 eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x20]
xor eax, eax
cmp dword [esp + 0x38], 2
jge 0x1009d74e
cmp ecx, str.lead
mov ecx, dword [esi + 0x74]
sete al
lea eax, [eax*2 - 1]
mov dword [esp + 0x38], eax
cmp dword [esi + 0x78], ecx
jg 0x1009d716
push 0
push eax
push edx
mov edx, 0x54
mov ecx, esi
call fcn.10029250
mov edx, dword [esp + 0x20]
add esp, 0xc
jmp 0x1009d853
mov ebx, dword [esp + 0x38]
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], ebx
mov ebx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x54
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x1009d853
cmp ecx, str.lead
setne al
add eax, 0x6a
mov dword [esp + 0x30], eax
mov al, byte [edi + 0x13]
test al, al
jne 0x1009d76d
inc dword [edi + 0x2c]
mov edx, dword [edi + 0x2c]
jmp 0x1009d77c
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov edx, dword [edi + eax*4 + 0x98]
mov eax, dword [ebx + 0x50]
mov ecx, dword [esi + 0x74]
inc eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x38], eax
cmp dword [esi + 0x78], ecx
jg 0x1009d7ab
push edx
push eax
push dword [esp + 0x28]
mov edx, 0x5c
mov ecx, esi
call fcn.10029250
mov edx, dword [esp + 0x34]
add esp, 0xc
jmp 0x1009d7de
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 + 0x38]
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 + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x1009d801
mov eax, dword [esp + 0x14]
mov ecx, esi
push eax
push eax
push edx
mov edx, dword [esp + 0x3c]
call fcn.10029250
mov edx, dword [esp + 0x20]
add esp, 0xc
jmp 0x1009d837
mov ebx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov byte [eax + ecx*4], bl
xor ebx, ebx
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov word [eax + ecx*4 + 2], bx
mov dword [eax + ecx*4 + 0x10], ebx
mov byte [eax + ecx*4 + 1], bl
mov ebx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edx
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x1009d853
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x1009d853
movzx eax, al
mov dword [edi + eax*4 + 0x98], ecx
inc byte [edi + 0x13]
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x1009d875
push edx
push dword [esp + 0x30]
mov edx, 0x20
mov ecx, esi
push dword [esp + 0x2c]
call fcn.10029250
add esp, 0xc
jmp 0x1009d8a8
mov edi, 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], edi
mov edi, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x18]
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 + 0x38], eax
cmp dword [esi + 0x78], ecx
jg 0x1009d8d1
push edx
push eax
push dword [esp + 0x2c]
mov edx, 0x5c
mov ecx, esi
call fcn.10029250
add esp, 0xc
jmp 0x1009d904
mov ebx, 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], ebx
mov ebx, dword [esp + 0x38]
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 0x1009d922
push edx
mov edx, esi
call fcn.10029c70
add esp, 4
jmp 0x1009d92b
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 0x1009dc59
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x1009dc59
movzx eax, al
mov dword [edi + eax*4 + 0x98], ecx
inc byte [edi + 0x13]
jmp 0x1009dc59
mov eax, dword [ebx + 0x3c]
dec dword [edi + 0x38]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x38]
mov dword [esp + 0x2c], eax
mov al, byte [edi + 0x13]
test al, al
jne 0x1009d974
inc dword [edi + 0x2c]
mov ebx, dword [edi + 0x2c]
jmp 0x1009d983
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov ebx, dword [edi + eax*4 + 0x98]
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 0x74]
mov eax, dword [edx + 0x38]
mov dword [esp + 0x38], eax
cmp dword [esi + 0x78], ecx
jg 0x1009d9b0
push 0
push eax
push 0
mov edx, 0x49
mov ecx, esi
call fcn.10029250
mov edx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x1009d9e7
mov edi, dword [esp + 0x38]
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 + 0x18]
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 eax, dword [esp + 0x30]
mov ecx, dword [esi + 0x74]
cmp dword [eax + 0x20], 0x1011308c
jne 0x1009da6f
mov eax, dword [esp + 0x1c]
mov edx, dword [edx + 0x50]
inc edx
mov eax, dword [eax + 0x30]
mov dword [esp + 0x38], eax
cmp dword [esi + 0x78], ecx
jg 0x1009da30
push ebx
push edx
push eax
mov edx, 0x5c
mov ecx, esi
call fcn.10029250
add esp, 0xc
mov edx, ebx
mov ecx, edi
push 2
call fcn.1009be10
add esp, 4
jmp 0x1009dab9
mov edi, dword [esp + 0x38]
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 + 0x1c]
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.1009be10
add esp, 4
jmp 0x1009dab9
cmp dword [esi + 0x78], ecx
jg 0x1009da8a
push 0
push ebx
push 1
mov edx, 0x46
mov ecx, esi
call fcn.10029250
add esp, 0xc
jmp 0x1009dab9
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 0x1009dadc
push ebx
push edx
push ebx
mov edx, 0x6a
mov ecx, esi
call fcn.10029250
add esp, 0xc
jmp 0x1009db07
mov edi, dword [esp + 0x18]
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 0x1009db2e
push ebx
push dword [esp + 0x30]
mov ecx, esi
push edx
mov edx, 0x36
call fcn.10029250
add esp, 0xc
jmp 0x1009db5d
mov edi, dword [esp + 0x18]
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 0x1009db7d
push ebx
push 0
push dword [esp + 0x2c]
mov edx, 0x20
mov ecx, esi
call fcn.10029250
add esp, 0xc
jmp 0x1009dbac
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], 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 + 0x38], eax
cmp dword [esi + 0x78], ecx
jg 0x1009dbd9
push edx
push eax
push dword [esp + 0x2c]
mov edx, 0x5c
mov ecx, esi
call fcn.10029250
add esp, 0xc
jmp 0x1009dc0c
mov edi, 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], edi
mov edi, dword [esp + 0x38]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x18]
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 0x1009dc2a
push edx
mov edx, esi
call fcn.10029c70
add esp, 4
jmp 0x1009dc33
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
test ebx, ebx
je 0x1009dc55
mov al, byte [edi + 0x13]
mov ecx, dword [esp + 0x1c]
cmp al, 8
jae 0x1009dc4f
movzx eax, al
mov dword [edi + eax*4 + 0x98], ebx
inc byte [edi + 0x13]
mov ebx, dword [esp + 0x10]
jmp 0x1009dc5d
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [ebx + 0x24]
mov dword [esp + 0x10], ebx
test ebx, ebx
jne 0x1009d540
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esi + 0x74]
mov edx, dword [ebx + 0xc]
mov edi, dword [ebx + 0x10]
cmp dword [esi + 0x78], ecx
jg 0x1009dc98
push 0
push edx
push edi
mov edx, 0xc
mov ecx, esi
call fcn.10029250
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