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

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [esp + 8]
push ebp
mov eax, dword [ecx + 0x20]
push esi
mov esi, dword [ebx + 8]
push edi
mov eax, dword [eax + 0x1c]
mov edi, dword [ecx + 0x44]
mov eax, dword [eax + 0x1c]
mov ebp, dword [eax]
test esi, esi
jne 0x525a6d
cmp dword [ebx + 0x74], esi
jne 0x525a62
mov eax, dword [ebx]
test byte [eax + 0x50], 8
jne 0x525a62
mov byte [ebx + 0x17], 1
push ebx
call fcn.005137c0
add esp, 4
mov esi, eax
mov ecx, dword [esi + 0x74]
lea eax, [edi + 0x30]
mov edx, dword [eax]
mov dword [esp + 0x18], eax
cmp dword [esi + 0x78], ecx
jg 0x525a8f
push 0
push ebp
push edx
push 0x74
push esi
call fcn.004c7840
add esp, 0x14
jmp 0x525aba
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x74
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 0x74]
mov edx, dword [edx]
lea ebp, [edx + 1]
cmp dword [esi + 0x78], ecx
jg 0x525adc
push 0
push edx
push ebp
push 0x71
push esi
call fcn.004c7840
add esp, 0x14
jmp 0x525b0b
mov ebx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x71
mov dword [eax + ecx*4 + 4], ebp
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 + 0x18]
mov ecx, dword [esi + 0x74]
mov edx, dword [eax]
lea ebp, [edx + 2]
cmp dword [esi + 0x78], ecx
jg 0x525b2d
push 0
push edx
push ebp
push 0x71
push esi
call fcn.004c7840
add esp, 0x14
jmp 0x525b5c
mov ebx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x71
mov dword [eax + ecx*4 + 4], ebp
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 + 0x18]
mov ecx, dword [esi + 0x74]
mov edx, dword [eax]
lea ebp, [edx + 3]
cmp dword [esi + 0x78], ecx
jg 0x525b7e
push 0
push edx
push ebp
push 0x71
push esi
call fcn.004c7840
add esp, 0x14
jmp 0x525bad
mov ebx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x71
mov dword [eax + ecx*4 + 4], ebp
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x525c10
mov ecx, dword [ecx]
mov eax, dword [ebx + 0x2c]
inc eax
mov dword [edi + 0x44], eax
add dword [ebx + 0x2c], ecx
lea ebp, [ecx - 1]
mov edx, dword [edi + 0x44]
add ebp, edx
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x525be1
push ebp
push edx
push 0
push 0x4a
push esi
call fcn.004c7840
add esp, 0x14
jmp 0x525c10
mov ebx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x4a
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], ebp
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebx + 0x2c]
inc edx
mov dword [ebx + 0x2c], edx
mov dword [edi + 0x54], edx
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x525c34
push 0
push edx
push 1
push 0x47
push esi
call fcn.004c7840
add esp, 0x14
jmp 0x525c63
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [edi + 0x14], 0
je 0x525d40
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
mov dword [edi + 0x58], eax
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
mov dword [edi + 0x5c], eax
mov eax, dword [ebx + 0x28]
mov dword [edi + 0x3c], eax
inc dword [ebx + 0x28]
mov ecx, dword [esi + 0x74]
mov edx, dword [edi + 0x58]
cmp dword [esi + 0x78], ecx
jg 0x525ca5
push 0
push edx
push 1
push 0x47
push esi
call fcn.004c7840
add esp, 0x14
jmp 0x525cd4
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
mov edx, dword [edi + 0x5c]
cmp dword [esi + 0x78], ecx
jg 0x525cf1
push 0
push edx
push 0
push 0x47
push esi
call fcn.004c7840
add esp, 0x14
jmp 0x525d20
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 0
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 + 0x18]
push dword [eax]
push dword [edi + 0x3c]
push 0x71
push esi
call fcn.00512d40
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, dword [edi + 0x2c]
test dword [eax + 4], 0x1000
je 0x525e52
cmp byte [edi + 0x11], 0x5a
je 0x525e52
mov eax, dword [edi + 0x48]
push 0
push 0
push dword [eax + 0x14]
push ebx
call fcn.004fea00
mov ecx, dword [ebx + 0x28]
mov ebp, eax
mov dword [edi + 0x3c], ecx
add esp, 0x10
mov ecx, dword [ebx + 0x2c]
inc dword [ebx + 0x28]
inc ecx
mov dword [edi + 0x40], ecx
add dword [ebx + 0x2c], 3
test ebp, ebp
je 0x525d99
mov eax, dword [edi + 0x2c]
mov eax, dword [eax + 0x20]
cmp byte [eax + 1], 0x69
jne 0x525d99
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
mov ecx, dword [esi + 0x74]
mov edx, dword [edi + 0x3c]
cmp dword [esi + 0x78], ecx
jg 0x525db6
push 0
push 2
push edx
push 0x74
push esi
call fcn.004c7840
add esp, 0x14
jmp 0x525de9
mov ebx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x74
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 2
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x525dff
push ebp
push 0xfffffffffffffff7
push eax
call fcn.004b4610
add esp, 0xc
jmp 0x525e11
mov eax, dword [esi + 0x74]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], ebp
mov edx, dword [edi + 0x40]
mov ecx, dword [esi + 0x74]
inc edx
cmp dword [esi + 0x78], ecx
jg 0x525e32
push 0
push edx
push 0
push 0x47
push esi
call fcn.004c7840
add esp, 0x14
jmp 0x525ef9
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 0
jmp 0x525ee5
mov eax, dword [eax + 0x20]
cmp eax, str.nth_value
je 0x525e94
cmp eax, str.first_value
je 0x525e94
cmp eax, str.lead
je 0x525e75
cmp eax, 0x56c668
jne 0x525ef9
mov eax, dword [ebx + 0x28]
mov dword [edi + 0x3c], eax
mov eax, dword [esp + 0x18]
inc dword [ebx + 0x28]
push dword [eax]
push dword [edi + 0x3c]
push 0x71
push esi
call fcn.00512d40
add esp, 0x10
jmp 0x525ef9
mov eax, dword [ebx + 0x2c]
inc eax
mov dword [edi + 0x40], eax
mov eax, dword [ebx + 0x28]
mov dword [edi + 0x3c], eax
inc dword [ebx + 0x28]
add dword [ebx + 0x2c], 2
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x74]
mov ebp, dword [edi + 0x3c]
mov edx, dword [eax]
cmp dword [esi + 0x78], ecx
jg 0x525eca
push 0
push edx
push ebp
push 0x71
push esi
call fcn.004c7840
add esp, 0x14
jmp 0x525ef9
mov ebx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x71
mov dword [eax + ecx*4 + 4], ebp
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], edx
mov edi, dword [edi + 0x24]
test edi, edi
jne 0x525d40
pop edi
pop esi
pop ebp
pop ebx
ret