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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, ecx
mov eax, dword [edx + 0x20]
mov ebx, dword [edx + 0x44]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + 0x1c]
mov edi, dword [eax]
mov eax, dword [ecx + 8]
test eax, eax
je 0x101732bf
mov dword [ebp - 0x10], edi
mov edi, eax
mov ecx, eax
mov dword [ebp - 0x14], eax
mov edx, 0x76
xor eax, eax
push eax
push dword [ebp - 0x10]
push dword [ebx + 0x30]
call fcn.10030110
add esp, 0xc
mov eax, dword [ebx + 0x30]
mov ecx, edi
mov edx, 0x73
xor edi, edi
push edi
push eax
inc eax
push eax
call fcn.10030110
add esp, 0xc
mov eax, dword [ebx + 0x30]
mov ecx, dword [ebp - 0x14]
mov edx, 0x73
xor edi, edi
push edi
xor edi, edi
push eax
add eax, 2
push eax
call fcn.10030110
add esp, 0xc
mov eax, dword [ebx + 0x30]
mov ecx, dword [ebp - 0x14]
mov edx, 0x73
push edi
mov edi, ecx
push eax
add eax, 3
push eax
call fcn.10030110
add esp, 0xc
mov eax, dword [ebx + 8]
test eax, eax
je 0x10173235
mov eax, dword [eax]
mov ecx, dword [esi + 0x2c]
inc ecx
mov dword [ebx + 0x44], ecx
add dword [esi + 0x2c], eax
mov ecx, dword [ebx + 0x44]
mov dword [ebp - 0x10], ecx
add eax, ecx
dec eax
mov ecx, edi
mov edx, 0x4b
push eax
push dword [ebp - 0x10]
push 0
call fcn.10030110
add esp, 0xc
mov eax, dword [esi + 0x2c]
inc eax
mov dword [esi + 0x2c], eax
mov dword [ebx + 0x54], eax
mov ecx, edi
mov edx, 0x47
push 0
push eax
push 1
call fcn.10030110
add esp, 0xc
cmp byte [ebx + 0x14], 0
je 0x101732d5
mov eax, dword [esi + 0x2c]
inc eax
mov dword [esi + 0x2c], eax
mov dword [ebx + 0x58], eax
mov eax, dword [esi + 0x2c]
inc eax
mov dword [esi + 0x2c], eax
mov dword [ebx + 0x5c], eax
mov eax, dword [esi + 0x28]
lea ecx, [eax + 1]
mov dword [esi + 0x28], ecx
mov dword [ebx + 0x3c], eax
xor esi, esi
mov ecx, edi
mov edx, 0x47
push esi
push dword [ebx + 0x58]
push 1
call fcn.10030110
add esp, 0xc
mov ecx, edi
mov edx, 0x47
push esi
push dword [ebx + 0x5c]
push esi
call fcn.10030110
add esp, 0xc
mov ecx, edi
mov edx, 0x73
push esi
push dword [ebx + 0x30]
push dword [ebx + 0x3c]
call fcn.10030110
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [esi + 0x78], 0
je 0x10173420
mov ecx, esi
call fcn.1002fa90
jmp 0x10173194
mov edi, ebx
mov dword [ebp - 0x18], ebx
mov eax, dword [edi + 0x2c]
test byte [eax + 5], 0x10
je 0x101732e9
cmp byte [edi + 0x11], 0x5a
jne 0x1017335f
mov eax, dword [eax + 0x20]
cmp eax, str.nth_value
je 0x10173324
cmp eax, str.first_value
je 0x10173324
cmp eax, str.lead
je 0x10173308
cmp eax, 0x101b65fb
jne 0x10173353
mov eax, dword [esi + 0x28]
lea ecx, [eax + 1]
mov dword [esi + 0x28], ecx
mov dword [edi + 0x3c], eax
mov ecx, dword [ebp - 0x14]
mov edx, 0x73
push 0
push dword [ebx + 0x30]
push eax
jmp 0x1017334b
mov eax, dword [esi + 0x2c]
inc eax
mov dword [edi + 0x40], eax
mov eax, dword [esi + 0x28]
lea ecx, [eax + 1]
mov dword [esi + 0x28], ecx
mov dword [edi + 0x3c], eax
add dword [esi + 0x2c], 2
mov ecx, dword [ebp - 0x14]
mov edx, 0x73
push 0
push dword [ebx + 0x30]
push dword [edi + 0x3c]
call fcn.10030110
add esp, 0xc
mov edi, dword [edi + 0x24]
test edi, edi
jne 0x101732da
jmp 0x10173418
mov eax, dword [edi + 0x48]
mov edx, dword [eax + 0x14]
mov ecx, esi
xor eax, eax
push eax
push eax
call fcn.1005d780
add esp, 8
mov edx, dword [esi + 0x28]
lea ecx, [edx + 1]
mov dword [esi + 0x28], ecx
mov dword [edi + 0x3c], edx
mov ecx, dword [esi + 0x2c]
inc ecx
mov dword [edi + 0x40], ecx
add dword [esi + 0x2c], 3
test eax, eax
je 0x101733a0
mov ecx, dword [edi + 0x2c]
mov ecx, dword [ecx + 0x20]
cmp byte [ecx + 1], 0x69
jne 0x101733a0
mov ecx, dword [eax + 0x10]
mov byte [ecx], 1
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0x14]
mov ecx, ebx
mov edx, 0x76
push 0
push 2
push dword [edi + 0x3c]
call fcn.10030110
add esp, 0xc
mov eax, dword [ebx]
cmp byte [eax + 0x57], 0
je 0x101733e2
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x101733f7
cmp dword [eax + 0x208], 0
jne 0x101733f7
dec dword [edx]
jne 0x101733f7
mov ecx, dword [edx + 0xc]
call fcn.1014f290
jmp 0x101733f7
mov eax, dword [ebx + 0x68]
mov ecx, dword [ebx + 0x6c]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 - 0x13], 0xf8
mov edx, dword [ebp - 0x10]
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [edi + 0x40]
inc eax
mov ecx, dword [ebp - 0x14]
mov edx, 0x47
xor ebx, ebx
push ebx
push eax
push ebx
call fcn.10030110
add esp, 0xc
mov ebx, dword [ebp - 0x18]
jmp 0x10173353
add esp, 0xc
jmp 0x101732ba
mov eax, dword [esi]
test byte [eax + 0x50], 8
jne 0x101732c9
mov byte [esi + 0x17], 1
jmp 0x101732c9