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

Disassembly:
push 0xffffffffffffffff
push 0x5ba528
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x62ece4]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov ebx, ecx
lea ecx, [esp + 0x40]
call fcn.0051e240
mov eax, dword [ebx + 0xa0]
mov eax, dword [eax + 0x1c]
mov esi, dword [esp + 0x68]
cmp esi, eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x14], eax
jge 0x51f6fe
mov ebp, dword [esp + 0x78]
jmp 0x51f570
mov ecx, dword [ebx + 0xac]
mov edx, dword [esp + 0x64]
push ebp
lea eax, [esi*8]
sub eax, esi
push esi
lea edi, [ecx + eax*4]
push edx
mov ecx, ebx
call fcn.0051e700
cmp dword [esp + 0x74], 0
jne 0x51f641
mov eax, dword [edi + 8]
cmp eax, 1
jne 0x51f5f3
mov eax, dword [ebx + 0xa0]
test esi, esi
jl 0x51f5bc
cmp esi, dword [eax + 0x1c]
jge 0x51f5bc
mov eax, dword [eax + 0x18]
lea eax, [eax + esi*4]
mov eax, dword [eax]
jmp 0x51f5be
xor eax, eax
mov ecx, dword [eax + 0x4c]
mov edx, dword [eax + 0x48]
mov eax, dword [edi]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebx + 0xcc]
test eax, eax
jl 0x51f5e9
cmp eax, dword [ecx + 0x1c]
jge 0x51f5e9
mov ecx, dword [ecx + 0x18]
lea eax, [ecx + eax*4]
mov ecx, dword [eax]
push edx
call fcn.0051d220
jmp 0x51f641
xor ecx, ecx
push edx
call fcn.0051d220
jmp 0x51f641
mov edx, dword [edi]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0xa0]
mov dword [esp + 0x24], edx
test esi, esi
jl 0x51f616
cmp esi, dword [eax + 0x1c]
jge 0x51f616
mov eax, dword [eax + 0x18]
lea eax, [eax + esi*4]
mov eax, dword [eax]
jmp 0x51f618
xor eax, eax
mov ecx, dword [eax + 0x48]
mov edx, dword [eax + 0x4c]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x24], edx
mov dword [esp + 0x30], 1
call fcn.0055bf00
test ebp, ebp
jne 0x51f6f1
mov eax, dword [edi + 0xc]
cmp eax, 1
jne 0x51f6a2
mov eax, dword [ebx + 0xa0]
test esi, esi
jl 0x51f66a
cmp esi, dword [eax + 0x1c]
jge 0x51f66a
mov edx, dword [eax + 0x18]
lea eax, [edx + esi*4]
mov eax, dword [eax]
jmp 0x51f66c
xor eax, eax
mov ecx, dword [eax + 0x48]
mov edx, dword [eax + 0x4c]
mov eax, dword [edi + 4]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebx + 0xd0]
test eax, eax
jl 0x51f698
cmp eax, dword [ecx + 0x1c]
jge 0x51f698
mov ecx, dword [ecx + 0x18]
lea eax, [ecx + eax*4]
mov ecx, dword [eax]
push edx
call fcn.0051d220
jmp 0x51f6f1
xor ecx, ecx
push edx
call fcn.0051d220
jmp 0x51f6f1
mov edx, dword [edi + 4]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0xa0]
mov dword [esp + 0x34], edx
test esi, esi
jl 0x51f6c6
cmp esi, dword [eax + 0x1c]
jge 0x51f6c6
mov eax, dword [eax + 0x18]
lea eax, [eax + esi*4]
mov eax, dword [eax]
jmp 0x51f6c8
xor eax, eax
mov ecx, dword [eax + 0x48]
mov eax, dword [eax + 0x4c]
lea edx, [esp + 0x30]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x48]
push edx
mov dword [esp + 0x1c], ecx
push eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x40], 0
call fcn.0055bf00
mov esi, dword [edi + 0x18]
cmp esi, dword [esp + 0x14]
jl 0x51f570
mov ebp, dword [esp + 0x48]
xor edi, edi
test ebp, ebp
jle 0x51f746
mov esi, dword [esp + 0x44]
add esi, 0xc
test edi, edi
jl 0x51f76d
cmp edi, ebp
jge 0x51f76d
cmp dword [esi - 4], 0
je 0x51f725
mov eax, dword [ebx + 0xcc]
jmp 0x51f72b
mov eax, dword [ebx + 0xd0]
mov ecx, dword [esi]
mov edx, dword [esi - 0xc]
push ecx
mov ecx, dword [esi - 8]
push edx
push ecx
push eax
mov ecx, ebx
call fcn.0051e7e0
inc edi
add esi, 0x10
cmp edi, ebp
jl 0x51f70f
lea ecx, [esp + 0x40]
mov dword [esp + 0x5c], 0xffffffff
call fcn.0051e260
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x18
call fcn.0047b415
int3