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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bff2d
mov eax, dword fs:[0]
push eax
sub esp, 0x36c
mov eax, dword [0x6300f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x36c], ecx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x368], eax
mov dword [ebp - 0x378], ebx
mov dword [ebp - 0x370], 0
test ebx, ebx
jne 0x51a93f
mov eax, dword [ecx + 0x34]
mov eax, dword [eax + 4]
jmp 0x51a942
mov eax, dword [ebx + 4]
mov ecx, dword [ecx + 4]
push eax
call fcn.00517a30
mov esi, eax
cmp dword [esi + 0x10], 0
je 0x51a95e
push 0x2e
push 1
mov ecx, esi
call fcn.00409d98
mov eax, dword [ebp - 0x368]
mov ecx, esi
push 0xffffffffffffffff
push 0
push dword [eax + 8]
call fcn.0040be94
mov eax, dword [ebp - 0x368]
mov ecx, dword [ebp - 0x36c]
push eax
push esi
push dword [eax + 8]
call fcn.0051a590
mov eax, dword [ebp - 0x368]
push dword [eax + 8]
mov eax, dword [ebp - 0x36c]
mov ecx, dword [eax + 4]
call fcn.00517a30
mov edx, dword [ebp - 0x36c]
mov ecx, dword [ebp - 0x368]
mov dword [edi], eax
mov dword [edi + 4], esi
mov eax, dword [edx + 0x34]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ebx
mov word [edi + 0x14], 0
mov eax, dword [ecx + 0x10]
mov dword [edi + 0x18], eax
mov eax, dword [ecx + 0x10]
mov esi, dword [edx + 4]
lea eax, [eax + eax*8]
shl eax, 3
test eax, eax
je 0x51aa05
push eax
call fcn.005708b1
add esp, 4
mov dword [ebp - 0x364], eax
lea eax, [ebp - 0x364]
lea ecx, [esi + 0x74]
push eax
call fcn.005006c0
mov eax, dword [ebp - 0x364]
mov ecx, dword [ebp - 0x368]
mov edx, dword [ebp - 0x36c]
xor esi, esi
mov dword [edi + 0x1c], eax
cmp dword [ecx + 0x10], esi
jle 0x51aa3d
xor ebx, ebx
mov eax, dword [ecx + 0xc]
push 0
mov ecx, dword [eax + esi*4]
mov eax, dword [edi + 0x1c]
add eax, ebx
push eax
push edi
push ecx
mov ecx, edx
call fcn.0051b340
mov ecx, dword [ebp - 0x368]
inc esi
mov edx, dword [ebp - 0x36c]
add ebx, 0x48
cmp esi, dword [ecx + 0x10]
jl 0x51aa11
mov eax, dword [ecx + 0x30]
mov edx, dword [ebp - 0x36c]
mov dword [edi + 0x20], eax
mov eax, dword [ecx + 0x30]
shl eax, 6
mov esi, dword [edx + 4]
test eax, eax
jne 0x51aa5a
xor ecx, ecx
jmp 0x51aad8
push eax
call fcn.005708b1
mov ecx, eax
lea edx, [ebp - 0x364]
mov eax, dword [esi + 0x78]
add esp, 4
mov dword [ebp - 0x364], ecx
cmp edx, eax
jae 0x51aab0
mov edx, dword [esi + 0x74]
lea ebx, [ebp - 0x364]
cmp edx, ebx
ja 0x51aab0
sub ebx, edx
sar ebx, 2
cmp eax, dword [esi + 0x7c]
jne 0x51aa9f
push 1
lea ecx, [esi + 0x74]
call fcn.005005f0
mov ecx, dword [ebp - 0x364]
mov edx, dword [esi + 0x78]
mov eax, dword [esi + 0x74]
test edx, edx
je 0x51aace
mov eax, dword [eax + ebx*4]
mov dword [edx], eax
jmp 0x51aace
cmp eax, dword [esi + 0x7c]
jne 0x51aac5
push 1
lea ecx, [esi + 0x74]
call fcn.005005f0
mov ecx, dword [ebp - 0x364]
mov eax, dword [esi + 0x78]
test eax, eax
je 0x51aace
mov dword [eax], ecx
add dword [esi + 0x78], 4
mov edx, dword [ebp - 0x36c]
mov dword [edi + 0x24], ecx
xor esi, esi
mov ecx, dword [ebp - 0x368]
cmp dword [ecx + 0x30], esi
jle 0x51ab1a
xor ebx, ebx
nop word [eax + eax]
mov eax, dword [ecx + 0x2c]
mov ecx, dword [eax + esi*4]
mov eax, dword [edi + 0x24]
add eax, ebx
push eax
push edi
push ecx
mov ecx, edx
call fcn.0051a8e0
mov ecx, dword [ebp - 0x368]
inc esi
mov edx, dword [ebp - 0x36c]
add ebx, 0x40
cmp esi, dword [ecx + 0x30]
jl 0x51aaf0
mov eax, dword [ecx + 0x40]
mov edx, dword [ebp - 0x36c]
mov dword [edi + 0x28], eax
mov eax, dword [ecx + 0x40]
shl eax, 5
mov ebx, dword [edx + 4]
test eax, eax
je 0x51ac70
push eax
call fcn.005708b1
mov esi, dword [ebx + 0x78]
lea ecx, [ebp - 0x364]
add esp, 4
mov dword [ebp - 0x364], eax
cmp ecx, esi
jae 0x51abec
mov ecx, dword [ebx + 0x74]
lea edx, [ebp - 0x364]
cmp ecx, edx
ja 0x51abec
mov eax, edx
mov edx, dword [ebx + 0x7c]
sub eax, ecx
sar eax, 2
mov dword [ebp - 0x374], eax
cmp esi, edx
jne 0x51abd5
mov eax, edx
sub eax, esi
sar eax, 2
cmp eax, 1
jae 0x51abd5
sub esi, ecx
mov eax, 0x3fffffff
sar esi, 2
sub eax, esi
cmp eax, 1
jae 0x51aba3
push str.vector_T__too_long
call fcn.0055acc3
sub edx, ecx
inc esi
sar edx, 2
mov ecx, 0x3fffffff
mov eax, edx
mov dword [ebp - 0x370], edx
shr eax, 1
sub ecx, eax
add eax, edx
xor edx, edx
cmp ecx, dword [ebp - 0x370]
lea ecx, [ebx + 0x74]
cmovae edx, eax
cmp edx, esi
cmovae esi, edx
push esi
call fcn.00500590
mov edx, dword [ebx + 0x78]
mov eax, dword [ebx + 0x74]
mov ecx, dword [ebp - 0x374]
test edx, edx
je 0x51ac5a
mov eax, dword [eax + ecx*4]
mov dword [edx], eax
jmp 0x51ac5a
mov edx, dword [ebx + 0x7c]
cmp esi, edx
jne 0x51ac51
mov eax, edx
sub eax, esi
sar eax, 2
cmp eax, 1
jae 0x51ac4b
sub esi, dword [ebx + 0x74]
mov ecx, 0x3fffffff
sar esi, 2
mov eax, ecx
sub eax, esi
cmp eax, 1
jae 0x51ac1d
push str.vector_T__too_long
call fcn.0055acc3
sub edx, dword [ebx + 0x74]
inc esi
sar edx, 2
mov eax, edx
mov dword [ebp - 0x370], edx
shr eax, 1
sub ecx, eax
add eax, edx
xor edx, edx
cmp ecx, dword [ebp - 0x370]
lea ecx, [ebx + 0x74]
cmovae edx, eax
cmp edx, esi
cmovae esi, edx
push esi
call fcn.00500590
mov eax, dword [ebp - 0x364]
mov ecx, dword [ebx + 0x78]
test ecx, ecx
je 0x51ac5a
mov dword [ecx], eax
add dword [ebx + 0x78], 4
mov eax, dword [ebp - 0x364]
mov ecx, dword [ebp - 0x368]
mov edx, dword [ebp - 0x36c]
xor esi, esi
mov dword [edi + 0x2c], eax
cmp dword [ecx + 0x40], esi
jle 0x51acaa
xor ebx, ebx
nop dword [eax]
mov eax, dword [ecx + 0x3c]
mov ecx, dword [eax + esi*4]
mov eax, dword [edi + 0x2c]
add eax, ebx
push eax
push edi
push ecx
mov ecx, edx
call fcn.0051be80
mov ecx, dword [ebp - 0x368]
inc esi
mov edx, dword [ebp - 0x36c]
add ebx, 0x20
cmp esi, dword [ecx + 0x40]
jl 0x51ac80
mov eax, dword [ecx + 0x50]
mov ebx, dword [ebp - 0x36c]
mov dword [edi + 0x30], eax
mov eax, dword [ecx + 0x50]
shl eax, 3
mov esi, dword [ebx + 4]
test eax, eax
jne 0x51acca
xor edx, edx
jmp 0x51adb1
push eax
call fcn.005708b1
mov ecx, dword [esi + 0x78]
mov edx, eax
lea eax, [ebp - 0x364]
mov dword [ebp - 0x364], edx
add esp, 4
cmp eax, ecx
jae 0x51ad83
mov ebx, dword [esi + 0x74]
cmp ebx, eax
ja 0x51ad83
sub eax, ebx
mov ebx, dword [esi + 0x7c]
sar eax, 2
mov dword [ebp - 0x374], eax
cmp ecx, ebx
jne 0x51ad6c
mov eax, ebx
sub eax, ecx
sar eax, 2
cmp eax, 1
jae 0x51ad6c
sub ecx, dword [esi + 0x74]
mov eax, 0x3fffffff
sar ecx, 2
sub eax, ecx
cmp eax, 1
jae 0x51ad31
push str.vector_T__too_long
call fcn.0055acc3
sub ebx, dword [esi + 0x74]
lea edx, [ecx + 1]
sar ebx, 2
mov ecx, 0x3fffffff
mov eax, ebx
shr eax, 1
sub ecx, eax
add eax, ebx
mov dword [ebp - 0x370], ecx
xor ecx, ecx
cmp dword [ebp - 0x370], ebx
cmovae ecx, eax
cmp ecx, edx
cmovae edx, ecx
lea ecx, [esi + 0x74]
push edx
call fcn.00500590
mov edx, dword [ebp - 0x364]
mov ebx, dword [esi + 0x78]
mov eax, dword [esi + 0x74]
mov ecx, dword [ebp - 0x374]
test ebx, ebx
je 0x51ada1
mov eax, dword [eax + ecx*4]
mov dword [ebx], eax
jmp 0x51ada1
cmp ecx, dword [esi + 0x7c]
jne 0x51ad98
push 1
lea ecx, [esi + 0x74]
call fcn.005005f0
mov edx, dword [ebp - 0x364]
mov eax, dword [esi + 0x78]
test eax, eax
je 0x51ada1
mov dword [eax], edx
add dword [esi + 0x78], 4
mov ecx, dword [ebp - 0x368]
mov ebx, dword [ebp - 0x36c]
xor esi, esi
mov dword [edi + 0x34], edx
cmp dword [ecx + 0x50], esi
jle 0x51ade2
nop dword [eax + eax]
mov eax, dword [ecx + 0x4c]
mov ecx, dword [eax + esi*4]
mov eax, dword [edi + 0x34]
lea eax, [eax + esi*8]
push eax
push edi
push ecx
mov ecx, ebx
call fcn.0051bd60
mov ecx, dword [ebp - 0x368]
inc esi
cmp esi, dword [ecx + 0x50]
jl 0x51adc0
mov eax, dword [ecx + 0x20]
mov dword [edi + 0x38], eax
mov eax, dword [ecx + 0x20]
mov esi, dword [ebx + 4]
lea eax, [eax + eax*8]
shl eax, 3
test eax, eax
je 0x51ae22
push eax
call fcn.005708b1
add esp, 4
mov dword [ebp - 0x364], eax
lea eax, [ebp - 0x364]
lea ecx, [esi + 0x74]
push eax
call fcn.005006c0
mov eax, dword [ebp - 0x364]
mov ecx, dword [ebp - 0x368]
xor esi, esi
mov dword [edi + 0x3c], eax
cmp dword [ecx + 0x20], esi
jle 0x51ae60
xor ebx, ebx
nop
mov eax, dword [ecx + 0x1c]
push 1
mov ecx, dword [eax + esi*4]
mov eax, dword [edi + 0x3c]
add eax, ebx
push eax
push edi
push ecx
mov ecx, dword [ebp - 0x36c]
call fcn.0051b340
mov ecx, dword [ebp - 0x368]
inc esi
add ebx, 0x48
cmp esi, dword [ecx + 0x20]
jl 0x51ae30
mov ebx, dword [ebp - 0x36c]
mov eax, dword [ecx + 0x64]
shr eax, 6
test al, 1
jne 0x51ae73
mov dword [edi + 0x10], 0
jmp 0x51ae96
mov ecx, dword [ecx + 0x5c]
test ecx, ecx
jne 0x51ae82
mov eax, dword [0x638674]
mov ecx, dword [eax + 0x5c]
mov eax, dword [edi + 4]
push edi
push ecx
push eax
push eax
mov ecx, ebx
call fcn.00520960
mov ecx, dword [ebp - 0x368]
push edi
push 1
push ecx
push dword [edi]
mov ecx, ebx
push dword [ebp - 0x378]
push dword [edi + 4]
call fcn.00519f90
xor edx, edx
mov dword [ebp - 0x374], edx
cmp dword [edi + 0x18], edx
jle 0x51b0e8
xor eax, eax
mov dword [ebp - 0x370], eax
mov ecx, dword [edi + 0x1c]
xor ebx, ebx
add ecx, eax
mov dword [ebp - 0x364], ecx
cmp dword [edi + 0x30], ebx
jle 0x51b0cf
nop dword [eax + eax]
mov eax, dword [edi + 0x34]
lea esi, [eax + ebx*8]
mov eax, dword [ecx + 0x14]
cmp dword [esi], eax
jg 0x51b0b9
cmp eax, dword [esi + 4]
jge 0x51b0b9
lea ecx, [ebp - 0x60]
push ecx
push eax
call fcn.0052b010
mov ecx, eax
add esp, 8
mov dword [ebp - 0x68], ecx
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x51af10
mov eax, dword [ebp - 0x364]
sub ecx, edx
mov dword [ebp - 0x64], ecx
mov eax, dword [eax]
cmp dword [eax + 0x14], 0x10
jb 0x51af2e
mov ecx, dword [eax]
jmp 0x51af30
mov ecx, eax
mov dword [ebp - 0x270], ecx
lea ecx, [ebp - 0x88]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x26c], eax
mov eax, dword [esi + 4]
dec eax
push ecx
push eax
call fcn.0052b010
mov ecx, eax
add esp, 8
mov dword [ebp - 0x90], ecx
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x51af60
lea eax, [ebp - 0xb0]
sub ecx, edx
push eax
push dword [esi]
mov dword [ebp - 0x8c], ecx
call fcn.0052b010
mov ecx, eax
add esp, 8
mov dword [ebp - 0xb8], ecx
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x51af90
lea eax, [ebp - 0x180]
mov dword [ebp - 0x180], 0
push eax
lea eax, [ebp - 0x1a8]
mov dword [ebp - 0x17c], 0xffffffff
push eax
lea eax, [ebp - 0x1d0]
mov dword [ebp - 0x1a8], 0
push eax
lea eax, [ebp - 0x1f8]
mov dword [ebp - 0x1a4], 0xffffffff
push eax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x1d0], 0
push eax
lea eax, [ebp - 0x248]
mov dword [ebp - 0x1cc], 0xffffffff
push eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x1f8], 0
push eax
lea eax, [ebp - 0x270]
mov dword [ebp - 0x1f4], 0xffffffff
push eax
lea eax, [ebp - 0x90]
mov dword [ebp - 0x220], 0
push eax
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x21c], 0xffffffff
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x248], 0
sub ecx, edx
mov dword [ebp - 0x244], 0xffffffff
push str.Extension_range__0_to__1_includes_field___2____3_.
push eax
mov dword [ebp - 0xb4], ecx
call fcn.0055a090
add esp, 0x30
mov ecx, dword [ebp - 0x368]
push eax
mov eax, dword [ebp - 0x364]
push 1
mov ecx, dword [ecx + 0x4c]
mov dword [ebp - 4], 5
push dword [ecx + ebx*4]
mov ecx, dword [ebp - 0x36c]
push dword [eax + 4]
call fcn.00519050
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x51b0b3
inc eax
push 1
push eax
push dword [ebp - 0x28]
call fcn.00411a53
add esp, 0xc
mov ecx, dword [ebp - 0x364]
inc ebx
cmp ebx, dword [edi + 0x30]
jl 0x51aee0
mov eax, dword [ebp - 0x370]
mov edx, dword [ebp - 0x374]
inc edx
add eax, 0x48
mov dword [ebp - 0x374], edx
mov dword [ebp - 0x370], eax
cmp edx, dword [edi + 0x18]
jl 0x51aec5
xor ecx, ecx
cmp dword [edi + 0x30], ecx
jle 0x51b31f
mov eax, dword [edi + 0x34]
lea edx, [eax + ecx*8]
inc ecx
mov esi, ecx
mov dword [ebp - 0x364], edx
mov dword [ebp - 0x378], ecx
cmp esi, dword [edi + 0x30]
jge 0x51b316
mov eax, dword [edi + 0x34]
mov ecx, dword [edx + 4]
lea ebx, [eax + esi*8]
cmp ecx, dword [ebx]
jle 0x51b306
mov eax, dword [ebx + 4]
cmp eax, dword [edx]
jle 0x51b306
lea eax, [ecx - 1]
lea ecx, [ebp - 0xd8]
push ecx
push eax
call fcn.0052b010
mov ecx, eax
add esp, 8
mov dword [ebp - 0xe0], ecx
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x51b150
lea eax, [ebp - 0x100]
sub ecx, edx
push eax
mov eax, dword [ebp - 0x364]
mov dword [ebp - 0xdc], ecx
push dword [eax]
call fcn.0052b010
mov ecx, eax
add esp, 8
mov dword [ebp - 0x108], ecx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x51b181
mov eax, dword [ebx + 4]
sub ecx, edx
mov dword [ebp - 0x104], ecx
dec eax
lea ecx, [ebp - 0x128]
push ecx
push eax
call fcn.0052b010
mov ecx, eax
add esp, 8
mov dword [ebp - 0x130], ecx
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x51b1b0
lea eax, [ebp - 0x150]
sub ecx, edx
push eax
push dword [ebx]
mov dword [ebp - 0x12c], ecx
call fcn.0052b010
mov ecx, eax
add esp, 8
mov dword [ebp - 0x158], ecx
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x51b1e0
lea eax, [ebp - 0x298]
mov dword [ebp - 0x298], 0
push eax
lea eax, [ebp - 0x2c0]
mov dword [ebp - 0x294], 0xffffffff
push eax
lea eax, [ebp - 0x2e8]
mov dword [ebp - 0x2c0], 0
push eax
lea eax, [ebp - 0x310]
mov dword [ebp - 0x2bc], 0xffffffff
push eax
lea eax, [ebp - 0x338]
mov dword [ebp - 0x2e8], 0
push eax
lea eax, [ebp - 0x360]
mov dword [ebp - 0x2e4], 0xffffffff
push eax
lea eax, [ebp - 0xe0]
mov dword [ebp - 0x310], 0
push eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x30c], 0xffffffff
push eax
lea eax, [ebp - 0x130]
mov dword [ebp - 0x338], 0
push eax
lea eax, [ebp - 0x158]
mov dword [ebp - 0x334], 0xffffffff
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x360], 0
sub ecx, edx
mov dword [ebp - 0x35c], 0xffffffff
push str.Extension_range__0_to__1_overlaps_with_already_defined_range__2_to__3.
push eax
mov dword [ebp - 0x154], ecx
call fcn.0055a090
add esp, 0x30
mov ecx, dword [ebp - 0x368]
push eax
push 1
mov dword [ebp - 4], 7
mov ecx, dword [ecx + 0x4c]
push dword [ecx + esi*4]
mov ecx, dword [ebp - 0x36c]
push dword [edi + 4]
call fcn.00519050
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x51b300
push 1
inc eax
push eax
push dword [ebp - 0x40]
call fcn.00411a53
add esp, 0xc
mov edx, dword [ebp - 0x364]
inc esi
cmp esi, dword [edi + 0x30]
jl 0x51b111
mov ecx, dword [ebp - 0x378]
cmp ecx, dword [edi + 0x30]
jl 0x51b0f3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057086f
mov esp, ebp
pop ebp
ret 0xc